projects
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b4f872
)
remove old gtag script attempt
author
Dan Allen
<dan@opendevise.com>
Fri, 23 Mar 2018 03:51:19 +0000
(21:51 -0600)
committer
Dan Allen
<dan@opendevise.com>
Fri, 23 Mar 2018 03:51:19 +0000
(21:51 -0600)
src/partials/head-scripts.hbs
patch
|
blob
|
history
diff --git
a/src/partials/head-scripts.hbs
b/src/partials/head-scripts.hbs
index
54d80b4
..
d113389
100644
(file)
--- a/
src/partials/head-scripts.hbs
+++ b/
src/partials/head-scripts.hbs
@@
-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}}