From 07a0198bf5271e06f788940b396742a47b5c9b12 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 16 Oct 2023 18:21:21 -0700 Subject: [PATCH] Config: Place Google Analytics tag ID under the services key --- hugo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index c029b49bc..46486aec9 100644 --- a/hugo.toml +++ b/hugo.toml @@ -3,7 +3,6 @@ baseURL = "https://gohugo.io/" defaultContentLanguage = "en" enableEmoji = true -googleAnalytics = "G-MBZGKNMDWC" ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"] languageCode = "en-us" paginate = 100 @@ -14,6 +13,9 @@ title = "Hugo" # We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below). disableAliases = true +[services.googleAnalytics] +ID = 'G-MBZGKNMDWC' + [minify] [minify.tdewolff] [minify.tdewolff.html]