Skip to content
Microsoft Ads

Customer lists in Microsoft Ads on any website with Cloudflare

Keep six customer lists in Microsoft Ads (Customer Match), filled from your website, from first-time buyers to lapsed customers.

Product Metrics keeps six customer lists in your Microsoft Advertising 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). Microsoft matches them on hashed email (Microsoft’s Customer Match). Which campaigns use them, and how, stays your choice in Microsoft Advertising: Product Metrics never changes your campaigns or ads.

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 →

Setting 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 Microsoft Ads 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 Microsoft Ads 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 Microsoft Ads 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 Microsoft Ads 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.
  • 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).
  • Your website’s UET tag saved under Tracking → Microsoft Advertising Conversions API: see Microsoft Ads conversion tracking on Any website (Cloudflare).
  • A Microsoft Advertising login (a Microsoft account, or a Google account that signs in to Microsoft Advertising) that can manage your ad account, to link it and accept the Microsoft Advertising Customer Match terms.

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.

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.

Tracking in Product Metrics with the Complete your tracking setup checklist of six steps, starting with Connect your store.

Follow the next step

Once your store is connected and linked, the checklist opens the next open step. Each step says what it does.

The Complete your tracking setup checklist in Tracking: 3 of 6 essential steps completed, with Connect your store, Link the store to this property and Install storefront tracking ticked, and Configure consent open as step 4 with the consent platform still Not configured.

Configure consent

Under Configure consent, pick the cookie consent platform your storefront uses. The storefront script collects nothing until the visitor agrees.

The Consent management panel in Tracking: the storefront script collects nothing until your cookie banner says the visitor agreed, a Not configured status, and the Consent platform dropdown.

You should see: Configure consent names the banner your website actually shows.

3. Open the Microsoft Advertising destination

Go to Tracking → Microsoft Advertising Conversions API. The Customer lists section appears once your website’s UET tag is saved there. If it isn’t yet, select Connect Microsoft Advertising, fill in UET tag ID and Conversions API token, and select Add destination (the full steps).

You should see: a Customer lists section under the destination.

In Customer lists, select Sign in with Microsoft, or Sign in with Google if you sign in to Microsoft Advertising with a Google account, and approve access. Then choose your Ad account and select Link account.

You should see: Signed in to Microsoft Advertising, with your ad account linked.

5. Accept the terms and create the lists

Microsoft Advertising takes customer data only once the account accepts its Customer Match terms. Tick I accept the Microsoft Advertising Customer Match terms and select Create 6 customer lists (who joins each).

You should see: each list Created, with its Audience ID, Search size and Audience Network size. A size Microsoft hasn’t counted yet reads Building (up to 48 h).

6. Use the lists in your campaigns

In Microsoft Advertising, the lists appear with your audiences as Product Metrics - [list] - [your store], ready for Search, Shopping and Audience campaigns. For example:

  • Exclude All customers from campaigns that should only reach new customers.
  • Use Lapsed customers to win back customers who haven’t ordered in six months.
  • Give High-value customers higher priority.

Your existing customers are added as well, and every purchase keeps the lists up to date. Microsoft Advertising uses a list once it has 300 members.

You should see: the sizes in Customer lists growing.

How it works on a website

On a website
CustomerThe email address your purchase page passes to Product Metrics
Counted ordersPurchases your order confirmation page reports
HistoryThe 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 Microsoft AdsHashed email only, from what your purchase page passes to Product Metrics. A customer without an email address isn’t added
High-value thresholdProfit 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

Each email is hashed with SHA-256 before it is sent. A membership lasts 390 days, the longest Microsoft allows. A privacy request that deletes a customer’s data removes them from every list. A refund doesn’t take anyone off a list.

Troubleshooting

ProblemFix
Save the UET tag for this store firstSave the website’s UET tag in Tracking → Microsoft Advertising Conversions API.
Accept the Customer Match terms firstTick I accept the Microsoft Advertising Customer Match terms, or select Accept the terms.
Sign in to Microsoft Advertising againSelect Sign in again.
Your Microsoft Advertising access does not allow creating customer lists in this accountSign in with a login that can manage the ad account.
This list was deleted in Microsoft AdvertisingSelect Create 1 missing customer list.
The membership duration of this list was changedSet it back to 390 days in Microsoft Advertising.
Microsoft Advertising already has a list with this nameRename or remove that list in Microsoft Advertising, then create the lists again.
Microsoft Advertising is busyTry again in a minute.

FAQ

Which customer data goes to Microsoft Ads for the lists?

Only the hashed email address. 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 Meta?

Yes. Product Metrics keeps the same six lists as Customer Match lists in Google Ads and as Custom Audiences in Meta, each set up on its own.

Where next

On the website: repeat purchase rate, pricing