Browse Source

Remove Analytics code

Håvard O. Nordstrand 5 years ago
parent
commit
0a9604f28b
2 changed files with 0 additions and 13 deletions
  1. 0 11
      _includes/google_analytics.html
  2. 0 2
      _includes/header.md

+ 0 - 11
_includes/google_analytics.html

@@ -1,11 +0,0 @@
-<!-- Global site tag (gtag.js) - Google Analytics -->
-{% if site.google_analytics and jekyll.environment == 'production' %}
-<script async src="https://www.googletagmanager.com/gtag/js?id={{ google_analytics }}"></script>
-<script>
-  window.dataLayer = window.dataLayer || [];
-  function gtag(){dataLayer.push(arguments);}
-  gtag('js', new Date());
-
-  gtag('config', '{{ google_analytics }}');
-</script>
-{% endif %}

+ 0 - 2
_includes/header.md

@@ -1,5 +1,3 @@
-{% include analytics.html %}
-
 # {{ site.name }} / {{ page.title }}
 {:.no_toc}