nuxt-modules / plausible

🎟️ Plausible Analytics integration for Nuxt
https://plausible.io
MIT License
102 stars 5 forks source link

Could be initiated on demand #10

Closed boudydegeer closed 5 months ago

boudydegeer commented 8 months ago

Due to the GDPR in Europe, it would be nice to have a way to no auto initiate the plugin until the user accepts the GDPR/Cookie Consent.

Is there a possibility to do it?

Should/Could I try to do a PR?

Thanks in advance

johannschopplich commented 8 months ago

As far as I understand it, Plausible is GDPR-compliant by default. That's the reason I choose it for my projects.

Having said that, a grantConsent method might come in handy. I have implemented such in the nuxt-gtag module. Sure, PR welcome!

Barbapapazes commented 5 months ago

Yes, no cookies are used by Plausible and impossible to trace a user. It's GPDR compliant!