nickserv / danamccurdy.com

Dana McCurdy's personal/professional website.
https://danamccurdy.com/
2 stars 0 forks source link

Use gtag.js instead of analytics.js #63

Closed nickserv closed 6 years ago

nickserv commented 7 years ago
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-51703743-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

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