Store policies

Shopify Cookie Policy: What to Include, Cookie List and Template

Whether a Shopify store needs a cookie policy, the cookies Shopify itself sets as of October 2026, how to find the ones your apps and pixels add, and a fill-in template grouped like your cookie banner.

On this page

A Shopify cookie policy is a page on your store that explains which cookies and similar technologies your storefront uses, grouped by purpose, with who sets each one, what it does, how long it lasts and how visitors can change their choice. Shopify doesn't write one for you, and Settings > Policies has no cookie policy type, so you publish it as a page in Online Store > Pages and link it from your footer menu and privacy policy.

Shopify's own cookie policy lists the cookies Shopify places on merchant storefronts: nine, in three groups, as of its 9 October 2026 update. The cookies your apps, pixels and tags add are yours to list.

This guide is general information based on Shopify's documentation and regulator guidance, not legal advice. If you're unsure what applies to your business, ask a qualified professional.

Not on its own. Shopify's policy covers Shopify's own websites and has a Merchant storefronts section listing the cookies Shopify places for visitors to stores on its platform. Link to it for those cookies. It knows nothing about your apps, the pixels in Settings > Customer events, tags in Google Tag Manager or theme code, or your consent app's own storage, so your page has to cover those.

Cookie policyPrivacy policyCookie banner
JobExplains cookies and similar technologies: which, why, who, how longExplains all the personal data the store handlesAsks for consent and records the choice
Where in ShopifyA page in Online Store > PagesSettings > Policies or Settings > Customer privacySettings > Customer privacy > Cookie banner, or a consent app
Links toPrivacy policy and how to change a choiceCookie policyPrivacy policy, and cookie policy where supported

Shopify requires a published privacy policy before you can use its cookie banner (Configuring customer privacy settings). Our guides to the Shopify privacy policy and the Shopify cookie banner cover those two. This one covers the cookie list between them.

If you have visitors in the EU or UK, you need to give them clear information about the cookies and similar technologies your store uses. Neither the ePrivacy Directive nor the ICO's guidance asks for a page with a particular title, but a separate cookie policy page is the usual way to provide it.

EU. Article 5(3) of the ePrivacy Directive, as amended in 2009, allows a site to store or read information on a visitor's device only with consent given after clear and comprehensive information, unless it is strictly necessary for a service the visitor asked for. The EDPB's guidelines on the technical scope of Article 5(3), adopted on 7 October 2024, say this applies whether or not the information is personal data, and they cover tracking pixels and local storage as well as cookies. The EDPB's consent guidelines list the minimum information for informed consent, including the controller's identity, the purpose of each processing operation, the type of data collected and the right to withdraw, and say other controllers relying on the consent should be named.

UK. The ICO's guidance on storage and access technologies, finalised on 29 April 2026, says to tell people which technologies you use, what for, whether third parties store or access information, and for how long (What are the PECR rules?). UK exceptions for some analytics and for adapting how a site looks or works to a visitor's preferences still need clear information and a simple, free way to object, and online advertising has no exception (What are the exceptions?).

Elsewhere. Shopify's cookie banner isn't active by default in regions such as the US, where opt-in consent for cookies isn't required, and Shopify offers a data sharing opt-out page for regions that need one (Configuring customer privacy settings). Rules vary, so check which apply to you. Our Shopify GDPR compliance guide puts the cookie policy in context with the rest of the EU and UK to-do list.

Separate page or privacy policy section?

Both can work. A separate page usually suits a Shopify store, because the cookie list changes whenever you add an app or pixel, it can mirror your banner's categories, and a long cookie table makes a privacy policy harder to read. A store running only Shopify's cookies and one analytics tool could fit everything into its privacy policy. Either way, make the link easy to find: the ICO's compliance guidance asks you to consider how page design affects whether people see the link, and notes that a footer link on a long, dense page is far less visible than one in the header.

SectionWhat to writeWhere to find it
Who you areBusiness name and an email for cookie questionsYour business details
What cookies areA plain explanation covering cookies, local storage, pixels and tagsThe template below
CategoriesNecessary, preferences, analytics, marketing, named as on your bannerYour banner settings
Each toolName, provider, purpose, duration, first or third partyShopify's list, apps, pixels, a browser check
Third partiesEach provider, with a link to its privacy policyProvider websites
ConsentHow the banner works and how to change or withdraw a choiceBanner settings, your Cookie preferences link
Browser controlsHow to delete or block cookies, and what breaksBrowser help pages
Data sale or sharingWhich tools count, and how to opt out, where that appliesSettings > Customer privacy, pixel settings
UpdatesA last-updated dateYour own records

Which cookies does Shopify set? The Shopify cookies list for October 2026

Shopify's cookie policy, last updated 9 October 2026, lists these for merchant storefronts (descriptions paraphrased):

CookieShopify's categoryWhat it's forDuration
__Host-Http-shop_bindingNecessary for the storeLinks a Login with Shop handoff to the browser session3 hours
_shopify_essentialNecessary for the storeSession and checkout information, plus anti-tampering data1 year
_shopify_testNecessary for the storeChecks that the browser accepts cookies1 minute
cartNecessary for the storeHolds the visitor's cart2 weeks
cart_currencyNecessary for the storeStarts a new, empty cart in the same currency after checkout2 weeks
discount_codeNecessary for the storeKeeps a discount code from a link for the next checkoutSession
localizationNecessary for the storeLocalizes the cart to the right country1 year
_shopify_analyticsReporting and analyticsAnalytics data for the storefront and checkout1 year
_shopify_marketingMarketingMarketing data for the storefront and checkout1 year

Things to know about this list:

  • No preferences group. Shopify lists no storefront cookies under preferences; your apps may add some.
  • Shop has its own list. Shop Pay, Login with Shop and shop.app use separate cookies, listed under Shop in the same policy.
  • Party not stated. Shopify's list doesn't say whether these cookies are first or third party.
  • Consent regions. In a February 2026 thread on Shopify's developer forum, Shopify staff said _shopify_analytics doesn't load by default in consent regions until the visitor consents, and that a third-party banner sending the wrong default can make such cookies load early.
  • Use the English page. In the same thread, a user found that the Dutch version of the policy didn't mention _shopify_analytics, and staff said they'd asked Shopify's legal team to update it. Regional versions can also show an older "last updated" date.

Which Shopify cookies should you remove from an older policy?

Older templates and some scanners still list cookies Shopify has retired. Shopify's developer changelog announced each of these, and none appears in the October 2026 list:

Retired cookieWhat Shopify announced
_shopify_y, _shopify_sNo longer set from 1 January 2026
_tracking_consent, _landing_page, _orig_referrerNo longer set on storefronts from 15 September 2025; consent state comes from the Customer Privacy API. Hydrogen's April 2026 release replaced its legacy JavaScript _tracking_consent cookie with server-set cookies
_abRetired in 2025; it controlled the theme preview bar
_shopify_countryRetired in 2025; the region comes from the Customer Privacy API

If your policy still names them, the rest of it may be out of date too.

Record each item's name, provider, purpose, duration and category in a spreadsheet as you go:

  1. Apps. In Settings > Apps, list every app, then check its listing, help docs or privacy policy for cookies or browser storage. Ask the developer if it doesn't say.
  2. Pixels. In Settings > Customer events, list every app pixel and custom pixel. A custom pixel's Customer privacy section shows whether Permission is Required and for which purposes, such as marketing, analytics or preferences (Manage your custom pixels), which is a good first guess at its category. Our Shopify customer events guide covers moving theme scripts into custom pixels.
  3. App embeds and theme code. Go to Online Store, click Edit theme, then the App embeds icon to see which apps run on the storefront (Extend your theme with apps). Some apps add code straight into theme files, and Shopify says that code isn't removed automatically when you uninstall (Uninstalling apps). Run your store through ShopOpsy's free Shopify app detector to see which apps' code loads on the storefront, including leftovers from apps you removed.
  4. Tag manager. If you use Google Tag Manager, list every tag it fires. It's one script that can load many tools.
  5. Browser check. In a private window, ideally from a region where your banner shows, visit your homepage, a product page, the cart and checkout. In Chrome DevTools, open Application > Storage > Cookies and select each origin to see each cookie's name, domain and expiry (View, add, edit, and delete cookies), then check Local storage in the same panel (View and edit local storage). Accept all on the banner, browse again and compare: anything that appears only after you accept belongs in an optional category.
  6. Durations. Take them from the provider's documentation. For example, Google says GA4's _ga and _ga_<container-id> cookies last 2 years by default (GA4 cookie usage on websites).

Scanners help, but the EDPB's cookie banner taskforce report notes that the available tools only list cookies and can't check what they're for. It also records the taskforce's discussion of website owners' responsibility to maintain their cookie lists and show that cookies they call essential really are.

Use your banner's category names, in the same order. Visitors read your policy to understand what they're agreeing to on the banner. Shopify's Customer Privacy API records consent for preferences, analytics, marketing and data sale or sharing, and Shopify's pixels overview says new pixels require marketing and analytics permissions by default. Our Customer Privacy API guide explains how those choices reach your apps.

CategoryWhat belongs hereTypical examples on a Shopify store
NecessaryCart, checkout, security and remembering the consent choiceShopify's necessary cookies; your banner's consent storage
PreferencesChoices such as country or language, as Shopify's API describes itLanguage or currency selectors; some apps put chat widgets here
AnalyticsMeasuring visits and how people use the store_shopify_analytics, Google Analytics 4, heatmap tools
MarketingAds, retargeting and conversion measurement_shopify_marketing, Meta Pixel, TikTok Pixel, Google Ads, email and SMS tracking

Don't file a marketing tool under necessary: the EDPB taskforce lists "inaccurately classified essential cookies" among the practices it examined.

ShopOpsy's consent app, Cookify, coming soon to the Shopify App Store, groups choices into necessary, analytics, marketing and preferences and passes each choice to the Customer Privacy API. It saves the visitor's choice in the browser's local storage, the kind of similar technology your policy should mention.

Copy the text into a new page, delete what doesn't apply and replace every [bracketed placeholder]. The Shopify rows reflect Shopify's list of 9 October 2026; check them before you publish.

COOKIE POLICY
Last updated: [Date]

This policy explains how [Business name] uses cookies and similar
technologies on [store domain]. Questions? Email [contact email].

1. WHAT COOKIES ARE
Cookies are small text files a website saves in your browser. We
also use technologies that work in a similar way, such as local
storage in your browser, and pixels or tags that send information
about your visit to the companies that provide them. In this
policy, "cookies" covers all of these.

2. HOW WE ASK FOR YOUR CONSENT
When you visit from [regions where your banner shows], our cookie
banner asks which optional cookies you allow. Necessary cookies are
always on. [Preferences / Analytics / Marketing] cookies are used
only if you allow them. You can change or withdraw your choice at
any time with the [Cookie preferences] link in our footer.

3. COOKIES WE USE
Each line shows: name | provider | purpose | duration | first or
third party.

3.1 Necessary
These run the cart, checkout and security, and remember your
cookie choice.
- Shopify store cookies, including _shopify_essential, cart and
  localization | Shopify | Run the cart, checkout and store
  sessions | From 1 minute to 1 year | [First party].
  Full list: https://www.shopify.com/legal/cookies
- [Consent storage name] | [Banner app] | Remembers your cookie
  choice | [Duration] | [First party]

3.2 Preferences
These remember choices such as your country or language.
- [Name] | [Provider] | [Purpose] | [Duration] | [Party]

3.3 Analytics
These help us understand how visitors use the store.
- _shopify_analytics | Shopify | Analytics for the storefront and
  checkout | 1 year | [First party]
- [_ga, _ga_<ID>] | [Google Analytics 4, Google] | [Distinguishes
  visitors and keeps session state] | [2 years] | [First party]

3.4 Marketing
These measure our ads and help show you relevant ads elsewhere.
- _shopify_marketing | Shopify | Marketing data for the storefront
  and checkout | 1 year | [First party]
- [Name] | [Tool, company] | [Purpose] | [Duration] | [Party]

4. COMPANIES THAT SET OR READ COOKIES
Their privacy policies explain how they use the information:
- Shopify: [link]
- [Provider]: [link to its privacy policy]

5. CHANGING YOUR CHOICE AND BROWSER SETTINGS
Use the [Cookie preferences] link at any time to change your
choice. You can also delete or block cookies in your browser
settings. If you block necessary cookies, the cart and checkout may
not work.

6. [ONLY IF OPT-OUT RULES APPLY] SELLING OR SHARING DATA
Some of our marketing tools may count as selling or sharing
personal information under [state or country] law. To opt out,
use [link to your data sharing opt-out page].

7. CHANGES TO THIS POLICY
We update this policy when we add, change or remove tools. The
date at the top shows the current version.

8. MORE INFORMATION
For how we handle personal data, see our privacy policy:
[privacy policy URL].

Tips for filling it in:

  • Name the cookies. Where a tool sets many, name the tool, list its main cookies and link to the provider's own list.
  • Use real durations, from the provider's documentation or the expiry you saw in DevTools.
  • Confirm first or third party. Shopify's list doesn't say, so check the domain each cookie is set on in DevTools before you fill in that column.
  • Delete what you don't use, including section 6 if no opt-out rules apply.
  • Test before you promise. Only say optional cookies wait for consent once you've checked that they do; our cookie banner guide shows how.

Settings > Policies offers seven written policies: return, privacy, terms of service, shipping, legal notice, contact information and subscription. None is a cookie policy (Adding store policies), so publish yours as a page.

Step 1: Create the page

Following Shopify's pages guide:

  1. In your Shopify admin, go to Online Store > Pages.
  2. Click Add page.
  3. Enter a title, such as "Cookie policy", and paste your policy.
  4. In Visibility, keep Visible selected.
  5. Click Save.

To set a clean address, open Search engine listing preview and edit the URL handle, for example cookie-policy. If you change it later, Shopify redirects the old address by default.

Following Shopify's menu guide:

  1. Go to Content > Menus and click your footer menu.
  2. Click Add menu item and enter "Cookie policy".
  3. Click Search or paste a link, choose Pages and select your page.
  4. Click Add, then Save menu.

Shopify advises selecting the page from the list rather than pasting a URL, which can break the link.

  • Privacy policy. In Settings > Policies (or Settings > Customer privacy > Privacy policy if it isn't listed there), open the privacy policy and link to your cookie policy. If Use automated policy is on, you have to turn it off to edit the text, and the policy then no longer updates automatically when you change your store settings (Adding store policies).
  • Banner. Shopify's cookie banner guide doesn't describe a cookie policy link field. If your consent app has a field for policy links, add the page there.
  • Translations. If you sell in several languages, translate the page too.

A cookie list is accurate only on the day you check it. Update the policy, and your banner categories if needed, when you:

  • install or uninstall an app, including any code it left in your theme;
  • add, remove or change a pixel or a tag manager tag;
  • switch themes;
  • start selling in a new region where your banner shows;
  • see a new "Last updated" date on Shopify's cookie policy or a cookie change in Shopify's developer changelog.

The ICO's compliance guidance asks for regular reviews, more often if you make frequent changes, and suggests checking from a device separate from your own network, removing technologies you no longer need, and recording what you found and when you'll check next. Our suggestion: a full check every quarter and a quick one after each app or pixel change, updating the "Last updated" date and making sure your banner, cookie policy and privacy policy name the same tools.

What you seeLikely causeWhat to do
No cookie policy option in Settings > PoliciesShopify has no cookie policy typePublish it as a page
Policy lists _shopify_y or _tracking_consentCopied from an older templateReplace the Shopify rows with the current list
DevTools shows a cookie your policy doesn't mentionAn app, pixel or theme scriptTrace it by domain, then list it or remove the tool
Analytics or marketing cookies appear before consentA script outside Customer events, or a banner sending the wrong defaultMove the script into a custom pixel, check the banner, retest
Footer link leads to a 404 pagePasted URL or changed handleRe-add the menu item by selecting the page
Policy categories don't match the bannerPolicy written before the bannerRename the sections to match

Want it written for you?

ShopOpsy's Cookie Policy Setup is a one-time $59 drafting service. We write the policy from the cookies, pixels and tags your store loads, grouped into necessary, analytics, marketing and preferences, and email it as plain text ready to publish as a page. The Legal Page Bundle writes all five policy pages together, so your privacy and cookie policies describe the same tools. Both are drafts, not legal advice.

Frequently asked questions

Not for visitors in the EU, and usually not in the UK. The policy informs people, but in the EU optional cookies such as analytics and marketing need consent before they're set, and collecting that choice is the banner's job. In the UK, marketing cookies still need consent, and the exceptions for some analytics and appearance cookies still require a simple, free way to object.

Sources