Prevent cookies before user consent

Hello,

I have disabled the cookies for new visitors from the general settings, but I’m still getting Stripe.js and Google Analytics firing up on my index before consent.
I can live without Google Analytics, so I can uninstall it, but how can pause Stripe until Users consent?

If possible, it would be great to know of a “nocode” friendly way rather than javascript.

The ‘disable cookies for new visitors’ only disables Bubble cookies.

If you’re setting other cookies then you’ll need to handle that manually.

How and where are you setting Stripe cookies? (and what cookies are they)?

I haven’t set any cookies manually myself. I use Stripe.jd plugin, and apparently it sets cookies automatically when the page is laoded, but I do not see any option to cancel that:

__stripe_mid and __stripe_sid for Stripe and _ga for Google Analytics (GA4+ plugin)

Well if the plugin is setting cookies there’s nothing you can do about that - aside from either not using the plugin, or contacting the plugin dev and asking them to change it.

1 Like

)) non-compliance unavoidable?

Thanks for the help though!
It’s concerning that in that case all Bubble apps that use Stripe.js and Google Analytics plugin wouldn’t be GDPR compliant.

Actually.. it’s not specific to the plugin..

Those 2 cookies (__stripe_mid and __stripe_sid) are set by Stripe.js (not by the plugin) as part of Stripe’s fraud detection.

But they are ‘essential’ cookies - so there’s no need for consent.

Incorrect - the Stripe cookies you mention are essential cookies, so GDPR compliance doesn’t come into it.

Obviously, GA cookies are not essential, so it’s up to you as a developer to manage that yourself (it’s got nothing to do with Bubble).

Even essential cookies have to be consented to, thus the existence of buttons like “Allow necessary cookies only”. No?

No they don’t.

1 Like

Great to know! Thanks

You are making your life harder for nothing. Just check how many companies have had any problems related to what you are trying to avoid. Not many.

1 Like