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
Struggling to get google analytics to work #265
Comments
I am having the same issue. Copied my tracking ID into the _config.yml but no tracking seems to occur. |
Hi, I came up with the same issue, but solved it by first change provider of analytics to |
Worked for me! Maybe this should be added in the comment in the |
Worked for me as well! Looks like Google changed the tracking script, so the one included in academicpages no longer works... |
This really works, thanks! |
Has Google Analytics stopped working for anyone else? It worked just fine with the 'custom' solution mentioned above, however, it stopped working since a month now. |
I have the same issue and custom solution does not work. As of January 2023, universal analytics tracking code will not work and switching to google analytics 4 is necessary. I have tried different things (like this stackoverflow answers) but could not figure it out! |
You just have to go a little further and it works fine. The following steps are needed:
|
Works perfect! Thank you so much! |
This is super helpful. Many thanks! |
Fantastic! Thanks! |
Awesome. Thank you! |
Fantastic! Very simple and clear |
Hi everyone, I followed the steps outlined by @tnybny a couple of months ago and it worked beautifully. But my Google Analytics dashboard now says it stopped collecting data and I cannot seem to find a way to fix it. Anyone had the same issue and could advise? Many thanks! |
Followed these instructions academicpages#265
I added my tracking ID to the config, in double quotes. However, google analytics is not logging any hits even though I'm testing it.
I've looked at other documentation and I know the code google analytics is providing me is different from the google_universal.html file. But I'm not sure if that means it has actually changed or if they do the same thing and I just don't understand them. I also saw on other guides that my Jekyll environment should be production? I'm not sure sure what that means for this repo.
The text was updated successfully, but these errors were encountered: