diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 27b71f50..656e0fb4 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -47,6 +47,7 @@ googleAnalytics = "" home_mode = "" # post or other google_verification = "" + googleAnalytics = "" description = "" # site description keywords = "" # site keywords diff --git a/layouts/partials/js.html b/layouts/partials/js.html index 799debf7..9ccadd18 100644 --- a/layouts/partials/js.html +++ b/layouts/partials/js.html @@ -25,3 +25,5 @@ {{ if eq ( getenv "HUGO_ENV" ) "production" }} {{ end }} + +{{ template "_internal/google_analytics_async.html" . }}