Replies: 1 comment 2 replies
-
Hi there! Nuxt Gtag should work as expected for your application. Did you make sure you ran You can try the playground to see it in action. Please open an issue with a reproducible example, thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
we are currently integrating nuxt-gtag into our consent management tool.
Because GA cant be loaded without the proper permissions my initial config is:
When I remove the line "initialConsent", GTAG is loaded, without any given consent. Now I'm listening for the event when the user gives his consent (which is working pretty fine). If the user grants the permission to load GA I want to enable GA.
I'm using the code snippet that you provided in docs:
But nothing happens. I would assume GTAG is loaded after giving Consent, but I'm not seeing any calls to GA. I also tried to pass my GA ID in grantConsent(), but it doesn't change anything.
Am I missing something?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions