Skip to content
Meta

WooCommerce new customer bidding in Meta

Send first orders from WooCommerce to Meta as PMNewCustomer through the Meta Conversions API with Advanced Matching, and optimise a campaign on a custom conversion.

For a customer’s first paid WooCommerce order, Product Metrics sends the custom events PMNewCustomer (the order’s revenue) and PMNewCustomerProfit (its profit) to your pixel through the Meta Conversions API, once per customer. Meta optimises on them through a custom conversion, which you create once. Each event carries hashed customer data for Advanced Matching, so Meta can match it to the person who clicked.

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.

Set up new customer bidding for my WooCommerce store in Meta with Product Metrics. Check my setup status first, walk me through each open step, and give me the link when I need to click something.
Set up new customer bidding for my WooCommerce store in Meta with Product Metrics. Check my setup status first, walk me through each open step, and give me the link when I need to click something.
Set up new customer bidding for my WooCommerce store in Meta with Product Metrics. 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.
Set up new customer bidding for my WooCommerce store in Meta with Product Metrics. 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

  • Your WooCommerce store connected: a WordPress administrator login, WordPress 6.4+ and PHP 8.1+ with WP-Cron running, and the shop at the root of an HTTPS domain (no subfolder, no custom port). You install the Product Metrics plugin, connect it with a one-time setup token, choose your paid order statuses and link the store to your property. See WooCommerce.
  • Your additional costs active, for the profit event: Costs.

In the app

1. Connect WooCommerce and Meta

Connect your store with WooCommerce. Then, under Tracking → Meta Conversions API → Connect Meta, add your Pixel or Dataset ID and a Conversions API access token from Events Manager, and send a test event: Meta.

Connect your store, step by step:

Open Ecommerce platforms

Go to Integrations → Ecommerce platforms and select Connect on WooCommerce.

Ecommerce platforms under Integrations, listing the supported store platforms with a Connect button on WooCommerce.

Start the setup

The WooCommerce page lists three steps: connect your store, install and connect the plugin, and link a property. Select Connect WooCommerce.

The WooCommerce page under Integrations → Ecommerce platforms: 0 of 3 steps done, step 1 Connect your store with the Connect WooCommerce button, then Install and connect the plugin and Link a property.

Enter your store URL

Enter your WooCommerce shop address, starting with https://, and select Create connection.

The Connect WooCommerce dialog: an empty store URL field and the Cancel and Create connection buttons.

Install and pair the plugin

Download the plugin ZIP and install it in WordPress Admin, then paste the one-time setup token from this page under WooCommerce → Product Metrics and select Connect store. The page updates by itself once WooCommerce confirms the connection.

Follow the setup guide

Select Setup guide for every step in WordPress and WooCommerce, with screenshots. You can also download it as a Word document.

The WooCommerce setup guide panel in Product Metrics, with a Download Word document button and the steps in WordPress and WooCommerce.

Link a property

With the store connected, choose which Product Metrics property receives its orders and select Link property. Then authorise Google Ads conversions.

The WooCommerce page under Integrations → Ecommerce platforms for the example store northwind-outfitters.example, Active, 2 of 3 steps done: Connect your store and Install and connect the plugin are done, and Link a property is next, with no properties linked yet and a Select a property list under Link property.
Example data.

Then add the Meta destination:

Open Tracking

Go to Integrations → Tracking. Under Destinations, select Meta Conversions API.

Open the Meta panel

The panel lists the events Product Metrics sends and what you need: a Pixel or Dataset ID and a Conversions API access token from Events Manager. Select Connect Meta.

The Meta Conversions API panel, Not configured: Product Metrics sends AddToCart, InitiateCheckout and Purchase from the server to your Meta pixel, with hashed customer data when the shopper consented to marketing, plus revenue, profit, new and returning customer, and LTV events, which also need analytics consent. You need a Pixel or Dataset ID and a Conversions API access token from Events Manager. A Connect Meta button.

Add the Meta destination

Choose the store, enter the Pixel or Dataset ID and the Access token, and optionally a Test event code. Keep Send events to Meta on and select Add destination.

The Add Meta destination dialog for the example store Northwind Outfitters: empty Pixel or Dataset ID, Access token and Test event code (optional) fields, each with where to find it in Events Manager, the Send events to Meta switch on, and the Cancel and Add destination buttons.
Example data.

Create custom conversions in Meta

In Events Manager, create a custom conversion for each Product Metrics event you want to measure, using the event names listed in the panel.

The Set up custom conversions in Meta section of the Meta Conversions API panel: the steps in Events Manager, then a table of each conversion and its event: New customer revenue PMNewCustomer, New customer profit PMNewCustomerProfit, Returning customer revenue PMReturningCustomer, Returning customer profit PMReturningCustomerProfit and Order revenue PMOrderRevenue.

You should see: the plugin says Store connected successfully. and Webhooks: 2 of 2 active; Meta accepted the test event.

2. Check how WooCommerce decides new customers

Product Metrics looks for an earlier paid order from the same customer in WooCommerce: by customer account, or by billing email for guest orders. If it finds one, the customer is returning. If not, they are new.

  • Paid means the statuses you chose. Only orders in the statuses selected under Paid order statuses (usually Processing and Completed) are sent, and only those count as earlier orders.
  • Guests are matched by billing email. A guest who orders twice with the same billing email is returning on the second order.
  • Unpaid, failed and cancelled orders don’t count, as long as you left those statuses unselected.

Check a few recent orders before you bid on them. Ask your assistant: “Were my last 20 WooCommerce orders from new or returning customers?”

You should see: each order counted as new, returning or unknown.

3. Create the custom conversion

This step happens in Meta Events Manager.

  1. Choose Custom conversions → Create custom conversion and select your pixel.
  2. Choose the event PMNewCustomer (or PMNewCustomerProfit to optimise on profit).
  3. Add the event parameter rule pm_purpose equals CUSTOMER_NEW (or CUSTOMER_NEW_PROFIT).
  4. Choose Purchase as the category. Use the event’s value and currency; leave the fixed conversion value unset.

Meta lists an event only after it has received it once. Custom events need marketing and analytics consent, so place a test order with both accepted in OneTrust, Cookiebot, Usercentrics or Osano (clear any full-page cache after changing it).

Check out as a guest with a billing email that has never ordered from your store, and pay so the order reaches one of your paid statuses. Use a test event code to see it under Test events, then remove the code.

You should see: the custom conversion is listed under Custom conversions in Events Manager.

4. Optimise your campaign on it

In your sales campaign, choose the new customer custom conversion as the conversion event and optimise on its value. Meta then gives buyers who look like first-time customers higher priority.

You should see: the ad set’s conversion event is your new customer custom conversion.

5. Check it works

Open Tracking → Meta Conversions API, then Events Manager: Check tracking works.

You should see: Meta destination saved, and Sending reads On without “Test mode”. The order check from step 2 shows your test order as new. With Verify with next paid order on, the plugin’s Live order delivery reads Verified once the order arrives. In Events Manager, PMNewCustomer arrives with pm_purpose = CUSTOMER_NEW and customer_type = NEW, and the custom conversion shows activity after the next first order.

How it works on WooCommerce

On WooCommerce
Where the history comes fromAccount or guest billing email, paid statuses only
Sent forThe first paid order per customer
Meta event (pm_purpose)PMNewCustomer (CUSTOMER_NEW), PMNewCustomerProfit (CUSTOMER_NEW_PROFIT)
ValueThe order’s revenue, or its profit; a loss is sent as 0
RefundsLater refunds don’t change the event
Past ordersNot imported; Meta rejects events older than 7 days

Troubleshooting

ProblemFix
Meta says “The custom conversion for this event is not set up correctly”Check the event name and the pm_purpose rule of the custom conversion.
Orders count as neither new nor returningProduct Metrics could not tell from the order history (step 2). Those orders still go to Meta as revenue and profit, just not as new or returning.

FAQ

Are WooCommerce guest orders sent as PMNewCustomer?

Yes, a guest’s first paid order is. Guests are matched by billing email, so a second order with the same billing email is returning.

Why can’t I select PMNewCustomer in Events Manager yet?

Meta lists PMNewCustomer only after it has received it once, and custom events need marketing and analytics consent. Place a test order with both accepted in OneTrust, Cookiebot, Usercentrics or Osano, and clear any full-page cache after changing it.

Which WooCommerce orders reach Meta?

Only orders in the statuses you selected under Paid order statuses, usually Processing and Completed.

Does a refund remove the PMNewCustomer event?

No. A later refund doesn’t change PMNewCustomer or PMNewCustomerProfit in Meta.

Where next

On the website: customer acquisition cost (CAC), CAC to LTV calculator, Product Metrics for WooCommerce

Developers: do the same with the CLI or the API.