nuxt-posthog
nuxt-posthog copied to clipboard
GDPR issue in setting cookies without respecting config
nuxt-posthog module stores the users identity in a cookie
This module doesn't respect posthog settings for recording anonymous data (using posthog without needing GDPR consent).
This line stores identity in a cookie even if persistence: 'memory' is set in the client options.
https://github.com/mitjans/nuxt-posthog/blob/2453f16016eedf2e26c3605b1c80c5a63383cd3b/src/runtime/plugins/posthog.client.ts#L42-L43
I appreciate you're probably not trying to support this use case but it would be good to say so in the docs.
Thanks!
Yeah was wondering this also, it would be great to be able to pass cookieless_mode to the posthog instance