-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Update adding-analytics.md #27624
Update adding-analytics.md #27624
Conversation
That was fast! Thanks @im-adithya, |
@im-adithya I haven't gotten a chance to review this in detail yet, but I added the |
What about the plugin gatsby-plugin-google-analytics? What's the difference? Can't find any info about which one to use which is very confusing. |
I will try to explain, gatsby-plugin-gtag is not a oficial plugin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thank you 💜
Thanks! That makes a lot of sense. Maybe it is obvious for those who know that there are two different google analytics scripts, but for someone who didn't I really couldn't figure out the difference. |
Description
Gatsby uses gatsby-plugin-google-gtag instead of gatsby-plugin-gtag. Hence the doc needed to be updated.
This PR closes #27623