Ask HN: Do I have to show a cookie banner if my website is behind Cloudflare?

3 pointsposted 13 hours ago
by theanonymousone

Item id: 41680422

4 Comments

dave4420

13 hours ago

If Cloudflare sets cookies on your behalf, you will need to ask for consent.

My understanding is that Cloudflare now allow you to configure their service so that they do not set any cookies automatically.

theanonymousone

11 hours ago

How do I check if CF is setting cookies on my domain? Is it explicitly mentioned in their control panel?

stop50

10 hours ago

you can open your website and see in the developer tools if there are any CF related cookies

hnsaccount

11 hours ago

Dave, below is correct. If Cloudflare places cookies on your behalf, you need to ask for consent. Most likely, you can group it as essential. If you use it for analytical purposes, you need to classify it accordingly.