Remove google analytics

This commit is contained in:
Adam Schmideg 2019-02-07 14:10:51 +01:00
parent 1d4cd45f33
commit b849a22374
2 changed files with 0 additions and 15 deletions

View file

@ -5,7 +5,6 @@ exclude:
- Gemfile.lock - Gemfile.lock
- .gitignore - .gitignore
google_analytics: UA-131485733-1
favicon: /static/images/favicon.png favicon: /static/images/favicon.png
defaults: defaults:

View file

@ -4,20 +4,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }} | {% endif %}Go Ethereum</title> <title>{% if page.title %}{{ page.title }} | {% endif %}Go Ethereum</title>
{% if site.google_analytics %}
<!-- Google Analytics -->
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
{% endif %}
<link rel="icon" type="image/png" href="{{ site.favicon | prepend: site.baseurl | replace: '//', '/'}}" /> <link rel="icon" type="image/png" href="{{ site.favicon | prepend: site.baseurl | replace: '//', '/'}}" />
{% if layout.common-css %} {% if layout.common-css %}