title: Google Analytics non-interaction implementations (ni=1 vs nonInteraction:true)
body: <p>I have a question regarding two seemingly different ways to implement sending an event in google analytics as a non-interaction hit type. </p>
  
  <p><strong>(1) Protocol docs:</strong>
   <a href="https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#ni" rel="nofollow noreferrer">https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#ni</a></p>
  
  <p>In query param:</p>
  
  <pre><code>&amp;ni=1
  
  /collect?v=1&amp;t=event&amp;ni=1
  </code></pre>
  
  <p><strong>(2) Analytics dev guide:</strong>
  <a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/events" rel="nofollow noreferrer">https://developers.google.com/analytics/devguides/collection/analyticsjs/events</a></p>
  
  <pre><code>ga('send', 'event', 'Videos', 'play', 'Fall Campaign', {
    nonInteraction: true
  });
  </code></pre>
  
  <p>which I inferred allows me to do this:</p>
  
  <pre><code>ga('send', {
    hitType: 'event'
    eventCategory: 'myCategory',
    eventAction: 'myAction',
    eventLabel: 'myLabel',
    nonIteraction: true
  });
  </code></pre>
  
  <p>However, when I look at the network traffic in the chrome browser dev console I <strong>do not see the "ni=1"</strong> url parameter. Here is a list of the parameters that are present (values excluded):</p>
  
  <p>v:
  _v:
  a:
  t:
  _s:
  cd:
  dl:
  dp:
  ul:
  de:
  dt:
  sd:
  sr:
  vp:
  je:
  ec:
  ea:
  an:
  av:
  aid:
  aiid:
  _u:
  jid:
  gjid:
  cid:
  tid:
  _gid:
  z:</p>
  
  <p>What is the difference betweeen these two implementations, and are the end results the same?</p>