Categories: Discuss Tracking and Implementation issues :

Traffic Source Conversion No Override

Showing 1-6 of 6 messages
Traffic Source Conversion No Override tdavid88 6/5/13 1:34 AM
Hi Everybody,

On Google Analytics by default conversion are attributed to the last touch traffic source. I did some research and found that if I'm setting  _gaq.push(['_setCampNOKey', 'utm_nooverride']); then it will attribute the conversion to the first traffic source.

I have modified our tracking code and it looks like this:

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-000000-1']);
  _gaq.push(['_setCampNOKey', 'utm_nooverride']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


but i did some testing yesterday and its still attribute to the last traffic source....

Is there something I did wrong? or its a bug on the system??

please advise.

Thanks!
Re: Traffic Source Conversion No Override antti.nylund 6/5/13 6:28 AM
Hi,

when you tested did you clear all previous cookies?
Re: Traffic Source Conversion No Override tdavid88 6/9/13 2:47 AM
yes off course, I opened a new incognito window on google chrome, first search my brand name on google and clicked on one of my adwords ads browsed some pages and then opened a new tab search again my brand name and came this time from organic result, closed the other tab and browsed again another more few pages and then make the conversion.

and still google analytics attribute to the last one "google / organic" instead for google adwords....

any one can advise here? :\
Re: Traffic Source Conversion No Override Whims 6/9/13 10:05 AM
afaik utm_nooverride will only preserve the actual campaign data from being overwritten by another tagged campaign
it wont prevent it being overwritten by a different untagged source such as organic or untagged referral


Re: Traffic Source Conversion No Override tdavid88 6/11/13 5:44 AM
Re: Traffic Source Conversion No Override Whims 6/11/13 7:23 AM

Campaign-Change Expiry

Every time a visitor's campaign source changes, Google Analytics opens a new visit. It’s important to point out that even if an existing visit is still open (i.e less than 30 mins have elapsed), if the campaign source changes mid-visit the first visit is closed and a new visit is opened.

https://support.google.com/analytics/answer/2731565?hl=en

regarding utm_nooverride and campaign attribution
http://cutroni.com/blog/2006/11/10/how-does-google-analytics-track-conversion-referals/

... Here is how GA updates the campaign tracking cookie based on referrer:

    • Direct traffic is always overwritten by referrals, organic and tagged campaigns
    • New campaign, referral or organic link that brings a visitor to the site always overrides the existing campaign cookie
    • ...
    • ... However, this technique does NOT prevent the Google Analytics Tracking Code from updating the campaign cookie if a visitor arrives by organic search or untagged referral link. This technique can only be used to prevent tagged campaign links from overwriting previous referral information from a tagged campaign link.