Skip to content
Install Clickfall
Guides / Measurement

Purchases to Meta’s Conversions API.

How to send purchases to Meta’s Conversions API from a custom site: what to send, how event_id stops double counting, and what needs consent.

Send each purchase from your server to Meta’s Conversions API as a Purchase event, with the value, the currency, a hashed email and an event ID.

Give the browser pixel the same event ID for the same sale. Meta uses it to count that sale once.

What to send

  • event_name: Purchase.
  • event_time: when the order was paid.
  • event_id: your order ID, or any ID that is unique to the sale.
  • action_source: website, with the event source URL.
  • user_data: the customer details Meta uses to match the sale to a person. Meta asks for emails and phone numbers to be normalised and hashed before they are sent.
  • custom_data: the value and the currency.

Add the ad click ID (fbc) and browser ID (fbp) from the visit if you have them. They improve matching.

Stop it counting twice

If the pixel and your server both send the same sale, Meta can drop the second one. For that, both events need the same event name and the same event ID. Meta’s documentation says it deduplicates events that arrive from both sources within 48 hours.

The easy mistake is a pixel event with no ID, or an ID that differs between the two. Then the sale counts twice.

Where to send from

Send from the place the sale is confirmed: your payment provider’s webhook, or your order system. Not from the thank-you page. A page can be blocked, closed or never reached.

What needs consent

In the UK and the EU, sending a visitor’s data to Meta for ads still needs a yes. Counting your own visits is different. Send the event only if the visitor agreed to ads, and keep a record that they did.

Check it works

Use the test events tool in Meta’s Events Manager. Place a test order and look for one Purchase, from both sources, shown as deduplicated.

Where Clickfall fits

Clickfall is one option. It records the sale from your payments, checks the visitor’s answer, and sends the event with a receipt for each send. Counting and Stripe sales are live. Sending to Meta is in build. Meta and Clickfall.

This explains the law in plain English. It isn't legal advice.

Sources

  1. Meta for Developers: Conversions API
  2. Meta for Developers: Handling duplicate Pixel and Conversions API events
  3. ICO: Guidance on the use of storage and access technologies

Every source was checked on 7 Nov 2026. Spotted something out of date? Tell us and we'll correct it.

About the author

Seth Leech · Founder, Clickfall

Draft. The author's bio and photo go here before launch, in their own words.