Shopify cookie policy: what a store really sets
Shopify lists ten cookies it places on a store. On our dev store, five were there before a visitor answered the banner, and Reject removed two of them.
| Cookie | Shopify says | Our dev store |
|---|---|---|
__Host-Http-shop_bindingNecessary for the functioning of the store | “Binds an iframe Login with Shop OAuth handoff to the browser session.” Lasts 3h. | Not seen in our capture |
_shopify_cmpNecessary for the functioning of the store | “Stores the visitor's consent preferences for the store.” Lasts 1y. | Not seen in our capture |
_shopify_essentialNecessary for the functioning of the store | “Contains essential information for the correct functionality of a store such as session and checkout information and anti-tampering data.” Lasts 1y. | SeenStill there after Reject.Lifetime: not measured (our test set this cookie to get past the store password). |
_shopify_testNecessary for the functioning of the store | “Used to check cookie capabilities on the client.” Lasts 1min. | Not seen in our capture |
cartNecessary for the functioning of the store | “Contains information related to the user's cart.” Lasts 2w. | Not seen in our capture |
cart_currencyNecessary for the functioning of the store | “Used after a checkout is completed to initialize a new empty cart with the same currency as the one just used.” Lasts 2w. | SeenStill there after Reject.Lifetime: 14 days. |
discount_codeNecessary for the functioning of the store | “Stores a discount code (received from an online store visit with a URL parameter) in order to the next checkout.” Lasts session. | Not seen in our capture |
localizationNecessary for the functioning of the store | “Used to localize the cart to the correct country.” Lasts 1y. | SeenStill there after Reject.Lifetime: 365 days. |
_shopify_analyticsReporting and analytics | “Contains analytics data for buyer surfaces such as the storefront or checkout.” Lasts 1y. | SeenGone after Reject.Lifetime: 365 days. |
_shopify_marketingMarketing | “Contains marketing data for buyer surfaces such as the storefront or checkout.” Lasts 1y. | SeenGone after Reject.Lifetime: 365 days. |
Shopify's list as read on 4 November 2026, from Shopify Cookie Policy, section "Merchant storefronts", which says it was last updated October 28, 2026. “Seen” means the cookie was in the browser before any answer. No cookie on our dev store was missing from Shopify's list.
Which policy do you want?
Shopify’s own. It is on Shopify’s Cookie Policy page, which at our reading said it was last updated October 28, 2026. The part about your store is the section called “Merchant storefronts”, which opens: “When merchants use our platform to power their online stores, we place the following cookies for visitors of their stores.” The table above is that list, with what we saw next to it.
One for your own store. Shopify’s page covers Shopify’s cookies only. Your store’s page also has to cover what you added: apps, pixels and tags pasted into your theme. The table at the bottom is a starting point for the Shopify part.
What the table shows
- Five of Shopify’s ten were there before any answer:
_shopify_essential,_shopify_analytics,_shopify_marketing,cart_currencyandlocalization. - Reject removed two of them:
_shopify_analyticsand_shopify_marketing. The other three stayed. - Five were not in our capture:
__Host-Http-shop_binding,_shopify_cmp,_shopify_test,cartanddiscount_code. Our visitor only loaded the home page. Nobody added anything to a cart, followed a discount link, signed in with Shop or reached checkout, and Shopify ties several of these to exactly those things. We do not know why_shopify_cmpand_shopify_testwere absent. - Four lifetimes matched Shopify’s list (365 days for
_shopify_analytics,_shopify_marketingandlocalization, 14 days forcart_currency). We did not measure_shopify_essential’s lifetime: our test copied that cookie in from the session that unlocked the dev store’s password page, so its expiry reflects our setup, not Shopify’s. - Nothing was set that Shopify’s list does not name. The dev store has no pixel app and no tag in the theme, so every cookie is Shopify’s. A store with either would have more to list.
The banner we ran, Cartkept Consent, remembers the visitor’s answer in the browser’s local storage under ck_consent, not in a cookie, so it is not in the table. That is another place a page can keep things, and worth asking whoever writes your policy about.
Where this applies, and where it does not
One visitor, from the United States (Shopify’s API named the region USKY), one store, one browser, one day. We did not change the store’s customer privacy settings and did not test visitors elsewhere, so a store set to collect only after consent may show a different first row. Shopify changes its cookies: this page was tested on 4 November 2026. Spot a mistake? Write to hello@cartkept.com.
Whether your store must publish a cookie policy, and what it has to say, depends on where your visitors are and the law there. We cannot tell you that, and nothing on this page is legal advice.
Find out what your own store sets
- Open your store in a private window. Do not click the banner yet.
- In Chrome, press F12, open Application, then Cookies, and choose your store’s address.
- Write down each name, what Shopify or the app that set it says it is for, and how long it lasts.
- Add a product to the cart and repeat. Some cookies only appear then.
- Click Reject, reload, and list what is left.
If you use a generator for the wording, that is fine. What it cannot do is look at your store. Your list can.
A starting list for your own page
These are the five cookies our dev store set, with Shopify’s description and duration for each, copied from Shopify’s page. Check it against your own store using the steps above and add whatever your apps and tags set.
| Cookie | What it is for | Lasts |
|---|---|---|
_shopify_essential | Contains essential information for the correct functionality of a store such as session and checkout information and anti-tampering data. | 1y |
cart_currency | Used after a checkout is completed to initialize a new empty cart with the same currency as the one just used. | 2w |
localization | Used to localize the cart to the correct country. | 1y |
_shopify_analytics | Contains analytics data for buyer surfaces such as the storefront or checkout. | 1y |
_shopify_marketing | Contains marketing data for buyer surfaces such as the storefront or checkout. | 1y |
How we tested
- Store
- Cartkept development store (cartkept.myshopify.com), the Shopify sample-data theme, with the Cartkept Consent app embed on and one cookie banner rule live. No third-party pixel is installed.
- Tested on
- 4 November 2026
- Visitor
- United States (the capture ran from a US network; getRegion() reported "USKY"). Headless Chromium 152.0.7977.82.
- How
- A fresh headless Chromium profile for each run, loading the storefront home page, waiting 9 seconds, then reading every cookie the browser holds (including HttpOnly ones), every host the page contacted, and the values window.Shopify.customerPrivacy reports. Then it clicked the banner's Accept all (run 1) or Reject all (run 2), waited 6 seconds, read the same things, and loaded the home page again. The only cookie carried in was the one that unlocks the store's password page; it is listed in every state.
- Not tested
- a third-party pixel or tag (the dev store has none installed); the region setting "Collected before consent" versus "Collected after consent" (not changed on the dev store); visitors outside the United States; checkout pages; other browsers or devices.
Keep reading
- Shopify cookie banner: what Accept and Reject doThe same capture, step by step: cookies and Shopify's consent record at each moment.
- Shopify age verification: what an age gate doesThe app's real age gate, run through the places a store owner worries about.
- Cartkept ConsentA cookie banner that matches your theme, with Reject beside Accept and a no passed on to Shopify.