title: How to properly use multiple tracking IDs in Google Analytics
body: <p>My current setup for <code>Google Analytics</code> looks like this:</p>
  
  <pre><code>ga('create', 'UA-XXXXXXXX-1', 'auto');
  ga('require', 'displayfeatures');
  ga('send', 'pageview');
  </code></pre>
  
  <p>I read this article explaining how to track data when using more than 1 tracking ID:</p>
  
  <p><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers" rel="nofollow">https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers</a></p>
  
  <p>So using the examples in the link, I need to add the following lines of script:</p>
  
  <pre><code>ga('create', 'UA-XXXXXXXX-2', 'auto', 'myTracker2');
  ga('myTracker2.send', 'pageview');
  </code></pre>
  
  <p>What do I do with <code>displayfeatures</code>? Do I need to prepend <code>myTracker2</code> to it as well? Something like:</p>
  
  <pre><code>ga('myTracker2.require', 'displayfeatures');
  </code></pre>