diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 515c97c..438984a 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -7,6 +7,9 @@ title: Example Site # Change it to your Disqus shortname before using disqusShortname: hugo-theme-stack +# GA Tracking ID +googleAnalytics: + # Theme i18n support # Available values: en, fr, id, ja, ko, pt-br, zh-cn DefaultContentLanguage: en diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html index de2982c..fd9ef73 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 +{{- template "_internal/google_analytics_async.html" . -}} +{{- partial "head/custom.html" . -}}