System updates

We’re experiencing issues that may affect your Square services. We’ll continue to update our status page with more information.

Back to Home

Add a Cookie Banner to Your Square Online Site

Browser cookies help websites keep track of your visits and activity. A website might use cookies to keep a record of your most recent visit or to record your login information.

A cookie banner (or preference centre) is the consent management module on websites that allows users to give their consent to which cookies and trackers they will allow on their device. For example, in the European Union, websites and apps that store or access information on a user’s device (e.g. through cookies) must ask for and obtain their explicit consent to do so.

Add a Cookie Banner to Your Website

Square Online allows you to be compliant with consumer privacy data laws by enabling you to work with third-party cookie banner providers. To add a cookie banner to your site, sign up with a third-party cookie banner provider of your choice like One Trust.

Once signed up, you'll be provided with a code. To use the code:

  1. In your Square Online Overview page, go to Settings > Tracking Tools.

  2. Select Cookie banner and paste your cookie banner code into the textbox.

  3. Select Save when finished.

  4. Publish your site from the Square Online site editor to see the changes live.

Default Cookies on Square Online Websites

On the third-party cookie banner service, you may be asked to scan your website and categorise the cookies identified on your website. Here is some information to help you categorise your cookies. Square Online sets the following cookies on your site:

Cookie name Category Description
PublishedSiteSession Strictly Necessary Set after user auth to site to access locked page or site
publishedsite-xsrf Strictly Necessary Help with site security in preventing Cross-Site Request Forgery attacks
websitespring-xsrf Strictly Necessary Help with site security in preventing Cross-Site Request Forgery attacks
sp Performance and Analytical Cookies For analytics tracking
_savt Functionality Cookies Anonymous visitor token generated when visiting site for first time
language Functionality Cookies Used to determine the language
editor_session Functionality Cookies For pop-ups
sto-id-editor Functionality Cookies Used by the load balancers to pin a user/session to a given server
sto-id-designer Functionality Cookies Used by the load balancers to pin a user/session to a given server
sto-id-trumpet Functionality Cookies Used by the load balancers to pin a user/session to a given server
gdpr-kb Functionality Cookies For GDPR script
_snow_id Performance and Analytical Cookies For analytics tracking
_snow_ses Performance and Analytical Cookies For analytics tracking
srv_domainuserid Performance and Analytical Cookies For analytics tracking

In addition, we may set the following localStorage for shopping and order online functionality:

localStorage name Category Description
viewedProducts Functionality Cookies Store buyer recently viewed products
order-online:selected-location Functionality Cookies Store buyer selected location
order-online:buyer-location-info Functionality Cookies Store buyer location for collection/delivery
order-online:order_notes Functionality Cookies Store order notes
order-online:dine-in Functionality Cookies Store buyer seat ID for self-serve ordering
fulfilment-selection Functionality Cookies Store buyer fulfilment type to auto set when visiting site again