diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 534c96d9..1c6052f6 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -2,7 +2,7 @@ baseurl = "/" languageCode = "en-us" title = "A minimal Hugo website" theme = "hugo-xmin" -googleAnalytics = "" +googleAnalytics = "UA-1988641-2" disqusShortname = "" ignoreFiles = ["\\.Rmd$", "_files$", "_cache$"] preserveTaxonomyNames = true diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html index 3a95d130..b08df135 100644 --- a/exampleSite/layouts/partials/foot_custom.html +++ b/exampleSite/layouts/partials/foot_custom.html @@ -10,3 +10,5 @@ + +{{ template "_internal/google_analytics.html" . }}