Add a Cookie Banner to Your Square Online Site
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.
Learn more about GDPR and cookie consent for the European Union.
Learn more about CCPA and cookie consent for the state of California in the United States.
Learn more about APPI and cookie consent for Japan.
Learn more about LGPD and cookie consent for Brazil.
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 like One Trust.
Once signed up, you will be provided with a code to be placed as the first element in the <head> of your website. To use the code, please follow the directions below:
From your Square Online Overview page, go to Website > Integrations.
Select Cookie banner, and paste your cookie banner code into the textbox.
Select Save when finished.
Publish your site from the Square Online site editor to see the change live.
Default Cookies on Square Online Websites
On the third-party cookie banner service, you may be asked to scan your website, and categorize the cookies identified on your website. Here is some information to help you categorize your cookies. Square Online sets the following cookies on your site:
|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||Functionality Cookies||Website functionality|
|_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:
|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 pickup/delivery|
|order-online:order_notes||Functionality Cookies||Store order notes|
|order-online:dine-in||Functionality Cookies||Store buyer seat ID for self serve ordering|
|fulfillment-selection||Functionality Cookies||Store buyer fulfillment type to auto set when visiting site again|