Added Google Analytics feature

This commit is contained in:
Julian Alarcon 2021-02-04 11:30:10 -05:00
parent 70cc14fcbe
commit e86c7592fc
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -21,4 +21,5 @@
<link rel="shortcut icon" href="{{ . }}" />
{{ end }}
{{- partial "head/custom.html" . -}}
{{- partial "head/custom.html" . -}}
{{ template "_internal/google_analytics_async.html" . }}