Skip to content
Using Product Metrics

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.

You need

A live, connected store, and editor or admin access.

In the app

Tracking → Configure consent

Result

Tracking follows each visitor’s choice in the banner you name.

Prerequisites

In the app

Open Tracking. Under Complete your tracking setup, open Configure consent.

The Configure consent step with the consent platform list open: Not configured, Shopify Customer Privacy, OneTrust, Cookiebot, Usercentrics and Osano.The Configure consent step with the consent platform list open: Not configured, Shopify Customer Privacy, OneTrust, Cookiebot, Usercentrics and Osano.
Configure consent: choose the banner your store shows visitors.

2. Choose the banner

Choose the banner your store shows: Shopify Customer Privacy, OneTrust, Cookiebot, Usercentrics or Osano. Not configured means none of these.

PlatformChoose
ShopifyShopify Customer Privacy, unless your store shows one of the four other banners
WooCommerceYour banner. After changing it, clear any full-page cache on your site
MagentoYour banner. Magento’s cookie restriction notice does not count. Another banner needs a developer: see Magento
LightspeedYour banner
ShopwareNot configured to use Shopware’s own cookie manager, or your banner if it is one of the four
CloudflareYour banner

You should see: Configure consent name the banner your store shows.

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/mcp

Claude Code: run this in your terminal.

claude mcp add --transport http product-metrics https://www.productmetrics.io/mcp

CodexAll clients and details →

Paste 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).

What each choice lets through

Visitor allowedGoogle AdsMetaCustomer lists
NothingOrder sent without customer data or clickNothing sentNot added
Ad user dataOrder with hashed customer data (profit, customer type and LTV conversions also need analytics)Events sent (custom events also need analytics)Not added
Ad user data + ad storageOrder with customer data and the ad clickEvents plus Meta’s browser IDs
Ad user data + ad personalisationAdded to Google Ads lists
  • A visitor who withdraws consent after checkout: the order isn’t sent.
  • Google Ads gets the profit, new and returning customer and LTV conversions only with analytics as well as ad user data; otherwise only Product Metrics - Revenue.
  • 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 allowedWhat 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 storageAlso needed for the revenue, profit and LTV events
Ad storageOpenAI’s click references. Without it, neither cookie is written.
Ad personalisationWithout it, the event is sent marked as opted out, so OpenAI doesn’t use it for personalisation

Where next

Developers: read the chosen banner with the CLI or the API, and set it with productmetrics tracking update-installation-features --cmp-adapter … (API).