This commit is contained in:
Rico Sta. Cruz 2017-09-24 03:41:34 +08:00
parent 6c94c9d5e6
commit c1018c6f81
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@
{% if site.data.google_analytics.enabled %}
<script async src='https://www.googletagmanager.com/gtag/js?id={{ site.data.google_analytics.id }}'></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||[];
function gtag(){dataLayer.push(arguments)};
gtag('js',new Date());