Closed cannin closed 4 years ago
Is using react-ga compulsory? There is a GatsbyJS plugin for Google Analytics : gatsby-plugin-google-analytics Thanks
Okay, use "Official Plugin" from Gatsby when available; both GA and Helmet exist.
Google Analytics has been set up. Tracking ID can be set here
Include and setup react-helmet and react-ga into the site. The exact text is not so important right now, and we'll fix the GA site ID later.