Config: Place Google Analytics tag ID under the services key

This commit is contained in:
Joe Mooring 2023-10-16 18:21:21 -07:00 committed by GitHub
parent 4bf0c719fb
commit 07a0198bf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@
baseURL = "https://gohugo.io/" baseURL = "https://gohugo.io/"
defaultContentLanguage = "en" defaultContentLanguage = "en"
enableEmoji = true enableEmoji = true
googleAnalytics = "G-MBZGKNMDWC"
ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"] ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
languageCode = "en-us" languageCode = "en-us"
paginate = 100 paginate = 100
@ -14,6 +13,9 @@ title = "Hugo"
# We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below). # We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
disableAliases = true disableAliases = true
[services.googleAnalytics]
ID = 'G-MBZGKNMDWC'
[minify] [minify]
[minify.tdewolff] [minify.tdewolff]
[minify.tdewolff.html] [minify.tdewolff.html]