Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
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
Reply

Bookmarks

Tags
addthis, google analytics, javascript, tracking

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:36 PM.


Advertisement
Log in to turn off these ads.