remove old gtag script attempt
authorDan Allen <dan@opendevise.com>
Fri, 23 Mar 2018 03:51:19 +0000 (21:51 -0600)
committerDan Allen <dan@opendevise.com>
Fri, 23 Mar 2018 03:51:19 +0000 (21:51 -0600)
src/partials/head-scripts.hbs

index 54d80b4..d113389 100644 (file)
@@ -1,9 +1,6 @@
 {{#if site.keys.googleAnalytics}}
 {{#with site.keys.googleAnalytics}}
     <script async src="https://www.googletagmanager.com/gtag/js?id={{this}}"></script>
-    <!--
-    <script>(dataLayer=window.dataLayer||[]).push(['js',new Date],['config','{{this}}']);function gtag(){dataLayer.push(arguments)}</script>
-    -->
     <script>dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)};gtag('js',new Date());gtag('config','{{this}}')</script>
 {{/with}}
 {{/if}}