-
Notifications
You must be signed in to change notification settings - Fork 26k
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 Script Code #85
Comments
The theme is using the Classic Google Analytics script. What you included above is the new Universal one that everyone should eventually move to. I didn't update it to avoid breaking things for those who haven't turned it on yet in GA. Just update your copy of |
Add Gaya theme & Harmony theme updates
fix(nav): clicking anywhere when the nav menu is hidden no longer opens it
@mmistakes any news here? Looks like the old code is still there... BTW The latest recommendation looks like this (note that the tracking code appears twice, in the script query string and in the <!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-12345678-9"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());
gtag('config', 'UA-12345678-9');
</script> |
For anyone bumping into this as I did:
|
fixed title levels
…/postcss-8.4.16 chore(deps-dev): bump postcss from 8.4.14 to 8.4.16
My google analytics says you should use the following code to analysis site.
so why we do use this script in
_includes/_scripts.html
? Are they the same code?The text was updated successfully, but these errors were encountered: