title: React Google Analytics - Events sending but not showing up
body: <p>I'm using <a href="https://www.npmjs.com/package/react-ga" rel="nofollow noreferrer">react-ga</a> for Google Analytics:</p>
  <pre><code>import ReactGA from &quot;react-ga&quot;;
  
  ReactGA.initialize(&quot;UA-XXXXXXXXX-X&quot;, { debug: true });
  ReactGA.pageview(&quot;/example&quot;);
  
  ReactGA.event({
      category: &quot;Test&quot;,
      action: &quot;Click&quot;,
      label: &quot;Example&quot;
  });
  </code></pre>
  <p>This results in the following output:</p>
  <p><img src="https://i.imgur.com/MXahQB7.png" alt="Output" /></p>
  <p>Which makes me think that everything worked, but Google Analytics doesn't show the event on my dashboard. I also tried the following:</p>
  <pre><code>ReactGA.ga(&quot;send&quot;, &quot;event&quot;, &quot;Test&quot;, &quot;Click&quot;, &quot;Example&quot;);
  </code></pre>
  <p>Which gave the same output, but with nothing showing up on my GA dashboard. I've waited over half an hour and my GA dashboard still doesn't show the data. Is there something I'm doing wrong?</p>
  <p>Note: The <code>pageview</code> does go through and shows up on my GA dashboard just fine.</p>