diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index fb89f51..e005c22 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -6,6 +6,7 @@ title: Example Site # Change it to your Disqus shortname before using disqusShortname: hugo-theme-stack +googleAnalytics: "UI-you-google-analytics-tracking-id" # Theme i18n support # Available values: en, fr, id, ja, ko, pt-br, zh-cn diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html index de2982c..b858021 100644 --- a/layouts/partials/head/head.html +++ b/layouts/partials/head/head.html @@ -21,4 +21,5 @@ {{ end }} -{{- partial "head/custom.html" . -}} \ No newline at end of file +{{- partial "head/custom.html" . -}} +{{ template "_internal/google_analytics_async.html" . }} \ No newline at end of file