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
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
| Name | Kind | Where | What it is for | Category |
|---|---|---|---|---|
| zobacz_session | cookie | Stores, dashboard | Keeps the visitor's session: the cart, and the CSRF token that stops other sites submitting forms in their name. Signed, HttpOnly. | essential |
| zc_account | cookie | Stores | Keeps 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_oauth | cookie | Stores, dashboard | Ties a sign-in started on this site to the answer that comes back, for ten minutes; it stops login forgery. | essential |
| zc_wishlist | cookie | Stores | Holds 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_unlock | cookie | Stores | Remembers 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_docs | cookie | Store API docs | Remembers that the API docs password was entered. | essential |
| cn_act_as | cookie | Admin, dashboard | Carries 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_handoff | cookie | Onboarding, dashboard | Carries a finished sign-in from onboarding to the dashboard once. | essential |
| onboarding_pkce | cookie | Onboarding | Holds the one-time proof of a sign-in in progress (PKCE). | essential |
| auth_session | cookie | Sign-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_csrf | cookie | Sign-in (auth) | Stops other sites submitting the sign-in forms. Sent as __Host-auth_csrf.<tenant>. | essential |
| auth_2step | cookie | Sign-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_session | cookie | Dashboard | Keeps the owner signed in to the dashboard. Sent as __Host-dash_session, so no store or other subdomain can set it. | essential |
| ebay_oauth | cookie | Dashboard | Ties an eBay connection started in the dashboard to eBay's answer. | essential |
| amazon_oauth | cookie | Dashboard | Ties an Amazon connection started in the dashboard to Amazon's answer. | essential |
| registry_session | cookie | npm registry | Keeps a signed-in developer signed in to the package registry. Sent as __Host-registry_session. | essential |
| docs_session | cookie | Platform docs | Keeps Commernauts staff signed in to the platform docs. Sent as __Host-docs_session. | essential |
| cn_consent | cookie | Stores | The 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_searches | local storage | Stores | The 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_vid | cookie | Stores | An 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_team | cookie | Stores | Marks 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_lang | cookie | Onboarding | The language the visitor picked from the language menu. | preference |
| dash_lang | cookie | Dashboard | The language the owner picked from the language menu. | preference |
| dash_nav | cookie | Dashboard | Whether the owner collapsed the side menu. | preference |
| admin_nav | cookie | Admin | Whether staff collapsed the admin side menu. | preference |
| zobacz_starter_theme | local storage | Stores | Light or dark, when the shopper uses the store's theme switch. | preference |
| dash-theme | local storage | Dashboard | Light or dark, as the owner chose. | preference |
| onboarding-theme | local storage | Onboarding | Light or dark, as the visitor chose. | preference |
| admin-theme | local storage | Admin | Light or dark, as the staff member chose. | preference |
| site-theme | local storage | Framework site | Light or dark, as the reader chose. | preference |
| dash-nav-collapsed | local storage | Dashboard | Which menu group the owner collapsed. | preference |
| dash_assets_view | local storage | Dashboard | Grid or list in the asset library. | preference |
| dash_rail | local storage | Dashboard | Whether the editor's side panel is hidden. | preference |
| dash_rail_width | local storage | Dashboard | The width the owner dragged the editor's side panel to. | preference |
| zobacz.ask.references | local storage | Dashboard | Reference images the owner added for the design assistant, kept on their own computer. | preference |
| zobacz_devtools | cookie | Local development | The framework devtools panel; never served in production. | development |
| zobacz_devtools_show_meta | local storage | Local development | A devtools display setting. | development |
| zobacz_devtools_sidebar_w | local storage | Local development | The devtools sidebar width. | development |
| zobacz_devtools_theme | local storage | Local development | The 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.