Have you used something like Charles Proxy to see what data stream the
browser is sending back to google? That's the first thing I'd check.
Do a proper url with campaign tags so you get a feel for what would
be sent when it's normally working.
--- In webanalytics@yahoogroups.com, "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?
>