Oops
This commit is contained in:
parent
6c94c9d5e6
commit
c1018c6f81
|
@ -105,7 +105,7 @@
|
||||||
{% if site.data.google_analytics.enabled %}
|
{% if site.data.google_analytics.enabled %}
|
||||||
<script async src='https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}'></script>
|
<script async src='https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}'></script>
|
||||||
<script>
|
<script>
|
||||||
{% comment %}if(~location.hostname.indexOf('{{site.data.google_analytics.hostname}}')){{% endcomment %}
|
{% comment %} if(~location.hostname.indexOf('{{site.data.google_analytics.hostname}}')){ {% endcomment %}
|
||||||
window.dataLayer=window.dataLayer||[];
|
window.dataLayer=window.dataLayer||[];
|
||||||
function gtag(){dataLayer.push(arguments)};
|
function gtag(){dataLayer.push(arguments)};
|
||||||
gtag('js',new Date());
|
gtag('js',new Date());
|
||||||
|
|
Loading…
Reference in New Issue