Insights · Automation

Meta Conversions API and first-party data: a strategy for compliant tracking.

A first-party data strategy for the Meta Conversions API means sending Meta the conversions your own systems record — orders, bookings, qualified leads — from your server, with hashed customer details you collected yourself and the consent state attached, alongside the Meta Pixel and deduplicated with a shared event ID. Below: what Meta's documentation requires, the 2025 changes to Limited Data Use in US states, the setup in order, an example event, and the pitfalls.

Conversions API

What
Server-to-Meta events (web, app, CRM, store, chat)
With the pixel
Same events both ways, deduplicated
Dedup key
event_name + event_id, within 48 hours
Late events
Up to 7 days old (store sales: 62 days)
Customer data
E-mail, phone, names hashed (SHA256)

What “first-party data” means for Meta ads

First-party data is what your business collects directly from its customers: the e-mail entered at checkout, the phone number on a booking, the order total in your database, the lead status in your CRM. The Conversions API is the channel Meta provides to send those facts from your server to its systems, so ads are measured and optimised on the conversions you actually recorded rather than only on what a browser script managed to report.

Meta does not ask you to choose between the two. Its documentation recommends a “redundant setup”: the Meta Pixel in the browser and the Conversions API on the server, sharing the same events, with a deduplication key so each purchase is counted once.

Published rules

What Meta's documentation says, in one table

Checked on Meta for Developers on 8 November 2026.

TopicRule
EndpointPOST to /{PIXEL_ID}/events on the Graph API, with an access token
Batch sizeUp to 1,000 events per request; Meta recommends sending each event as soon as it occurs, ideally within an hour
Event ageevent_time can be up to 7 days in the past, or the whole request is rejected; physical_store events within 62 days
DeduplicationSame event_name and event_id from pixel and server; events received within 48 hours of the first one are discarded
Fallback dedupevent_name with fbp and/or external_id — only works when the browser event arrives first
Hashed fieldsem, ph, fn, ln, date of birth, city, state, zip, country: normalised then SHA256-hashed; external_id hashing recommended
Not hashedclient_ip_address, client_user_agent, fbc, fbp, lead_id, ctwa_clid
Event sourcesaction_source such as website, app, phone_call, chat, physical_store, system_generated, business_messaging
What changed in 2025

Limited Data Use: the US states added in 2025

Limited Data Use (LDU) is Meta's data processing option for US state privacy laws. On the Conversions API it is a flag on each event. Meta's list now covers 14 states; these joined in 2025.

StateLDU in effect sinceEffect for your events
Minnesota2 June 2025Events flagged LDU for residents are processed under Limited Data Use
Maryland9 September 2025Same
Rhode Island17 November 2025Same
Setup

The strategy, in six steps

  1. 01

    1. List the conversions you own

    Write down the business events your systems already record with certainty: Purchase in the order database, Lead when a form is saved, Schedule when a booking is confirmed. These are your server events; anything only the browser knows (page views, scroll) can stay with the pixel.

  2. 02

    2. Give every event one ID

    Generate the event_id when the action happens (the order number works) and use it in both the pixel call and the server call, with the same event_name. Without it, Meta counts the purchase twice or has to fall back on fbp and external_id.

  3. 03

    3. Collect customer details where they are given

    Take the e-mail and phone the customer typed at checkout or booking, normalise them as Meta describes (lowercase, trimmed, phone with country code, no leading zeros), hash them with SHA256 on your server, and add your own customer ID as external_id. Pass fbp and fbc as they are, unhashed.

  4. 04

    4. Attach consent and the privacy flags

    Store the consent choice with the order. If the visitor refused advertising cookies where your law requires consent, do not send the event; for US traffic, add data_processing_options ["LDU"] with the country and state values, or 0 and 0 to let Meta geolocate.

  5. 05

    5. Send in real time, retry within the window

    Send each event when the order is paid, not in a nightly file. If Meta is unreachable, queue and retry: an event older than 7 days makes the whole request fail.

  6. 06

    6. Test before you go live

    Send first with a test_event_code and check the Test Events tool in Events Manager: the pixel and server events for one test order should show the same event_name and event_id. Then remove the code from the production payload.

Example

One order, from checkout to Meta

A customer of an online furniture shop clicks an Instagram ad and buys a lamp. On the thank-you page the pixel fires Purchase with eventID set to the order number. At the same moment, the shop's server — on the payment provider's “paid” event — sends Purchase to the Conversions API with the same order number as event_id, action_source website, the event_source_url of the checkout page, the order value and currency, the hashed e-mail and phone from the order, the shop's customer ID as external_id, and the fbp and fbc values read from the request. Meta keeps the first of the two and discards the duplicate.

If the customer's browser blocked the pixel, the server event alone arrives and the sale is still credited. If they had refused advertising cookies, the server sends nothing for that order — the consent decision travels with the data, not with the script. The same pattern works for sales made in a chat: a WhatsApp order from a Click-to-WhatsApp ad is sent with action_source business_messaging and the ctwa_clid, as described in our WhatsApp advertising guide.

Pitfalls to avoid

  • Different event names on each side. “Purchase” from the pixel and “purchase_completed” from the server are two events to Meta, and nothing is deduplicated.
  • Hashing what must stay readable. fbp, fbc, the IP address and the user agent are sent unhashed; hashing them breaks matching.
  • Hashing before normalising. “ Jane@Example.com” and “jane@example.com” give two different hashes; trim and lowercase first.
  • Treating the server as a way round consent. Moving the call from the browser to the server does not change what the customer agreed to.
  • Leaving test_event_code in production. Meta's documentation says to remove it from the production payload.
  • Nightly batches. Meta recommends sending events as they happen, and rejects any request containing an event older than 7 days.

Sources

About this article

Written by the Takat AI team from the projects we build and run. Facts about third-party services are checked against their official documentation on the date shown; figures come from the sources listed. Last reviewed .

FAQ

Frequently asked questions

  • Do I still need the Meta Pixel if I use the Conversions API?

    Meta recommends using both: the pixel in the browser and the Conversions API on the server, sending the same events with the same event_name and event_id so Meta can deduplicate them.

  • How does Meta deduplicate pixel and Conversions API events?

    It matches the pixel's event and eventID with the server's event_name and event_id. If the same pair arrives within 48 hours of the first one, the later events are discarded. Without an event ID, Meta can compare event_name with fbp and/or external_id, but only when the browser event arrives first.

  • Which customer data must be hashed for the Conversions API?

    E-mail, phone, first and last name, date of birth, gender, city, state, zip code and country must be normalised and hashed with SHA256; hashing external_id is recommended. The IP address, user agent, fbc, fbp, lead_id and ctwa_clid are sent unhashed.

  • How late can I send a conversion to the Conversions API?

    The event_time can be up to 7 days before you send the event; a request containing an older event is rejected entirely. Physical store transactions should be uploaded within 62 days. Meta recommends sending events as soon as they occur, ideally within an hour.

  • What changed for Conversions API privacy settings in 2025?

    Meta's Limited Data Use option, flagged on each event with data_processing_options, was extended to Minnesota from 2 June 2025, Maryland from 9 September 2025 and Rhode Island from 17 November 2025.

Tracking that counts your own sales?

We set up the pixel and the Conversions API on your shop, with consent wired in.