title: Google analytics cross domain issue
body: <p>was struggling with GA cross-domain tracking (for leadpages service)</p>
  
  <p>Below is what i have got</p>
  
  <p>Original page is
  <a href="https://my.leadpages.net" rel="nofollow">https://my.leadpages.net</a></p>
  
  <p>has the following tracking code</p>
  
  <pre><code>&lt;script&gt;
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  
    ga('create', 'UA-5398591-1', 'auto', {'allowLinker': true});
    ga('require', 'linker');
    ga('linker:autoLink', [ 'https://drdaniel.leadpages.co']);
    ga('send', 'pageview');
  
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>And the second domain page is</strong></p>
  
  <p><a href="https://drdaniel.leadpages.co" rel="nofollow">https://drdaniel.leadpages.co</a></p>
  
  <p>and has the follow tracking code</p>
  
  <pre><code>     &lt;script&gt;
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  
    ga('create', 'UA-5398591-1', 'auto', {'allowLinker': true});
    ga('require', 'linker');
    ga('linker:autoLink', ['https://my.leadpages.net']);
    ga('send', 'pageview');
  
  &lt;/script&gt;
  </code></pre>
  
  <p>Was trying not to use https:// but that did not give any results. Please, say what I am doing wrong here. Also excluded refferals
  Thanks</p>