diff options
Diffstat (limited to 'tpl/tplimpl/embedded/templates/google_analytics_async.html')
-rw-r--r-- | tpl/tplimpl/embedded/templates/google_analytics_async.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/tplimpl/embedded/templates/google_analytics_async.html b/tpl/tplimpl/embedded/templates/google_analytics_async.html index 976be11fc..499cb6fe3 100644 --- a/tpl/tplimpl/embedded/templates/google_analytics_async.html +++ b/tpl/tplimpl/embedded/templates/google_analytics_async.html @@ -1,7 +1,7 @@ {{- $pc := .Site.Config.Privacy.GoogleAnalytics -}} {{- if not $pc.Disable -}} {{ with .Site.GoogleAnalytics }} -<script> +<script type="application/javascript"> {{ template "__ga_js_set_doNotTrack" $ }} if (!doNotTrack) { window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; |