diff options
Diffstat (limited to 'layouts/partials/head/script-header.html')
-rw-r--r-- | layouts/partials/head/script-header.html | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/layouts/partials/head/script-header.html b/layouts/partials/head/script-header.html index 26bfd35..8baabaa 100644 --- a/layouts/partials/head/script-header.html +++ b/layouts/partials/head/script-header.html @@ -1,11 +1 @@ -{{ if isset .Site.Params "googleanalytics" -}} -<script> -(function(e,t,n,i,s,a,c){e[n]=e[n]||function(){(e[n].q=e[n].q||[]).push(arguments)} -;a=t.createElement(i);c=t.getElementsByTagName(i)[0];a.async=true;a.src=s -;c.parentNode.insertBefore(a,c) -})(window,document,"galite","script","{{ .Site.BaseURL }}js/vendor/ga-lite/ga-lite.min.js"); - -galite('create', '{{ $.Site.Params.googleAnalytics }}', 'auto'); -galite('send', 'pageview'); -</script> -{{ end -}}
\ No newline at end of file +<script async defer data-domain="gethyas.com" src="https://stats.gethyas.com/js/index.js"></script>
\ No newline at end of file |