MauricioRobayo / nextjs-google-analytics

Google Analytics for Next.js
MIT License
518 stars 48 forks source link

Support automatically collected properties by Google Tag Manager #718

Open ssohymind opened 2 months ago

ssohymind commented 2 months ago

Hi, I'm one of the users of this library.

Since I thought this would be great alternative to the GTM to track GA events, I migrate all my GTM event Tags to code. However, I found the automatically collected properties when using GTM are not logged with some custom events such as campaign, source, medium, ga-session-id, etc.

I wonder whether it is the original intention of this library or I'm doing something wrong.