All things Shopify and commerce
Hi, I am using no third party app but the integrated shopify option to show my cookie banner.
So far so good but how can I access the settings the visitor enabled/disabled in that banner?
I haven't noticed any cookie or local/session storage with this data.
What I thought is that shopify itself manages the blocking of cookies when they are inserted by an app (haven't tested it though) but what about custom scripts I call in my theme? How do I block them if the visitor doesn't want them?
(screen in germany)
Solved! Go to the solution
This is an accepted solution.
I solved it "myself" with the help of shopify chat support. I was looking for this -> https://shopify.dev/docs/api/customer-privacy
With this API I can get each saved cookie setting and change my code according to it.
This is an accepted solution.
I solved it "myself" with the help of shopify chat support. I was looking for this -> https://shopify.dev/docs/api/customer-privacy
With this API I can get each saved cookie setting and change my code according to it.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025