title: Google Analytics Event Tracking Multiple Events on the Same Page
body: <p>I am attempting to log an event via Google Analytics when a user clicks certain links on our site's home page. I want to log when the user clicks the link for our telephone number, and also when they click the link for our email address.</p>
  
  <p>I can get the first event to be logged, but any subsequent events are not being logged. I do not see any JavaScript errors, however in the Network tab of Chrome's Dev Tools window, I see that the Status of these network events is "(canceled)"</p>
  
  <p>Can anyone point me to a working example of multiple events working on a single page? Does Google Analytics support multiple events on a single page?</p>
  
  <p>Per request, I have added an example of the code I am using:</p>
  
  <p>The links with events attached (again, the first click/event is working, any subsequent clicks/events are not)</p>
  
  <pre><code>&lt;p class="lead"&gt;Call Now: &lt;a href="tel:5555555555" onclick="ga('send', 'event', 'Default', 'Click', 'PhoneTop');" style="color: #ddd;" &gt;555-555-5555&lt;/a&gt;&lt;/p&gt;
  &lt;p class="lead"&gt;Email: &lt;a href="mailto:contact@example.com" onclick="ga('send', 'event', 'Default', 'Click', 'EmailTop');" style="color: #ddd;"&gt;contact@example.com&lt;/a&gt;&lt;/p&gt;
  </code></pre>
  
  <p>And the Google Analytics 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', '//www.google-analytics.com/analytics.js', 'ga');
  ga('create', 'UA-55555555-1', 'example.com');
  ga('send', 'pageview');
  &lt;/script&gt;
  </code></pre>