-
Hi everyone, I added my Measurement ID to the hugo.toml file, but Google Analytics still isn't working after 48 hours. It indicates that my website doesn't include the Measurement ID. Has anyone else experienced this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Try to inspect the built page on the browser to see if your token is there, as far as I know it should be for it to be tracked. If it's not, it's probably due to the if statement on line 37: https://github.com/tomfran/typo/blob/main/layouts/partials/head.html This might be helpful (maybe it's outdated tho): |
Beta Was this translation helpful? Give feedback.
I finally succeeded!
I moved googleAnalytics = "G-XXXXXXXX" before [taxonomies] in hugo.toml, and it worked perfectly.
I think this might be a bug or an issue of some kind.
Anyway, thank you so much for your help!