react-ga4
react-ga4 copied to clipboard
Cannot integrate google search console using generated snippet
Validating google search console integration using the Google Analytics Tracking code generated with this module fails because:
Your non-logged-in homepage (see note) must contain either the analytics.js or gtag.js snippet. The tracking code must be in the
<head>section, not the<body>section, of your page. To confirm the presence of this tag, visit the page in your browser, view the page source, and search for the snippet.
(cf https://support.google.com/webmasters/answer/9008080?hl=en#zippy=%2Cgoogle-analytics-tracking-code)
This issue would be fixed by https://github.com/codler/react-ga4/pull/37