-
How can I add Google Analytics to my site using Stack? Looks to be supported by both Hugo and this theme but can't figure out what to add and where? Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
rmdhnreza
Mar 5, 2023
Replies: 1 comment
-
You can add your Google Analytics code to this line hugo-theme-stack/exampleSite/config.yaml Lines 27 to 30 in aae9cf6 or you can copy a script from Google Analytics & paste that script to |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
armanaxf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add your Google Analytics code to this line
hugo-theme-stack/exampleSite/config.yaml
Lines 27 to 30 in aae9cf6
or you can copy a script from Google Analytics & paste that script to
/layouts/partials/head/custom.html
or/layouts/partials/footer/custom.html