We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a529877 + 83e5f03 commit 77a0f4aCopy full SHA for 77a0f4a
assets/js/modules/googleanalytics/googleanalytics.js
@@ -1,6 +1,6 @@
1
// Adapted from https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/google_analytics.html
2
3
-{{- if or site.Params.modules.GoogleAnalytics.gcm site.Params.modules.GoogleAnalytics.force (and (not hugo.IsServer) (not site.Config.Privacy.GoogleAnalytics.Disable)) -}}
+{{- if or site.Params.modules.GoogleAnalytics.force (and (not hugo.IsServer) (not site.Config.Privacy.GoogleAnalytics.Disable)) -}}
4
{{- with site.Config.Services.GoogleAnalytics.ID -}}
5
{{- if site.Params.modules.GoogleAnalytics.gcm }}
6
0 commit comments