diff options
Diffstat (limited to '_includes/google-analytics.html')
-rw-r--r-- | _includes/google-analytics.html | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/_includes/google-analytics.html b/_includes/google-analytics.html deleted file mode 100644 index b8b4d38..0000000 --- a/_includes/google-analytics.html +++ /dev/null @@ -1,9 +0,0 @@ -<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script> -<script> - window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1"; - window.dataLayer = window.dataLayer || []; - function gtag(){window.dataLayer.push(arguments);} - gtag('js', new Date()); - - gtag('config', '{{ site.google_analytics }}'); -</script> |