title: Google Analytics: Cross-domain parameters sent in URL but not passing source through reports
body: <p>Another cross-domain tracking issue here, I can't for the life of me figure out this one.</p>
  
  <p>I have 2 separate domains, and I'm using the _link method between them.  I can see the Google Analytics utm parameters get passed from 1 domain to the other but despite that, when I reach the 2nd domain I'm being counted as a new visitor (using Google Analytics debugger I see a new visitor ID and my campaign/source/medium info has been replaced by a referral from domaina).</p>
  
  <p>Code on domaina.com:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  var _gaq = _gaq || [];
  _gaq.push(["_setAccount", "UA-111111"]);
  _gaq.push(["_setDomainName", "none"]);
  _gaq.push(["_setAllowLinker", true]);
  _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);
  })();
  
  &lt;/script&gt;
  </code></pre>
  
  <p>And the link looks like so: <code>&lt;a href="https://secure.domainb.com" onClick="_gaq.push(['_link', 'https://secure.domainb.com']); return false;"&gt;Donate Now&lt;/a&gt;</code></p>
  
  <p>When I click that link I get taken to secure.domainb.com with all the GA URL parameters attached but like I said, no source data passed through.</p>
  
  <p>Code on secure.domainb.com (I don't have direct control over this, note that there are 2 UA codes on this page, mine being the second listed):</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  var _gaq = _gaq || [];
  _gaq.push(["_setAccount","UA-222222"]);
  _gaq.push(["_trackPageview"]);
  _gaq.push(["_setAccount","UA-111111"]);
  _gaq.push(["_setAllowLinker",true]);
  _gaq.push(["_setDomainName","none"]);
  _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);
  })();
  
  &lt;/script&gt;
  </code></pre>
  
  <p>I've successfully implemented cross-domain tracking with this setup before, that's why I'm baffled why this isn't working.</p>
  
  <p>Any thoughts?</p>
  
  <p>Thanks in advance.</p>