Correctly synching AddThis and Google Analytics social stats
The main help file explaining how to do so has been a bit confusing for me. Though, in part that’s because I didn’t read it completely. Plus there were a few things I didn’t know.
First, Google Analytics (GA) has two ways in which you can add it to your site: synchronous and asynchronous. There are a few posts around, like this one, explaining the difference. Basically, the asynchronous mode is supposed to give your site faster load times (negligible normally) and most importantly more complete data in cases where people close your site before it finishes loading.
I prefer the asynchronous mode, and the recommendation is to include the script tage before the end of the head tag. In a few cases in Tumblr’s free blog themes, this script is included at the bottom of the html code. So, you might be interested in changing this otherwise the great advantage of the asynchronous mode is lost: the page has to load entirely to report stuff to GA.
Once you do so, note how the AddThis manual has a note that the AddThis script has to go after the GA script. I didn’t read this the first time and I was quite puzzled when no social events were showing up in the GA report.
Next, compared to ShareThis, AddThis social events will be shown in your GA report as “facebook”, “twitter”, etc instead of “ShareThis: facebook” (or something like that). That’s only true if you included the “data_ga_social : true” part in the code. Otherwise GA will only shown under the “Social” tab the Google +1 clicks.
In short: use the GA asynchronous code before the end of the head tag. Add the AddThis script tags below it. Happy social sync :)
I have to say that so far I like the AddThis Analytics way more than Google Analytics for the social stats. Part of it is the “viral lift” percent that AddThis shows. The other part is that it seems to contain more data. Though it might be because I just fixed the sync.
You might want to read the: