Cookie Banner Persisting in Local Development with Shopify CLI – Any Suggestions?

Cookie Banner Persisting in Local Development with Shopify CLI – Any Suggestions?

MPMachado
Shopify Partner
9 0 9

Hi everyone,

I'm currently developing a custom theme for a client using Shopify CLI for local development. I've noticed that the cookie consent banner reappears every time I refresh a page, which is becoming quite annoying.

I understand the cookie banner needs to be active since the main theme is live and published. On the production site, the system properly remembers when I refuse cookies, but in my local development environment, it doesn't seem to save my preferences.

Has anyone else experienced this issue during local development? Is there a way to configure the local environment so it remembers my cookie preferences? Any suggestions or workarounds would be greatly appreciated!

Thanks in advance!

https://alaska.agency
Replies 0 (0)