AddToAny integrates with Google Analytics to provide sharing statistics within your analytics dashboard.
If you're usingGoogle Tag Manager to load Google Analytics,setup GTM to receive AddToAny stats in Google Analytics.
gtag.js
libraryIf you're using Google's current default code snippet for Google Analytics, thegtag.js
library, AddToAny automatically integrates with your Google Analytics.
In the latest dashboard for Google Analytics 4 (GA4) properties, start inLife cycle >Engagement >Events >AddToAnyShare
to access your sharing event reports. Each AddToAny share event hasaddtoany_service
andaddtoany_shared_url
parameters (orsocialAction
andsocialTarget
parameters if you're usingGTM).
In the older dashboard for legacy GA properties, start inBehavior >Events >Top Events >AddToAny to access your sharing event reports. Each service destination is anAction in this report, and each shared URL is aLabel.
If you're using Google's legacyanalytics.js
orga.js
tracking code snippets, AddToAny automatically integrates with your Google Analytics.
Start inAcquisition >Social >Plugins to access sharing stats. Shares via AddToAny have aSocial Network attributed toAddToAny, where each service destination is considered an Action in Google Analytics. For example, you can view the top sharing destinations by choosingPlugins and the Primary Dimension titledSocial Network and Action.
Using theSegment Builder, you can filter reports by Mobile & Tablet Traffic, Paid Traffic, Search Traffic, Organic Traffic, New Users, Returning Users, Made a Purchase, and many other custom segments.
A setup process is necessary for tracking shares in Google Analytics with Google Tag Manager.
Google Analytics 4 (GA4) is Google's latest version of Google Analytics. Follow the steps below to create an AddToAny Share Event tag for GA4.
socialAction
socialTarget
AddToAnyShare
AddToAnyShare
AddToAnyShare
socialAction
={{Social Action}}
socialTarget
={{Social Target}}
Once your changes are saved & deployed, sharing stats will automatically roll into Google Analytics.
Google Analytics may take 24–48 hours to process events before data appears in most reports, but you can useRealtime andDebugView reports to confirm that sharing data is being collected.
Universal Analytics is Google's older deprecated version of Google Analytics. The steps below created an AddToAny Share Event tag for Universal Analytics.
socialNetwork
socialAction
socialTarget
AddToAnyShare
AddToAnyShare
{{Social Network}}
{{Social Action}}
{{Social Target}}