AddToAny & Google Analytics

AddToAny integrates with Google Analytics to provide sharing statistics within your analytics dashboard.

AddToAny Reports

Top Events Report — the gtag.js library

If you're using Google's current default code snippet for Google Analytics, the gtag.js library, AddToAny automatically integrates with your Google Analytics.

Start in Behavior > Events > Top Events > AddToAny to access your sharing event reports. Each service destination is an Action in this report, and each shared URL is a Label.

Social Plugins Report — all other libraries

If you're using Google's analytics.js or ga.js tracking code snippets, AddToAny automatically integrates with your Google Analytics. If you're using Google Tag Manager (gtm.js) to load Google Analytics, you need to setup GTM to receive social interactions in Google Analytics.

Start in Acquisition > Social > Plugins to access sharing stats. Shares via AddToAny have a Social Network attributed to AddToAny, where each service destination is considered an Action in Google Analytics. For example, you can view the top sharing destinations by choosing Plugins and the Primary Dimension titled Social Network and Action.

Customize Your Reports

Using the Segment 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.

You can email a report on a recurring basis, such as daily, weekly, monthly, or quarterly.


Google Tag Manager Setup

A setup process is necessary for tracking shares in Google Analytics with Google Tag Manager.

  1. New Variable named "Social Network"
    • Data Layer Variable Name =
      socialNetwork
  2. New Variable named "Social Action"
    • Data Layer Variable Name =
      socialAction
  3. New Variable named "Social Target"
    • Data Layer Variable Name =
      socialTarget
  4. New Trigger named "AddToAny Share Event"
    1. Custom Event
    2. Event name =
      AddToAnyShare
    3. Fire this trigger when…
      Event equals AddToAnyShare
  5. New Tag for Google Analytics
    1. Tag Configuration:
      1. Track Type = Social
      2. Network = "Social Network"
      3. Action = "Social Action"
      4. Action Target = "Social Target"
    2. Triggering:
      1. Trigger = "AddToAny Share Event"

Once your changes are saved & deployed, sharing stats will automatically roll into Google Analytics.