 <p>You need a <a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#name" rel="nofollow">named tracker</a>. You can set this up in the configuration object that can be passed as the third parameter instead of a cookie domain (in that case the cookieDomain setting goes into the configuration object). Plus you need two send pageview calls, one for each tracker.</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','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-XXXXXXX', { 'name' : 'mycustomtracker', 'cookieDomain' : 'customersdomain.com' }); ga('create', 'UA-YYYYYYY', 'customersdomain.com'); ga('mycustomtracker.send', 'pageview'); ga('send', 'pageview'); &lt;/script&gt; </code></pre>