Google analytics social tracking

if you want to track some social activities like twitter tweets and facebook likes in your google analytics you have to add some extra code. Googles plus one will be tracked automatically by google analytics.

 

just add this snippet right before your analytics codesnippet

<script src="http://analytics-api-samples.googlecode.com/svn/trunk/src/tracking/javascript/v5/social/ga_social_tracking.js"></script>

<script>
_ga.trackFacebook();
_ga.trackTwitter();
</script>

After adding the code to your page you can see the results in your Analytics account under „Traffic Sources / Social / Social Plugins //-> Social Source and Action“

Google Analytics Social Tracking Demo: link

Official Google Social Interaction Analytics page: link

Kommentar verfassen