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

# Magento new customer bidding in Meta (/docs/bidding/new-customers/magento-meta)

<!-- agent-signals: reading_time_min: 9 · est_tokens: 3294 · updated: 2026-11-17 -->
Related: [Shopify new customer acquisition bidding in Google Ads](/docs/bidding/new-customers/shopify-google-ads.md), [WooCommerce new customer acquisition bidding in Google Ads](/docs/bidding/new-customers/woocommerce-google-ads.md), [Magento new customer acquisition bidding in Google Ads](/docs/bidding/new-customers/magento-google-ads.md), [Lightspeed new customer acquisition bidding in Google Ads](/docs/bidding/new-customers/lightspeed-google-ads.md), [Shopware new customer acquisition bidding in Google Ads](/docs/bidding/new-customers/shopware-google-ads.md), [New customer acquisition bidding in Google Ads on any website with Cloudflare](/docs/bidding/new-customers/cloudflare-google-ads.md)

> Send first orders from Magento 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 Magento 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](/docs/tracking/enhanced-conversions/magento-meta), so Meta can match it to the person who clicked.



* **Store:** [Magento](/docs/platforms/magento). The module, installed once by a developer.
* **Channel:** [Meta](/docs/channels/meta). Your pixel ID and a Conversions API access token.
* **Result:** Meta optimises on first orders through a custom conversion on `PMNewCustomer`.

## Prerequisites

* **Your Magento store view connected**: Magento 2.4, 2.0 or 1.9 / OpenMage, Magento Admin access, the public HTTPS shop address and the **store-view ID**, and a **developer** with access to your server who installs the Product Metrics module (Composer or ZIP), adds the store view's private configuration file and keeps Magento cron running. The connection reads **Active** before you link your property. See [Magento](/docs/platforms/magento).
* **Your additional costs active**, for the profit event: [Costs](/docs/using/costs).

## In the app

### 1. Connect Magento and Meta

Connect your store with [Magento](/docs/platforms/magento). 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](/docs/channels/meta).

Connect your store, step by step:



1. **Open Ecommerce platforms.** Go to **Integrations → Ecommerce platforms** and select **Connect** on **Magento**.

   ![Ecommerce platforms under Integrations, listing the supported store platforms with a Connect button on Magento.](/docs/_assets/5d48e2070be161722db01c31447901650ce87360fe351da6c9b68b7a7e3157ef)

2. **Start the setup.** The Magento page lists three steps: connect your store, install the module and link a property. Select **Connect Magento**.

   ![The Magento page under Integrations → Ecommerce platforms, for Magento 1.9 and 2: 0 of 3 steps done, step 1 Connect your store with the Connect Magento button, then Install the module and Link a property.](/docs/_assets/559ef5687b68660aa29f64600cebe006fdab68ae079bbeeabe7863c7310e5295)

3. **Describe your store.** Choose your **Magento version**, enter the **Store URL** and the numeric **Store view ID**, then select **Create module configuration**. Download the configuration file and share it with your developer privately: it holds a private key.

   ![The Connect Magento dialog: Magento version set to Magento 2, a closed Advanced custom checkout mapping section, empty Store URL and Store view ID fields, and the Cancel and Create module configuration buttons.](/docs/_assets/d99894bd7f20dcd4ce41dfb8621390e9fe26c10fac65787229e88e2beb744927)

4. **Install the module.** Your developer installs the module. Select **Setup guide** and choose your Magento version and installation method: it walks your developer through installing the module and verifying the connection.

   ![The Magento setup guide panel, set to Magento 2.4, Composer and Technical: Download Word document, Magento version tabs 2.4, 2.0 (legacy) and 1.9 / OpenMage, Installation method Composer or ZIP upload, Guide mode Technical or Descriptive, and the start of Before you begin.](/docs/_assets/d83f2d5ced412764df7f8fd7031968b5d460ac70ebb88c3e476574a4d122cf53)

Then add the Meta destination:



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

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

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

   *Example data.*

4. **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.](/docs/_assets/8d13436ae8d16e27fcb8fb31e6e842bead9c4d5d6afdb6dcd0b921af7e846079)

**You should see:** under **Manage Magento**, the connection is **Active** and your property is linked; Meta accepted the test event.

### 2. Check how Magento decides new customers

The Product Metrics module looks for an earlier paid order from the same customer **in the same store view**: by customer account, or by guest email. If it finds one, the customer is **returning**. If not, they are **new**.

* **Per store view.** Each store view is connected on its own, and history is read per store view. A customer who bought in one store view is new in another.
* **History stops at the order.** Only orders placed before this order was created count.
* **Cancelled orders don't count** as earlier orders.
* **No account and no email: unknown.** An order with neither is sent as **Product Metrics - Revenue** and **Product Metrics - Profit** only.

Check a few recent orders before you bid on them. Ask your assistant: "Were my last 20 Magento 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.



> **Warning:** 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.

In the connected store view, check out as a guest with an email that has never ordered there, and pay with your payment provider's test mode. Allow a few minutes for Magento cron to run. 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](/docs/using/check-tracking#4-meta-and-chatgpt-ads).

**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. Magento sends orders through cron, so allow a few minutes after payment. 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.

## Set it up with AI



Paste the prompt 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:** "Set up new customer bidding for my Magento 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."

**Claude Code or Codex:** "Set up new customer bidding for my Magento 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."

## How it works on Magento

|                                  | On Magento                                                                      |
| -------------------------------- | ------------------------------------------------------------------------------- |
| **Where the history comes from** | Same store view, account or guest email                                         |
| **Sent for**                     | The first paid order per customer                                               |
| **Meta event (`pm_purpose`)**    | `PMNewCustomer` (`CUSTOMER_NEW`), `PMNewCustomerProfit` (`CUSTOMER_NEW_PROFIT`) |
| **Value**                        | The order's revenue, or its profit; a loss is sent as 0                         |
| **Refunds**                      | Later refunds don't change the event                                            |
| **Past orders**                  | Not imported; Meta rejects events older than 7 days                             |

## Troubleshooting

| Problem                                                                      | Fix                                                                                                                                                |
| ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| **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 returning**                                | Product 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

### Is a customer new in each Magento store view?

Yes. History is read per store view, so a customer who bought in one store view sends `PMNewCustomer` again on their first order in another.

### 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.

### Are past Magento orders sent to Meta?

No. Meta rejects events older than 7 days, so Product Metrics sends orders from the moment tracking is live.

### What does PMNewCustomerProfit send for a loss-making order?

0. A first order that makes a loss is sent with a profit of 0.

## Where next



* [New customer bidding](/docs/features/new-customer-bidding): the feature on every platform and channel
* [New customer bidding on Magento in Google Ads](/docs/bidding/new-customers/magento-google-ads): the same feature on the other channel
* [Returning customer bidding on Magento in Meta](/docs/bidding/returning-customers/magento-meta): the other side of the split
* [Magento](/docs/platforms/magento): set-up and troubleshooting
* [Meta](/docs/channels/meta): set-up and troubleshooting
* [New and returning customers](/docs/concepts/new-and-returning-customers): How a customer is recognised

On the website: [customer acquisition cost (CAC)](https://www.productmetrics.io/glossary/cac), [CAC to LTV calculator](https://www.productmetrics.io/cac-ltv-calculator), [Product Metrics for Magento](https://www.productmetrics.io/platforms/magento)

Developers: do the same with the [CLI](/docs/cli/commands#destinations) or the [API](/docs/api/destinations/set-meta).
