Blog

Add Google Social Tracking

Google launched social tracking for Google Analytics in June, to measure social engagement, social actions and social pages. If you’re already using AddThis with GA, you can integrate with one line of code!

You just need to opt-in:

<script type="text/javascript">
     var addthis_config = {
        /* your GA property ID goes here: */
        data_ga_property: 'UA-123456-1',
        /* set to true to enable social tracking
        data_ga_social : true
     };
</script>

We’ll track the network (e.g. “facebook”), the social action (e.g. “share”), and the target (e.g., http://example.com/your/blog).

If you haven’t already, upgrade to the new version of GA to see the social reports:
Social reports on GA

Google’s got plenty of documentation on the new social analytics features if you need help interpreting their reports. If you’re totally new to Google Analytics and AddThis, check out our help doc on basic integration.

Questions? Comments? Drop us a line in the forums.