On this page
Ecwid has a built-in cookie consent banner, so most stores don't need extra code. On the new Instant Site, open the site editor, go to Settings > Legal & Analytics, turn on Show cookie consent banner and publish. On the original Instant Site, or a store embedded on another website, turn on Cookie consent banner under Settings > Legal > Customers' consent in the Ecwid admin.

What a cookie consent banner does on an Ecwid store
Cookies are small files a website saves in the visitor's browser. An Ecwid store uses several kinds. Some are technically required, such as the cart, session and checkout cookies that keep a shopping cart working. Others are for personalization or marketing, such as UTM campaign cookies and Ecwid's own analytics cookies. If you turn on tracking tools like Google Analytics or the Meta (Facebook) Pixel, those services set their own cookies too. Ecwid lists every one, with its purpose and lifetime, on its cookies used in your Ecwid store page.
Privacy rules such as the GDPR in the EU and UK expect a store to ask before it sets cookies that aren't strictly necessary. A consent banner does that: it explains the cookies and lets the visitor choose. With Ecwid's banner, visitors can accept all cookies, accept only some, or decline everything except the essential ones. Ecwid saves the answer in a consent cookie that lasts 365 days, or 180 days for visitors in the EU, UK and Switzerland, so returning shoppers aren't asked on every visit.
What the law requires depends on where your customers are and what your store collects, so treat this as setup help, not legal advice. Ecwid's own GDPR guide for Ecwid stores is a good starting point.
How to turn on the banner on the new Instant Site
The new-generation Instant Site handles the banner in the site editor rather than in store settings.
- In the Ecwid admin, go to Website > Edit Site (or Overview > Manage Instant Site > Edit Site).
- In the editor, open Settings, then Legal & Analytics.
- Turn on Show cookie consent banner.
- Click Publish so the change goes live.
- Open your store in a private or incognito window and check that the banner appears and that each choice works.
Once it's on, the site footer gets a Cookie settings link, so visitors can change their decision later, whether or not they have a customer account. On the new Instant Site the banner text can't be changed at the moment. To turn the banner off completely, switch it off both in the editor and in the admin setting.
How to turn it on for the original Instant Site or an embedded store
If you use the original Instant Site, or you added your Ecwid store to another website, the setting lives in the Ecwid admin. Ecwid's help article on adding a cookie notification covers both cases.
- In the Ecwid admin, go to Settings > Legal.
- In the Customers' consent section, turn on Cookie consent banner. The same switch is also under Settings > General > Tracking & Analytics as the GDPR cookie consent banner.
- To change the wording, edit the store label Notice.TrackingConsent.description in your store's text labels.
- Open the store in a private window and test accept, partial accept and decline.
Here, visitors change their choice later from the My Account page of the store.
If your store is embedded on WordPress, Wix or another site
The Ecwid banner covers the store, not the website around it. Ecwid points out that when a visitor declines tracking in the store, that doesn't switch off tracking on the rest of the website. If the host site runs its own analytics, chat or ad scripts, it needs its own site-wide banner as well, for example a cookie plugin on WordPress.
Wix is a special case. When an Ecwid store sits on a Wix site, the store automatically follows the choice the visitor made in the Wix Cookie Banner, even if you haven't turned on Ecwid's banner. In that setup, set up the banner once in Wix and let the store inherit it. If you also want to collect other permissions on a Wix site, such as newsletter sign-up consent, see these consent popup use cases for Wix sites.
Google Analytics, Meta Pixel and Google Consent Mode
Ecwid only sets Google Analytics and Meta Pixel cookies when you have turned that tracking on yourself, and it gives you an option to ask customers to opt in first. Since its Spring 2024 release, Ecwid's cookie consent banner also supports Google Consent Mode v2, which passes the visitor's choice to Google so ads and measurement respect it for visitors from the EU and UK.
Behind the scenes, Ecwid records one of a few consent states: everything accepted, declined (essential cookies only), analytics only, or personalization only. Developers who add custom tracking can read that state through Ecwid's storefront tools, described in the Ecwid developer docs on cookie consent. For the general process of adding analytics to a site builder, see how to add Google Analytics to a Wix website.
When an app makes sense
The built-in banner is enough for many stores. It has limits, though: you can't edit its text on the new Instant Site, it doesn't scan the store for cookies, and it shows to every visitor wherever they are.
GDPR Cookie Consent Banner by Certified Code is an app on the Ecwid App Market for stores that want more control. Its listing describes customizable consent settings, automatic scanning and detection of cookies, a setup that takes little effort, and the option to show or hide the banner by geolocation so that only EU visitors see it. It is billed outside Ecwid. Whichever you choose, run one banner, not two: a native banner plus an app banner asks visitors the same question twice.
Pair the banner with a privacy or cookie policy
A banner works best when it links to a page that explains your cookies in full. Ecwid has a legal pages feature for this:
- Go to Settings > Legal, then Legal pages and policies, and click Add Page.
- Choose Privacy Policy (or another page type) and rename it to "Cookie Policy" if you want a separate page.
- Write the text in Ecwid's editor, or link to a policy hosted elsewhere with an https:// address.
Ecwid doesn't provide ready-made policy templates, so write your own or use a policy generator. List the cookies from Ecwid's cookie table, plus any added by third-party widgets you've embedded with custom code, such as a Google reviews widget on an Ecwid store.
Troubleshooting
- The banner doesn't appear. You may have already answered it, and the choice is stored in a cookie. Test in a private window. On the new Instant Site, check that the setting is on in the editor and that you published.
- The banner still shows after you turned it off. On the new Instant Site, turn it off in both the editor and the admin.
- Tracking still runs on your WordPress pages after a visitor declines. The store's banner doesn't control the host site. Add a site-wide banner there.
- You can't change the banner text. Editing is available on the original Instant Site and embedded stores through the store label; on the new Instant Site it isn't possible yet. An app is the alternative if the wording matters.
FAQ
Is Ecwid's cookie banner free?
It's a built-in Ecwid setting, not an add-on you install. Ecwid's help article doesn't list it as limited to particular plans.
How long does Ecwid remember a visitor's choice?
The consent cookie lasts 365 days, or 180 days for visitors in the EU, UK and Switzerland.
Can visitors change their mind later?
Yes. On the new Instant Site they use the Cookie settings link in the footer; on the original Instant Site and embedded stores they use the My Account page.
Does the Ecwid banner support Google Consent Mode v2?
Yes. Ecwid added Google Consent Mode v2 support to its cookie consent banner in its Spring 2024 release.
Do I need a banner if I only sell in the US?
Rules differ by country and by US state, and many stores get visitors from the EU or UK anyway. Turning the banner on is low effort; for what your business specifically needs, check with a legal adviser.