diff options
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r-- | layouts/partials/footer.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0ef2567..5111305 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -35,9 +35,11 @@ {{- if (hasPrefix .context.Site.GoogleAnalytics "G-") -}} {{- template "_internal/google_analytics.html" .context -}} + {{- else -}} {{- template "_internal/google_analytics_async.html" .context -}} + {{- end -}} {{- if and (hugo.IsProduction) (.context.Site.Params.gtagId) -}} {{ partial "google-analytics-gtag-async.html" .context }} |