Custom Audiences in Meta on any website with Cloudflare
Keep six customer lists in Meta as Custom Audiences, filled from your website, from first-time buyers to lapsed customers.
Product Metrics keeps six Custom Audiences (customer lists) in your Meta ad account up to date from your website orders, moving each customer to the right lists after every purchase (for example from First-time buyers to Second-time buyers). Which ad sets use them, and how, stays your choice in Meta: Product Metrics never changes your campaigns or ads.
Your domain on Cloudflare DNS and a Cloudflare sign-in.
Your Meta ad account, connected under Integrations → Meta.
Six Custom Audiences in Meta, updated after every paid order.
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/mcpSetting it up with AI takes one prompt and 60 seconds: paste it into your assistant.
Turn on the six Product Metrics customer lists for my website in Meta and keep them filled. Check my setup status first, walk me through each open step, and give me the link when I need to click something.Turn on the six Product Metrics customer lists for my website in Meta and keep them filled. Check my setup status first, walk me through each open step, and give me the link when I need to click something.Turn on the six Product Metrics customer lists for my website in Meta and keep them filled. 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), and tell me when a step needs me in a browser.Turn on the six Product Metrics customer lists for my website in Meta and keep them filled. 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), and tell me when a step needs me in a browser.Prerequisites
- Workspace admin in Product Metrics, with Pro (Full Signal Tracking).
- Your website on Cloudflare Tracking: its domain on Cloudflare DNS with the record proxied (the orange cloud), a workspace admin who signs in to Cloudflare and approves Product Metrics (that is the whole setup), and the website linked to your property. See Any website (Cloudflare).
- A Meta login that can manage your ad account, to connect Meta and accept Meta’s Custom Audience terms for that ad account. See Meta.
In the app
1. Check your website recognises customers
Place a test order.
Want earlier orders to count? Custom Store / Webhook Integration lets a developer send every order from your backend, including the customer’s order history.
You should see: your test order as the last purchase received.
2. Set consent
In Tracking → Configure consent, choose the banner your website shows: OneTrust, Cookiebot, Usercentrics or Osano. A customer joins a list only when the visitor allowed both ad user data and ad personalisation. Leaving a list never needs consent: Product Metrics always removes a customer who no longer qualifies. See Consent.
Open Tracking
Go to Integrations → Tracking. The checklist shows six steps: start by connecting your store, or use Cloudflare Tracking if you have no store platform.
Follow the next step
Once your store is connected and linked, the checklist opens the next open step. Each step says what it does.
Configure consent
Under Configure consent, pick the cookie consent platform your storefront uses. The storefront script collects nothing until the visitor agrees.
You should see: Configure consent names the banner your website actually shows.
3. Turn on customer lists in the Meta connection
Go to Integrations → Meta. Select Connect Meta and sign in to Meta, or Edit setup if Meta is already connected. In Set up Meta, choose your Ad account, leave Customer lists on (it is on by default) and select Save.
You should see: Meta is set up, with Customer lists reading On.
4. Accept Meta’s Custom Audience terms
Meta only takes customer lists once the ad account has accepted its Custom Audience terms. If Set up Meta says Custom audience terms not accepted, select Accept Meta’s terms and accept them in Meta. The lists start once the ad account accepts them.
You should see: Custom audience terms accepted under the ad account.
5. Check the lists
In Tracking → Meta Conversions API, the Customer lists section shows the six lists (who joins each). Product Metrics creates them in your ad account, or adopts matching ones it already manages.
You should see: each list Created. Terms needed means step 4 is still open.
6. Use the lists in your ad sets
In Meta Ads Manager, the lists appear under Audiences as Product Metrics - [list] - [your store]. For example:
- Exclude All customers from ad sets that should only reach new customers.
- Use Lapsed customers to win back customers who haven’t ordered in six months.
- Build a lookalike audience from High-value customers.
Customers join with their next purchase after the lists exist. The lists fill up from there.
You should see: the audiences in Meta Ads Manager filling up.
How it works on a website
| On a website | |
|---|---|
| Customer | The email address your purchase page passes to Product Metrics |
| Counted orders | Purchases your order confirmation page reports |
| History | The page reports no order history, so a customer’s history starts with the first purchase Product Metrics receives from your website. Refunds and cancellations count. |
| Sent to Meta | Hashed email, phone, first name and last name, from what your purchase page passes to Product Metrics |
| High-value threshold | Profit when every order in the window has known costs, else revenue. Set once 50 customers ordered in the last 365 days; recalculated every 30 days |
Everything is hashed with SHA-256 before it is sent. Product Metrics sets no end date on a Meta membership: a customer stays on a list until they no longer qualify for it. A privacy request that deletes a customer’s data removes them from every list. A refund doesn’t take anyone off a list.
Troubleshooting
| Problem | Fix |
|---|---|
| Terms needed | Accept Meta’s Custom Audience terms for the ad account (Accept the terms in Meta), then check again. |
| Customer lists are off for this Meta connection | Select Turn on in the Meta connection and switch Customer lists on. |
| Meta access needs to be renewed | Go to Integrations → Meta and select Reconnect Meta. |
| Your Meta access does not allow creating audiences in this ad account | Reconnect Meta with a login that can manage the ad account. |
| Meta already has an audience with this name | Rename or remove that audience in Meta, then check again. |
FAQ
Which customer data goes to Meta for the lists?
Hashed email, phone, first name and last name. A customer joins only when the visitor allowed both ad user data and ad personalisation.
Do my customers’ earlier orders count?
No. A customer’s history starts with the first purchase Product Metrics receives from your website. To include earlier orders, a developer can send the customer’s order history through Custom Store / Webhook Integration.
Can I use the same lists in Google Ads and Microsoft Ads?
Yes. Product Metrics keeps the same six lists as Customer Match lists in Google Ads and as customer lists in Microsoft Ads, each set up on its own.
Where next
Every store and ad platform, including Microsoft Ads, and what each error means.
The full store setup.
Purchases and customer data for Meta, server-side.
The same six lists as Google Ads Customer Match lists.
How a customer is recognised.
On the website: repeat purchase rate, pricing