I think there is some problem in the code please check it once from your
profile.
~Bhagawat.
John Cole <yahoo@...> wrote: I want to
setup campaign tracking for legacy widgets already out in
the world. The links to our site already include parameters in them,
just not the Google Analytics tracking parameters.
For example:
http://eventful.com/performers/P0-001-000000162-8/demand?from_sticker=300x325_bl\
ueflag
We modified the GATC on our site in at attempt to append the GA tag to
the URL before we send it to Google. If the above parameters are in
the referral link, then we append the GA tag.
The appended URL reported to GATC would look like this:
DF_demand_start_unknown?
from_sticker=300x325_blueflag&utm_source=widgets&utm_medium=widgets&utm_campaign\
=demand_widget
Here is some of the code our engineer put together:
<script>
function utmx_section(){}function utmx(){}
(function(){var
k='2743214403',d=document,l=d.location,c=d.cookie;function f(n){
if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return
c.substring(i+n.
length+1,j<0?c.length:j)}}}var
x=f('__utmx'),xx=f('__utmxx'),h=l.hash;
d.write('<sc'+'ript src="'+
'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-
analytics.com'
+'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')
+'&utmxtime='
+new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
</script>
I've checked our Google Analytics reports, but they still report the
pages just as before. The content report doesn't display the tags
we've added, nor do the visits get segmented into a campaign.
How can we get this to work?
Thanks & Regards,
Bhagawat J.
Position2.com
+91 9986508042
skype id: bhagawat23
---------------------------------
Bring your gang together. Do your thing. Find your favourite Yahoo! Group.
[Non-text portions of this message have been removed]