Nuxt Scripts: Google Tag Manager + Consent Management
I have checked the Nuxt Scripts documentation and it explains well how to implement consent management with
useScriptTriggerConsent
. However, I would like to use it along with useScriptGoogleAnalytics
composable and it seems there is not trigger
prop in Nuxt config nor in the composable params. How can I do?3 Replies
J'ai trouvé ! Il y a une propriété scriptOptions, mais j'étais passé à côté.
Nuxt Scripts
Triggering Script Loading · Nuxt Scripts
Nuxt Scripts provides several ways to trigger the loading of scripts.
@Luc Thanks!
Were you able to make the cookie consent persistent across different sessions though?