Sha256: 3974742bedf0e01bbeacf992246eaaa2ddf8cf6cfc922349097691148ea5cde9
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
{%- if jekyll.environment == 'production' and site.google_analytics -%} <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> {%- endif -%}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-ascii-0.3.1 | _includes/analytics/google.html |
jekyll-theme-ascii-0.3.0 | _includes/analytics/google.html |