You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of right now both versions are widely used (and neither are deprecated).
gatsby-plugin-google-analytics is maintained by the gatsby team, meaning that it will be far more reliable and produce less compatibility issues with the future versions. This makes it a better choice for a general purpose starter.
That being said, starter users are free to utilize gatsby-plugin-gtag if they prefer to do so.
Google recommends using
gtag.js
instead ofanalytics.js
. They also have a migration guide in place.Do you think it is a good idea to update this starter to use gatsby-plugin-gtag instead of gatsby-plugin-google-analytics?
I'll be happy to help out if you think this is a good idea!
The text was updated successfully, but these errors were encountered: