View Single Post
Old 08-21-2012, 05:21 PM   PM User | #1
crmpicco
Senior Coder

 
crmpicco's Avatar
 
Join Date: Jan 2005
Location: Mauchline, Scotland
Posts: 1,091
Thanks: 15
Thanked 1 Time in 1 Post
crmpicco has a little shameless behaviour in the past
reporting to two Google Analytics profiles using AddThis config - data_ga_property

I am using the AddThis widget include to display the social buttons on my site. I wish to be able to track clicks with Google Analytics, and the documentation appears to support this. However, I would like to activity to two different profiles.

The addthis_config appears to only take one data_ga_property value, which means I can't report to my local and global GA profiles.

Is there a way to report to two profiles?
Code:
<script type="text/javascript">
     var addthis_config = {
                           data_ga_property: 'UA-18721873-1',           
                           data_ga_social: true
                          };
</script>   
<script type="text/javascript" src="http://s7.addthis.com/js/25/addthis_widget.js#username=xa-hsakjdhsakjdhkjsdhakjdshkjdh"></script>
crmpicco is offline   Reply With Quote