Meta Conversion API
Use Meta Conversion API when Nitoriq should send selected conversion events server-side to a Meta Pixel. The browser pixel and Conversion API can work together, but this article focuses on the server-side destination you create in Nitoriq.
In Meta, create or confirm the pixel in Meta Events Manager . Meta’s pixel setup guide explains where to create a pixel and where to find the Pixel ID. Meta’s Conversions API guide and parameter reference explain the event fields Meta can receive.
Before you start
- Validate the click and conversion in Nitoriq first.
- Create or confirm the Meta Pixel in Meta Events Manager.
- Copy the Meta
Pixel IDfrom the correct data source. - Generate or copy a Meta access token that can send events to that pixel.
- Confirm the traffic source is passing the click or external identifier you want Meta to use for matching.
- Decide which Nitoriq event types should be sent to Meta.
- Decide which traffic sources or campaigns should be allowed to send events.
Create a Meta Conversion API destination
Open Conversion API
Go to Integrations, then select the Conversion API tab.
If you already have Conversion API destinations, use this table to confirm status, edit the saved destination, or run a delivery test.
Choose Meta Ads
Click Add integration, then choose Meta Ads.
Name the destination
Use a name that identifies the pixel and event goal, such as
Meta Pixel - Purchase Events or Meta Pixel - Lead Events.
Confirm the Workspace field before continuing.
Select or create the Meta Pixel
In Meta destination, choose an existing Meta Pixel resource or click
New pixel.
The Meta Pixel resource is reusable. It stores the Pixel ID and the access token connection Nitoriq will use when it sends events.
Create the Meta Pixel resource
When creating a new pixel resource, enter a clear Pixel name and the Meta
Pixel ID.
Use the Pixel ID from Meta Events Manager, not the business ID, ad account ID, or dataset name.
Create or select the Meta access token
If the pixel does not already have a saved connection, click New connection
from the Meta access token field.
Name the connection clearly, such as Meta production token. The optional
external account fields are useful when your team wants to record which Meta
business, ad account, or user the token belongs to. Paste the access token into
Access token, then create the connection.
Select event types
In Event Types, choose which Nitoriq conversions Meta should receive.
Default Conversion is the base conversion event. Custom conversions are
specific outcomes you created in Nitoriq, usually from the ct value on the
conversion. Select only the outcomes that Meta should optimize or report on.
Configure Meta delivery settings
In Action Source, choose where the conversion happened. Most Nitoriq web
conversion destinations should use Website.
For website events, Event Source URL is required. The default {{page_url}}
token sends the page URL associated with the conversion. Use that default when
Nitoriq has the page URL in the event context.
Map Nitoriq events to Meta event names
In Event Type Mapping, map each selected Nitoriq event to the Meta event name
Meta should receive.
Common mappings are Purchase for paid conversions, Lead for lead capture,
CompleteRegistration for signups, and Subscribe for subscription events.
Use a custom Meta event name only when your Meta reporting and optimization are
already built around that custom event.
Review Event Data Configuration
Event Data Configuration controls the Meta parameters Nitoriq includes in the
server-side event payload.
Each row has two sides. Facebook Parameters is the Meta field being sent.
Nitoriq Token is the value Nitoriq will place into that field when the event
is delivered. The default rows are locked because they are the core matching
signals Nitoriq sends to Meta by default.
Save and attach traffic sources
Save the destination, then select the Traffic Sources or Campaigns that are
allowed to send events to Meta.
Start with a narrow scope for the first test. Expand the scope only after Meta accepts the test event.
Send a test conversion
Trigger a known click and conversion in Nitoriq.
Inspect Nitoriq delivery status, then open Meta Events Manager and check the pixel’s diagnostics or test events. Confirm the event is accepted by Meta and that the original conversion still appears in Nitoriq reports.
What Nitoriq Sends To Meta
When the destination runs, Nitoriq builds a Meta server-side event from the conversion it recorded. The important parts are:
event_name: comes fromEvent Type Mappingaction_source: comes fromAction Sourceevent_source_url: comes fromEvent Source URLevent_time: comes from the Nitoriq conversion timeevent_id: uses the Nitoriq transaction ID token by defaultuser_data: comes from Event Data Configuration rows whose Meta parameters are user matching fieldscustom_data: comes from Event Data Configuration rows whose Meta parameters describe value, content, search, order, or business context
The Pixel ID and access token are not event fields. They decide which Meta Pixel receives the event and whether Meta accepts the request.
Event Data Configuration
Event Data Configuration is the part of the setup that decides which conversion details Nitoriq sends to Meta.
Think of each row as a sentence: send this Meta field using this Nitoriq value.
For example, the default row IP Address -> {{ip}} means Nitoriq sends the
visitor IP from the conversion context to Meta’s client_ip_address field.
Only choose tokens that Nitoriq actually records for the event. If a value is not captured in Nitoriq, sending that parameter will produce an empty or unhelpful signal. If you need a custom value, capture it first as a tracking field or conversion parameter, then map that token here.
Default rows
Nitoriq sends these Event Data Configuration rows by default:
| Nitoriq label | Meta key | Default token | Sent as | Why it matters |
|---|---|---|---|---|
| Click ID | fbc | {{external_id}} | user_data | Helps Meta connect the server event to click context when the external ID contains the right click identifier. |
| Country | country | {{country_code}} | user_data | Adds country context for matching and diagnostics. |
| State | st | {{region}} | user_data | Adds regional context when Nitoriq has it. |
| City | ct | {{city}} | user_data | Adds city context when Nitoriq has it. |
| IP Address | client_ip_address | {{ip}} | user_data | Helps Meta match the server event to the visitor connection. |
| Client User Agent | client_user_agent | {{user_agent}} | user_data | Helps Meta match the event to the visitor’s browser or device. |
| External ID | external_id | {{visitor_id}} | user_data | Sends your stable click, visitor, or external reference identifier. |
Optional Meta parameters
You can click Add Configuration to send more Meta parameters. The parameters
available in Nitoriq are:
| Nitoriq label | Meta key | Sent as | What Nitoriq sends |
|---|---|---|---|
| Click ID | fbc | user_data | Meta’s click ID. Nitoriq sends the fbclid captured on the click in the fb.1.<time>.<fbclid> form Meta expects. Not hashed. |
| Browser ID | fbp | user_data | The _fbp cookie from the visitor’s browser, when your site captures it into a token. Not hashed. |
| IP Address | client_ip_address | user_data | The visitor’s IP address. Not hashed. |
| Client User Agent | client_user_agent | user_data | The visitor’s browser user-agent string. Meta requires it for website events. Not hashed. |
| External ID | external_id | user_data | Your own stable identifier for the person, the same on every event from them. Defaults to the Nitoriq visitor ID. Hashed with SHA-256 before sending unless it already arrives hashed. |
em | user_data | The visitor’s email address, lowercased. Hashed with SHA-256 before sending unless it already arrives hashed. | |
| Phone | ph | user_data | The visitor’s phone number with country code; Nitoriq keeps only the digits. Hashed with SHA-256 before sending unless it already arrives hashed. |
| First Name | fn | user_data | The visitor’s first name, lowercased without punctuation. Hashed with SHA-256 before sending unless it already arrives hashed. |
| Last Name | ln | user_data | The visitor’s last name, lowercased without punctuation. Hashed with SHA-256 before sending unless it already arrives hashed. |
| Date of Birth | db | user_data | The visitor’s date of birth as YYYYMMDD. Hashed with SHA-256 before sending unless it already arrives hashed. |
| Gender | ge | user_data | f or m. Hashed with SHA-256 before sending unless it already arrives hashed. |
| City | ct | user_data | The visitor’s city, lowercased without spaces or punctuation. Hashed with SHA-256 before sending unless it already arrives hashed. |
| State | st | user_data | The visitor’s state or region; for the US, the two-letter code. Hashed with SHA-256 before sending unless it already arrives hashed. |
| Zip Code | zp | user_data | The visitor’s ZIP or postal code. Hashed with SHA-256 before sending unless it already arrives hashed. |
| Country | country | user_data | The visitor’s two-letter country code, like US. Hashed with SHA-256 before sending unless it already arrives hashed. |
| Lead ID | lead_id | user_data | The Meta Lead Ads lead ID, for conversions that started as a Meta lead form. Not hashed. |
| Subscription ID | subscription_id | user_data | The subscription ID for the transaction. Not hashed. |
| Referrer URL | referrer_url | event root | The page that sent the visitor to your site. Usually {{referrer}}. |
| Value | value | custom_data | The monetary value of the event. Required for purchases. |
| Currency | currency | custom_data | The ISO currency code for Value, like USD. Required for purchases. |
| Order ID | order_id | custom_data | Your order or transaction ID. |
| Content IDs | content_ids | custom_data | Product IDs or SKUs. A comma-separated value is sent as a list. |
| Content Type | content_type | custom_data | product, or product_group when Content IDs are product groups. |
| Content Name | content_name | custom_data | The name of the product or page. |
| Content Category | content_category | custom_data | The category of the product or page. |
| Number of Items | num_items | custom_data | The number of items in the checkout. |
| Predicted LTV | predicted_ltv | custom_data | The predicted lifetime value of the customer. |
| Net Revenue | net_revenue | custom_data | The margin of the conversion, as opposed to its full Value. |
| Search String | search_string | custom_data | The search query, for Search events. |
| Status | status | custom_data | The status of a registration, for CompleteRegistration events. |
| Delivery Category | delivery_category | custom_data | in_store, curbside or home_delivery. |
Useful Nitoriq tokens
The Nitoriq Token dropdown only allows values Nitoriq can render during
integration delivery. Common choices include:
{{external_id}}for traffic-source click IDs or external references{{txid}}for the transaction or conversion ID{{payout}}and{{payout_currency}}for conversion value{{ip}},{{user_agent}}, and{{page_url}}for connection context{{country_code}},{{region}},{{city}}, and{{zip_code}}for location{{campaign_id}},{{traffic_source_id}},{{landing_id}}, and{{offer_id}}for Nitoriq object context{{trackingField1}}through{{trackingField20}}for traffic-source fields captured on the click{{conversionParameter1}}through{{conversionParameter20}}for extra values captured on the conversion
Event Names And Action Source
Meta’s standard event names available in Nitoriq are:
AddPaymentInfo, AddToCart, AddToWishlist, CompleteRegistration,
Contact, CustomizeProduct, Donate, FindLocation, InitiateCheckout,
Lead, Purchase, Schedule, Search, StartTrial, SubmitApplication,
Subscribe, and ViewContent.
Action Source options available in Nitoriq are Email, Website,
Phone Call, Chat, Physical Store, System Generated, and Other.
Most tracked web conversions should use Website with {{page_url}} as the
Event Source URL.
Meta fields in Nitoriq
Meta Pixel
The reusable Nitoriq resource representing the Meta Pixel.
This stores the Pixel ID and access-token connection for reuse.Pixel ID
The Meta Pixel ID that should receive events.
Events sent to the wrong Pixel ID appear under the wrong Meta data source.Meta access token
The token Nitoriq uses to send server-side events to Meta.
Without a valid token, Meta will reject the delivery request.Event Types
The Nitoriq conversions this destination should send.
This controls which outcomes Meta receives for reporting and optimization.Action Source
Where the conversion happened, such as Website.
Meta uses this value to classify the event and validate required context.Event Source URL
The URL associated with a website event.
Website events need a source URL for diagnostics and event quality.Event Type Mapping
The Meta event name sent for each selected Nitoriq conversion.
Meta optimization depends on receiving the right standard or custom event.Event Data Configuration
The Meta parameters and Nitoriq tokens included in the event.
These rows control matching, value reporting, content context, and diagnostics.Meta delivery is working when
- the Meta Pixel resource is saved with the correct Pixel ID
- the Meta access token is attached to that pixel resource
- event types and Meta event names match the intended goal
- website events use
Websiteand a valid Event Source URL - default Event Data Configuration rows remain in place
- optional event data rows use values Nitoriq actually captures
- the traffic source or campaign scope is attached
- a known test conversion is accepted by Meta
- the original conversion remains visible in Nitoriq reports
Was this page helpful?