4

I have installed a google tag manager and that is sending all event to Google Analytics. Checked in Tag manager preview the event is triggering fine and data is going to Google Analytics. But the actual count and Google Analytics count differs a lot. For example I have a page In which the event is triggering fine and added a local storage it will increase the count whenever the event is triggered in my browser I have visited the page 50 times and the local storage count is 50 but the Google Analytics count after a interval of 24 hours shows only 8 in GA. Don't know what went wrong.

  • Have a cookie consent banner
  • using GoogleTagManager '@next/third-parties/google'
  • Gtag js is loading fine Tag look like this
 <GoogleTagManager gtmId={process.env.NEXT_PUBLIC_GTM ?? ''} />
  • And the checked the nginx.access.log for that particular page it also have the same count

Am I missing something in here?

0