Skip to content Skip to sidebar Skip to footer

Synchronous Universal Analytics

The new Universal Analytics re-introduces synchronous event tracking: https://developers.google.com/analytics/devguides/collection/analyticsjs/method-reference#sync. The documentat

Solution 1:

Use this one:

<script src="//www.google-analytics.com/analytics.js"></script>
  <script>    
    var tracker = ga.create('UA-12345678-1', 'auto');
    tracker.send('pageview');
  </script>

Tested.


Post a Comment for "Synchronous Universal Analytics"