-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Analytics does not work #269
Comments
I'm unable to reproduce this behaviour - GA appears to be working fine when I enter a valid GA ID into |
Thanks! Sorry for the inconvenience. I posted the problem already on S0. (Did you receive my email about the blogdown tutorial with your theme?) |
I have figured out the fix, although I don't completely understand it: https://stackoverflow.com/a/46207854/559676 |
I have the same problem. GA doesn't see any activity after the last update. My site is gitlab. The fix by yihui didn't work for me.... Any idea how to solve it on gitlab? |
I believe that Google Analytics Templates are missing.
I added them to
single.html
andlist.html
. I got no error message, but Google still did not track.Then I added the complete code Google provides and tracking worked fine!
No idea what is wrong here. Maybe a faulty Hugo template or a problem with blogdown? This happened already with the Disqus template: A Hugo template did not work and had to be replaced by a different code snippet.
I will report this issue on StackOverflow as well (and if there is no answer than directly to Yihui Xie).
The text was updated successfully, but these errors were encountered: