Add a Cookie Banner to Square Online with Third-Party Code
A cookie banner (or preference center) 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 CCPA and cookie consent for the state of California.
Learn more about GDPR and cookie consent for the European Union.
Learn more about APPI and cookie consent for Japan.
Learn more about LGPD and cookie consent for Brazil.
Here, you’ll learn how to add a cookie banner to your site using third-party code. You can also learn how to add a cookie banner to Square Online with Cookiebot, our integrated cookie banner provider.
Add a Cookie Banner with Code
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 such as Legal Monster, CookieHub, or CookiePro.
Once signed up, they'll provide you with a code to add to your site. To use the code:
In your Square Online Overview page, go to Website > Site Preferences.
Under Cookie Consent, select Set up cookie consent.
Choose the Custom banner code option and select Next to continue.
Add your cookie banner code and select Save when finished.
Default Cookies on Square Online
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||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 popups|
|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|
|product-detail:entry-route||Strictly Necessary||Store page that buyer is on before they navigate to product page so mobile 'X' button can navigate out|
|site-visitor-uuid||Performance and Analytical Cookies||For analytics tracking|
UK and EU Requirements
If you’re located in the UK or EU, or expect visitors from these regions, you must set up a cookie consent banner on your website for GDPR compliance. Learn more about GDPR and Square Online.
Disclaimer: The information provided herein is for general informational purposes only and does not constitute legal advice. It has not been prepared with your specific circumstances in mind and therefore may not be suitable for use with your business. By relying on the information contained in this article, you assume all risk and liability that may result. Consult a legal expert regarding your obligations under any data privacy law to receive guidance tailored to your specific needs.