Replies: 3 comments 5 replies
-
Hi, thank you for posting. Google Analytics will only be enabled for production, i.e. running I will update the docs for clarification. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the explanation. I have run the hugo command to build the site and deploy on my webserver. However, I only saw it will send metrics to GA once when the site load the home page. It will not send metrics when I navigate to other paths, such as, |
Beta Was this translation helpful? Give feedback.
-
Sorry, this is a private repo. What I observed is it cannot load GA any more. Since I want to using the home page of your site. So what I did is copying the following files into the
Not sure if it is caused by this? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have followed the Guide and updated my
hugo.yaml
file. But I cannot find the API invocation to google analytics.How to reproduce
cd
into exampleSite foldergoogleAnalytics: G-xxxx
in thehugo.yaml
filehugo server --logLevel debug --disableFastRender
Beta Was this translation helpful? Give feedback.
All reactions