Difference between revisions of "Google Analytics"

From Open Access Directory
Jump to: navigation, search
Line 2: Line 2:
 
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-151018458-1"></script>
 
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-151018458-1"></script>
 
<script>
 
<script>
  window.dataLayer = window.dataLayer || [];
+
window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
+
function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
+
gtag('js', new Date());
  
  gtag('config', 'UA-151018458-1');
+
gtag('config', 'UA-151018458-1');
 
</script>
 
</script>

Revision as of 16:29, 28 October 2019

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-151018458-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date());

gtag('config', 'UA-151018458-1'); </script>