Google Analytic
yudataguy opened this issue · comments
added https://npmjs.com/package/nextjs-google-analytics, but getting error when adding to page.jsx
, under return <>
<GoogleAnalytics trackPageViews gaMeasurementId="G-XYZ" />
any suggestion on where should it be placed instead?
Not really sure this is related to the boilerplate. The boilerplate didn't do anything special and you shouldn't getting error.