Cookie consent popup
Krown themes have a cookie popup that asks customers to accept or decline tracking. It shows only where Shopify's customer privacy settings ask for consent.
Every Krown theme has a built-in cookie consent popover: a short message with an Accept and a Decline button that lets customers accept or decline tracking. The answer goes to Shopify, which then collects analytics and marketing data only if the customer accepted.
Where to find it: the place differs per theme, see Where is the cookie popover in my theme?
How the cookie popover works
- The popover shows the title "Cookies", a short message and two buttons, "Accept all cookies" and "Decline all cookies".
- The popover follows Shopify's Customer Privacy API. It shows only to visitors in the regions where your store's privacy settings ask for cookie consent (Settings → Customer privacy → Cookie banner). With Shopify's automated settings, that is the UK and the EEA when your store has active markets there. Visitors outside those regions never see it.
- It shows until the visitor accepts or declines, in the theme's popover or in Shopify's own cookie banner.
- Accept turns on analytics, marketing and preferences tracking for that customer. Decline turns all three off. The answer is recorded with Shopify, and Shopify's pixels, analytics and checkout follow it.
- In the theme editor, the popover shows when you select its block or section.
- Change the texts in Shopify admin → Online Store → Themes → … → Edit default theme content (search for "cookies").
This is how the popover works since Local 4.3.0, Combine 4.3.0, Borders 3.2.0, Split 5.2.0, Highlight 4.2.0, Kingdom 6.3.0 and Seventh 4.1.0. In older versions it showed to every visitor, in every region, until they answered, and remembered the answer only in that browser.
Where is the cookie popover in my theme?
- Local, Combine and Highlight: the Popups section → Cookies block.
- Split: the Cookies section in the Overlay group. It is hidden by default: show it with the eye icon.
- Kingdom: the Cookies section, with the setting Show cookies notice.
- Borders: the Popovers section in the Overlay group → Cookies block.
- Seventh: the Popovers section → Cookie consent block. See Popovers section.
Set up the cookie popover
Choose where consent is required
Open Shopify admin → Settings → Customer privacy → Cookie banner. Under Regions, add the regions where customers must give consent before non-essential data is collected (to edit them yourself, first turn off Use automated settings), then Save.
Choose one banner
Decide whether customers see Shopify's cookie banner or the theme's popover. To use only the theme's popover, in Settings → Customer privacy → Cookie banner choose Remove cookie banner, then set the same regions with Set custom banner regions (or, where your admin does not show it, Edit in the Regions section), so the theme still knows where to ask. See Shopify's privacy settings.
Add the theme's popover
In the theme editor, add the cookies block or section of your theme (see the list above), set its colors and Save.
Test it in a private window
Select the cookies block or section in the theme editor to see the popover. On the storefront it appears only to visitors in a consent region; after they accept or decline, it stays hidden.
If Shopify's cookie banner and the theme's popover are both on, a visitor can see both; answering either one closes the other. The theme's popover accepts or declines all cookie types at once. For per-category choices, use Shopify's banner or a consent app, see Cookie banner apps for GDPR compliance.
Why do I see two cookie banners?
Because Shopify's own cookie banner and the theme's popover are both on. Shopify controls its banner, not the theme. Keep one: in Shopify admin → Settings → Customer privacy → Cookie banner choose Remove cookie banner, then set the same regions with Set custom banner regions (or, where your admin does not show it, Edit in the Regions section), or remove the theme's cookies block or section.
Why does the cookie popover not appear?
Because the visitor already answered it, in the theme's popover or in Shopify's banner, because they are outside the regions where your store asks for cookie consent, or because it is not added in the theme. Check that the cookies block or section is added and visible in the theme editor (in Kingdom, that Show cookies notice is on), and select it there to see the popover.
Related pages
- Cookie banner apps for GDPR compliance: when you need more than the built-in popover.
- Popovers section: the Cookie consent popover in Seventh.
- Insert code into your store's head: tracking code and Shopify's customer events.
Optimize images and improve SEO
Compress images, write alt text and fix technical SEO issues with the Tiny SEO Speed Image Optimizer app, and what Shopify already does for your images.
Cookie banner apps for GDPR compliance
When the theme's cookie popup or Shopify's banner is not enough for GDPR, CCPA or Google Consent Mode, use a consent app such as Consentmo.