You are reading the Store docs for v1.249.5. The latest is v1.249.7.Read this page for v1.249.7

Markets and privacy

Cookies and storage

Every cookie and browser-storage key Commernauts sets, and the one that needs the visitor's consent.

In the dashboard: Every store, onboarding, sign-in and the dashboard

Markdown for agents

When a store asks for consent

Consent is needed for cookies and storage that a site does not need to work. Everything Commernauts sets is needed to work or keeps a choice the person made, with one exception: the store's visitor id, which a store keeps only where its market's rule allows it. That is the one thing the store's consent banner and opt-out link are about; see Markets and consent.

  • Essential: the store cannot work without it, for example the cart, staying signed in, and the protection that stops other sites sending forms in a shopper's name.
  • Preference: a choice the person made and asked to keep, such as the language, light and dark mode, or their answer in the consent banner.
  • Analytics: the store's visitor id only. Set after Accept where the market asks first; until an opt-out or a Global Privacy Control signal where the market works by opt-out. It is never shared with an analytics or advertising provider.
  • Stores load no outside scripts except Stripe on the checkout page, which a card payment needs. Plug-ins run on our servers, not in the shopper's browser, so they cannot add tracking to your store.

The full list

NameKindWhereWhat it is forCategory
zobacz_sessioncookieStores, dashboardKeeps the visitor's session: the cart, and the CSRF token that stops other sites submitting forms in their name. Signed, HttpOnly.essential
zc_accountcookieStoresKeeps a shopper signed in to their store account after they sign in. Sent as __Host-zc_account, so no other subdomain can set it.essential
zobacz_oauthcookieStores, dashboardTies a sign-in started on this site to the answer that comes back, for ten minutes; it stops login forgery.essential
zc_wishlistcookieStoresHolds the key to the products a shopper saved with the heart while not signed in, so the wishlist stays on this browser; once they are signed in, their next save moves it to their account and the cookie goes. Sent as __Host-zc_wishlist, HttpOnly, one year.essential
z_unlockcookieStoresRemembers that the store password was entered, while the owner keeps the store closed to the public. Signed, HttpOnly, 30 days; changing the password ends it.essential
zobacz_docscookieStore API docsRemembers that the API docs password was entered.essential
cn_act_ascookieAdmin, dashboardCarries a one-time code from admin to the dashboard when Commernauts staff open a store as one of its users to help them; the dashboard turns it into the staff session, recorded with its support number. HttpOnly, sent only to /auth/act-as, one minute.essential
cn_handoffcookieOnboarding, dashboardCarries a finished sign-in from onboarding to the dashboard once.essential
onboarding_pkcecookieOnboardingHolds the one-time proof of a sign-in in progress (PKCE).essential
auth_sessioncookieSign-in (auth)Keeps the person signed in to Commernauts sign-in. Sent as __Host-auth_session.<tenant>, one per sign-in tenant, so no other subdomain can set it.essential
auth_csrfcookieSign-in (auth)Stops other sites submitting the sign-in forms. Sent as __Host-auth_csrf.<tenant>.essential
auth_2stepcookieSign-in (auth)Holds a sign-in for five minutes while it waits for the code of two-step sign-in. Sent as __Host-auth_2step.<tenant>.essential
dash_sessioncookieDashboardKeeps the owner signed in to the dashboard. Sent as __Host-dash_session, so no store or other subdomain can set it.essential
ebay_oauthcookieDashboardTies an eBay connection started in the dashboard to eBay's answer.essential
amazon_oauthcookieDashboardTies an Amazon connection started in the dashboard to Amazon's answer.essential
registry_sessioncookienpm registryKeeps a signed-in developer signed in to the package registry. Sent as __Host-registry_session.essential
docs_sessioncookiePlatform docsKeeps Commernauts staff signed in to the platform docs. Sent as __Host-docs_session.essential
cn_consentcookieStoresThe visitor's answer in the store's consent banner or privacy choices (granted or denied), kept for a year so they are not asked on every page. Holds no id. Sent as __Host-cn_consent.preference
zc_recent_searcheslocal storageStoresThe shopper's last searches in this store, shown when they open the search field again. Kept only on their device (localStorage), only after they accepted a visitor id, and cleared with "Clear recent searches" or when consent is withdrawn.preference
cn_vidcookieStoresAn anonymous visitor id that lets the store count returning visitors and their paths over several days, kept up to a year and never shared with an analytics or advertising provider. Set only where the store's market rules allow it: after Accept in an ask-first market, until an opt-out or Global Privacy Control in an opt-out market. Sent as __Host-cn_vid.analytics
cn_teamcookieStoresMarks the browser of someone on the store's team, set only when they open the team link on Admin, Live events, so their own visits stay out of the store's counts. Signed by the store, kept a year, holds no id. Sent as __Host-cn_team.preference
onb_langcookieOnboardingThe language the visitor picked from the language menu.preference
dash_langcookieDashboardThe language the owner picked from the language menu.preference
dash_navcookieDashboardWhether the owner collapsed the side menu.preference
admin_navcookieAdminWhether staff collapsed the admin side menu.preference
zobacz_starter_themelocal storageStoresLight or dark, when the shopper uses the store's theme switch.preference
dash-themelocal storageDashboardLight or dark, as the owner chose.preference
onboarding-themelocal storageOnboardingLight or dark, as the visitor chose.preference
admin-themelocal storageAdminLight or dark, as the staff member chose.preference
site-themelocal storageFramework siteLight or dark, as the reader chose.preference
dash-nav-collapsedlocal storageDashboardWhich menu group the owner collapsed.preference
dash_assets_viewlocal storageDashboardGrid or list in the asset library.preference
dash_raillocal storageDashboardWhether the editor's side panel is hidden.preference
dash_rail_widthlocal storageDashboardThe width the owner dragged the editor's side panel to.preference
zobacz.ask.referenceslocal storageDashboardReference images the owner added for the design assistant, kept on their own computer.preference
zobacz_devtoolscookieLocal developmentThe framework devtools panel; never served in production.development
zobacz_devtools_show_metalocal storageLocal developmentA devtools display setting.development
zobacz_devtools_sidebar_wlocal storageLocal developmentThe devtools sidebar width.development
zobacz_devtools_themelocal storageLocal developmentThe devtools theme.development

The list is checked against the code on every change: a cookie or storage key not listed here fails the build, so this page stays complete.