Meta Conversions API
Follow our setup guide to push server-side events from QUANTI: to Meta with the Conversions API
Prerequisites
A Meta Business account with access to the ad account that owns your Pixel(s).
At least one Meta Pixel attached to that ad account.
A source table or view in your data warehouse with one row per event.
To deduplicate with your browser Pixel: the same
event_idstored on both sides.
Authentication
Authentication uses Facebook OAuth 2.0. During setup you are redirected to Meta to authorize QUANTI:.
Requested permissions: ads_management, ads_read, business_management.
Setup Instructions
Authorize your Meta account
Click Continue with Facebook and connect your Meta Business account to let QUANTI: send server-side events to your Pixels.
Select your ad account
Select the Meta ad account that owns the Pixels you want to push events to.
Select your Pixels
Pick one or more Pixels of the selected ad account. Each Pixel becomes a target for Conversions API events: every event is sent to each selected Pixel.
Choose your event types
Pick the events you want to push. Each Meta standard event (Purchase, Lead, AddToCart, Subscribe…) has its own template with the parameters that matter for it. Pick Custom event to push a conversion of your own.
Name your connector
Give the connector a name, then click Create. Source, field mapping — and the event name for Custom event — are configured in the Mapping tab after creation.
Data Model
Each event template reads its own source table (or view). QUANTI: turns every row into one Conversions API event and sends it to every selected Pixel.
Common Fields
Every event template — standard events and Custom event — shares the fields below. Each event type then adds its own event parameters.
event_id
STRING
✅
Unique event identifier (primary key). Used as the deduplication key with the client-side Pixel event — send the same value on both sides.
event_time
TIMESTAMP
✅
UTC timestamp of the event, sent to Meta as a Unix epoch. Must be within 7 days of the upload time.
action_source
STRING
✅
Origin of the event: website, app, physical_store, phone_call, chat, email, system_generated or other. Defaults to website when the column is empty.
event_source_url
STRING
—
URL of the page where the event occurred. Improves matching quality when action_source is website.
email
STRING
—
User email. QUANTI: normalizes it (lowercase, all whitespace removed) then hashes it with SHA-256.
phone
STRING
—
User phone. QUANTI: normalizes it to E.164 (default region FR) then hashes it with SHA-256.
first_name
STRING
—
User first name. Lowercased (accents kept, as Meta expects) and hashed with SHA-256.
last_name
STRING
—
User last name. Lowercased (accents kept, as Meta expects) and hashed with SHA-256.
city
STRING
—
User city. Meta expects it without spaces or punctuation (e.g. newyork): QUANTI: lowercases and hashes it, but does not remove spaces.
state
STRING
—
Two-letter state or region code (e.g. ca). Lowercased and hashed.
postal_code
STRING
—
Postal code — first 5 digits only for the US. Hashed, case preserved.
country_code
STRING
—
Two-letter ISO 3166-1 country code (e.g. fr). Lowercased and hashed.
date_of_birth
STRING
—
Date of birth in YYYYMMDD format. Hashed.
gender
STRING
—
Single letter: f or m. Hashed.
external_id
STRING
—
Your own stable user identifier (CRM ID, customer number…). Hashed. One of the strongest matching signals when the same ID is also sent by the browser Pixel.
client_ip_address
STRING
—
IP address of the browser that triggered the event. Sent unhashed, as required by Meta.
client_user_agent
STRING
—
User agent of the browser that triggered the event. Sent unhashed, as required by Meta.
fbc
STRING
—
Facebook click identifier captured at landing time (cookie _fbc).
fbp
STRING
—
Facebook browser identifier (cookie _fbp).
Event Types
The templates are grouped in two sections: Standard events (one template per Meta standard event, the event name is built in) and Custom event.
The event parameters below come in addition to the common fields. Shared definitions:
value
FLOAT
Monetary value of the event, in the currency below. Meta uses it for value-based optimization and ROAS reporting.
currency
STRING
ISO 4217 currency code (EUR, USD, GBP…). Required as soon as value is set.
content_ids
STRING
Comma-separated list of product / SKU identifiers involved in the event.
content_type
STRING
product or product_group — tells Meta how to interpret the content IDs against your catalog.
content_name
STRING
Name of the page or product associated with the event.
content_category
STRING
Category of the page or product associated with the event.
num_items
INTEGER
Number of items involved in the event (basket size, quantity ordered…).
order_id
STRING
Your order reference. Lets Meta deduplicate repeated uploads of the same transaction.
predicted_ltv
FLOAT
Predicted lifetime value of the user — feeds Meta's value optimization.
search_string
STRING
Search term entered by the user.
status
STRING
Status of the registration or subscription (e.g. completed, trial).
Purchase
Event Purchase — a purchase is completed. This is the event Meta optimizes campaigns on.
value
✅
currency
✅
content_ids
—
content_type
—
content_name
—
content_category
—
num_items
—
order_id
—
Lead
Event Lead — a lead is captured (form submission, B2B lead, off-website conversion…).
value
—
currency
—
content_name
—
content_category
—
predicted_ltv
—
AddPaymentInfo
Event AddPaymentInfo — payment information is entered during checkout.
value
—
currency
—
content_ids
—
content_type
—
content_category
—
num_items
—
AddToCart
Event AddToCart — a product is added to the cart.
value
—
currency
—
content_ids
—
content_type
—
content_name
—
content_category
—
num_items
—
AddToWishlist
Event AddToWishlist — a product is added to a wishlist.
value
—
currency
—
content_ids
—
content_type
—
content_name
—
content_category
—
CompleteRegistration
Event CompleteRegistration — a registration form is completed (account creation, newsletter…).
value
—
currency
—
status
—
content_name
—
Contact
Event Contact — a contact is made with your business (phone, SMS, email, chat…). Common fields only.
CustomizeProduct
Event CustomizeProduct — a product is customized through a configuration tool.
content_ids
—
content_type
—
content_name
—
Donate
Event Donate — a donation is made.
value
—
currency
—
FindLocation
Event FindLocation — a user looks for one of your physical locations.
content_ids
—
content_type
—
content_name
—
InitiateCheckout
Event InitiateCheckout — the checkout process is started.
value
—
currency
—
content_ids
—
content_type
—
content_category
—
num_items
—
PageView
Event PageView — a page is viewed. Common fields only.
Schedule
Event Schedule — an appointment is booked. Common fields only.
Search
Event Search — a search is performed on your site.
search_string
—
value
—
currency
—
content_ids
—
content_type
—
content_category
—
StartTrial
Event StartTrial — a free trial is started.
value
—
currency
—
predicted_ltv
—
SubmitApplication
Event SubmitApplication — an application is submitted (job, program, credit…).
value
—
currency
—
content_name
—
content_category
—
Subscribe
Event Subscribe — a paid subscription is started.
value
—
currency
—
predicted_ltv
—
order_id
—
ViewContent
Event ViewContent — a key page is viewed (product sheet, landing page…).
value
—
currency
—
content_ids
—
content_type
—
content_name
—
content_category
—
Custom event
Sends any server-side event. You choose the event name yourself — either a Meta standard event or a custom event of your own, which you can then turn into a custom conversion in Meta Events Manager.
Two ways to name the event, exclusive of each other:
One event for the whole table — type the event name in the Mapping tab. It applies to every row.
Several events from one table — map the
event_namefield to a column of your source. Each row is sent under its own event name. A row whoseevent_nameis empty is skipped, never sent under another event.
Custom event accepts every common field, plus:
event_name
STRING
—
Name of the Meta event carried by the row. Map it only to push several different events from the same table.
value
FLOAT
—
Monetary value of the event. Required by Meta for value-optimized events (Purchase, Subscribe, StartTrial…).
currency
STRING
—
ISO 4217 currency code. Required as soon as value is set.
content_ids
STRING
—
Comma-separated list of product / SKU identifiers.
content_type
STRING
—
product or product_group.
content_name
STRING
—
Name of the page or product.
content_category
STRING
—
Category of the page or product.
num_items
INTEGER
—
Number of items involved in the event.
order_id
STRING
—
Your order reference.
search_string
STRING
—
Search term — relevant for the Search event.
status
STRING
—
Status of a registration or subscription — relevant for CompleteRegistration and Subscribe.
predicted_ltv
FLOAT
—
Predicted lifetime value — relevant for Lead, Subscribe and StartTrial.
Testing with a test event code
Events accepted by Meta do not show up right away in the Pixel view of Events Manager. To check a setup live, copy the test event code from Events Manager → Test events and paste it into the push's Mapping tab: events then appear in the Test events tab.
Scheduling
Frequency
Daily
—
Sync time
3:00 AM
—
Lookback window
2 days
1, 2 days
Historical load
—
Custom dates, up to 7 days
Notes
Every event is sent to each selected Pixel.
Meta answers with a number of events received, without detail per event: an invalid event is counted as invalid but not identified.
The browser Pixel and the Conversions API deduplicate on
event_id: store the same value on both sides to avoid counting an event twice.
Troubleshooting
Last updated