> ## Documentation Index
> Fetch the complete documentation index at: https://www.productmetrics.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://www.productmetrics.io/docs/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://www.productmetrics.io/docs/api/mcp.
> Every agent surface: https://www.productmetrics.io/docs/.well-known/llms-manifest.json

# Customer lists in Microsoft Ads on any website with Cloudflare (/docs/tracking/customer-lists/cloudflare-microsoft-ads)

<!-- agent-signals: reading_time_min: 7 · est_tokens: 2965 · updated: 2026-12-02 -->
Related: [Shopify Customer Match lists in Google Ads](/docs/tracking/customer-lists/shopify-google-ads.md), [WooCommerce Customer Match lists in Google Ads](/docs/tracking/customer-lists/woocommerce-google-ads.md), [Magento Customer Match lists in Google Ads](/docs/tracking/customer-lists/magento-google-ads.md), [Lightspeed Customer Match lists in Google Ads](/docs/tracking/customer-lists/lightspeed-google-ads.md), [Shopware Customer Match lists in Google Ads](/docs/tracking/customer-lists/shopware-google-ads.md), [Customer Match lists in Google Ads on any website with Cloudflare](/docs/tracking/customer-lists/cloudflare-google-ads.md)

> 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](https://about.ads.microsoft.com/en-gb/solutions/audience-targeting/customer-match)). Which campaigns use them, and how, stays your choice in Microsoft Advertising: Product Metrics never changes your campaigns or ads.



* **Store:** [Any website (Cloudflare)](/docs/platforms/cloudflare). Your domain on Cloudflare DNS and a Cloudflare sign-in.
* **Channel:** [Microsoft Ads](/docs/channels/microsoft-ads). Your UET tag saved in Product Metrics, and a Microsoft Advertising sign-in.
* **Result:** Six customer lists in Microsoft Ads, updated after every purchase.

## Set it up with AI



Setting it up with AI takes one prompt and 60 seconds: paste it into your assistant.



First connect the Product Metrics MCP server ([https://www.productmetrics.io/mcp](https://www.productmetrics.io/mcp); see [Connect your assistant](/docs/mcp/connect)).

**Claude or ChatGPT:** "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."

**Claude Code or Codex:** "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](/docs/using/team#1-choose-a-role)** 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)](/docs/platforms/cloudflare).
* **Your website's UET tag saved** under **Tracking → Microsoft Advertising Conversions API**: see [Microsoft Ads conversion tracking on Any website (Cloudflare)](/docs/tracking/server-side/cloudflare-microsoft-ads).
* **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.



> **Note:** 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](/docs/concepts/consent).



1. **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.](/docs/_assets/09a584afb1797a0439b68310c4d6085412eafebba1524c019f42a90f3ed4ea37)

2. **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.](/docs/_assets/b385237058280a34dca53f7f1e42704faa9a8aee59024bd5baafc2211e201e7e)

3. **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.](/docs/_assets/f0a8d61eaa086657ce840c85899df48d5f3a7a52fb6c552710f93b1482b90e72)

**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](/docs/tracking/server-side/cloudflare-microsoft-ads)).

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

### 4. Sign in and link your ad account

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](/docs/features/customer-list#the-six-lists)).

**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                                                                                                                                                           |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **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 Microsoft Ads** | Hashed email only, from what your purchase page passes to Product Metrics. A customer without an email address isn't added                                             |
| **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                    |

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

| Problem                                                                                      | Fix                                                                                               |
| -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| **Save the UET tag for this store first**                                                    | Save the website's UET tag in **Tracking → Microsoft Advertising Conversions API**.               |
| **Accept the Customer Match terms first**                                                    | Tick **I accept the Microsoft Advertising Customer Match terms**, or select **Accept the terms**. |
| **Sign in to Microsoft Advertising again**                                                   | Select **Sign in again**.                                                                         |
| **Your Microsoft Advertising access does not allow creating customer lists in this account** | Sign in with a login that can manage the ad account.                                              |
| **This list was deleted in Microsoft Advertising**                                           | Select **Create 1 missing customer list**.                                                        |
| **The membership duration of this list was changed**                                         | Set it back to 390 days in Microsoft Advertising.                                                 |
| **Microsoft Advertising already has a list with this name**                                  | Rename or remove that list in Microsoft Advertising, then create the lists again.                 |
| **Microsoft Advertising is busy**                                                            | Try 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



* [Customer lists](/docs/features/customer-list): every store and ad platform, and how the lists work
* [Any website (Cloudflare)](/docs/platforms/cloudflare): the full website setup
* [Microsoft Ads](/docs/channels/microsoft-ads): conversions through the UET Conversions API, and the lists
* [Customer lists from your website in Google Ads](/docs/tracking/customer-lists/cloudflare-google-ads): the same six lists as Google Ads Customer Match lists
* [Customer lists from your website in Meta](/docs/tracking/customer-lists/cloudflare-meta): the same six lists as Meta Custom Audiences

On the website: [repeat purchase rate](https://www.productmetrics.io/glossary/repeat-purchase-rate), [pricing](https://www.productmetrics.io/pricing)
