Update analytics doc to use official Gatsby gtag plugin #27623
Labels
good first issue
Issue that doesn't require previous experience with Gatsby
help wanted
Issue with a clear description that the community can help with.
type: documentation
An issue or pull request for improving or updating Gatsby's documentation
Summary
The existing doc about adding Google analytics recommends using the
gatsby-plugin-gtag
plugin. As was pointed out after #27081 was merged, Gatsby actually maintains an official plugin with the same functionality,gatsby-plugin-google-gtag
.The Adding Analytics doc should be updated to use this official plugin instead.
Steps to resolve this issue
gatsby-plugin-google-gtag
instead ofgatsby-plugin-gtag
.Open a pull request
The text was updated successfully, but these errors were encountered: