Choose your consent banner
Tell Product Metrics which cookie banner your store shows, so tracking follows each visitor's choice.
Product Metrics’ storefront script reads the visitor’s choice from one consent banner you name, per store. Name the wrong one, or leave it unset on a store that shows a banner, and Product Metrics can’t read the choice and treats it as not given.
The choice itself is made in the app: an assistant can read it back, not change it.
Prerequisites
- A connected store that is live: the setting unlocks once the store is.
- Write access to Tracking (editor or admin): see Before you start.
Set it up with AI
Connect your assistant
First time? Add the Product Metrics MCP server to your assistant, then paste the prompt below.
In Claude, choose Add custom connector; in ChatGPT, Settings → Apps & Connectors. Paste this URL:
https://www.productmetrics.io/mcpClaude Code: run this in your terminal.
claude mcp add --transport http product-metrics https://www.productmetrics.io/mcpPaste the prompt into your assistant.
Check which consent banner Product Metrics follows on my store. Ask me which banner my store shows, and tell me exactly what to choose in Tracking → Configure consent.Check which consent banner Product Metrics follows on my store. Ask me which banner my store shows, and tell me exactly what to choose in Tracking → Configure consent.Check which consent banner Product Metrics follows on each of my stores, and tell me what to choose in Tracking → Configure consent for the banner each store shows. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first).Check which consent banner Product Metrics follows on each of my stores, and tell me what to choose in Tracking → Configure consent for the banner each store shows. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first).In the app
1. Open Configure consent
Open Tracking. Under Complete your tracking setup, open Configure consent.
2. Choose the banner
Choose the banner your store shows: Shopify Customer Privacy, OneTrust, Cookiebot, Usercentrics or Osano. Not configured means none of these.
| Platform | Choose |
|---|---|
| Shopify | Shopify Customer Privacy, unless your store shows one of the four other banners |
| WooCommerce | Your banner. After changing it, clear any full-page cache on your site |
| Magento | Your banner. Magento’s cookie restriction notice does not count. Another banner needs a developer: see Magento |
| Lightspeed | Your banner |
| Shopware | Not configured to use Shopware’s own cookie manager, or your banner if it is one of the four |
| Cloudflare | Your banner |
You should see Configure consent name the banner your store shows.
What each choice lets through
| Visitor allowed | Google Ads | Meta | Customer lists |
|---|---|---|---|
| Nothing | Order sent without customer data or click | Nothing sent | Not added |
| Ad user data | Order with hashed customer data | Events sent (custom events also need analytics) | Not added |
| Ad user data + ad storage | Order with customer data and the ad click | Events plus Meta’s browser IDs | |
| Ad user data + ad personalisation | Added to Google Ads lists |
- A visitor who withdraws consent after checkout: the order isn’t sent.
- Meta and ChatGPT Ads have no consent mode, so nothing goes to them without marketing consent (ad user data).
- After a privacy request erases a shopper’s data, their unsent events are never sent.
ChatGPT Ads
For ChatGPT Ads, Product Metrics applies the choice per piece of data:
| Visitor allowed | What OpenAI gets |
|---|---|
| Ad user data (marketing) | The event at all, with hashed customer data, IP address and user agent. Without it, nothing is sent. |
| Analytics storage | Also needed for the revenue, profit and LTV events |
| Ad storage | OpenAI’s click references. Without it, neither cookie is written. |
| Ad personalisation | Without it, the event is sent marked as opted out, so OpenAI doesn’t use it for personalisation |
Where next
- Consent: the concept
- Check tracking works
- Google Ads and Meta
- Overview
Developers: read the chosen banner with the CLI or the API, and set it with productmetrics tracking update-installation-features --cmp-adapter … (API).