Skip to Content
IntegrationsConversion APIMeta Conversion API

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.

Preparation

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 ID from 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.

The Conversion API table shows saved destinations, their status, and the actions available for testing or editing.

Choose Meta Ads

Click Add integration, then choose Meta Ads.

Choose Meta Ads from the Conversion API provider picker to start a Meta destination.

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.

Use the setup form to name the destination, choose the workspace, select the Meta Pixel, and choose event types.

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 a reusable Meta Pixel resource with the pixel name, Pixel ID, and access-token connection.

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.

Create a Meta access-token connection so Nitoriq can send server-side events to the selected pixel.

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.

Set the Meta action source and event source URL before reviewing event mappings and event data.

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.

Event Type Mapping controls the Meta event name sent for each selected Nitoriq conversion type.

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.

Event Data Configuration maps Meta parameters to Nitoriq tokens such as external ID, country, IP address, and user agent.

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.

Choose the Nitoriq traffic sources or campaigns that should send conversion events to this Meta destination.

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 from Event Type Mapping
  • action_source: comes from Action Source
  • event_source_url: comes from Event Source URL
  • event_time: comes from the Nitoriq conversion time
  • event_id: uses the Nitoriq transaction ID token by default
  • user_data: comes from Event Data Configuration rows whose Meta parameters are user matching fields
  • custom_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 labelMeta keyDefault tokenSent asWhy it matters
Click IDfbc{{external_id}}user_dataHelps Meta connect the server event to click context when the external ID contains the right click identifier.
Countrycountry{{country_code}}user_dataAdds country context for matching and diagnostics.
Statest{{region}}user_dataAdds regional context when Nitoriq has it.
Cityct{{city}}user_dataAdds city context when Nitoriq has it.
IP Addressclient_ip_address{{ip}}user_dataHelps Meta match the server event to the visitor connection.
Client User Agentclient_user_agent{{user_agent}}user_dataHelps Meta match the event to the visitor’s browser or device.
External IDexternal_id{{visitor_id}}user_dataSends 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 labelMeta keySent asWhat Nitoriq sends
Click IDfbcuser_dataMeta’s click ID. Nitoriq sends the fbclid captured on the click in the fb.1.<time>.<fbclid> form Meta expects. Not hashed.
Browser IDfbpuser_dataThe _fbp cookie from the visitor’s browser, when your site captures it into a token. Not hashed.
IP Addressclient_ip_addressuser_dataThe visitor’s IP address. Not hashed.
Client User Agentclient_user_agentuser_dataThe visitor’s browser user-agent string. Meta requires it for website events. Not hashed.
External IDexternal_iduser_dataYour 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.
Emailemuser_dataThe visitor’s email address, lowercased. Hashed with SHA-256 before sending unless it already arrives hashed.
Phonephuser_dataThe visitor’s phone number with country code; Nitoriq keeps only the digits. Hashed with SHA-256 before sending unless it already arrives hashed.
First Namefnuser_dataThe visitor’s first name, lowercased without punctuation. Hashed with SHA-256 before sending unless it already arrives hashed.
Last Namelnuser_dataThe visitor’s last name, lowercased without punctuation. Hashed with SHA-256 before sending unless it already arrives hashed.
Date of Birthdbuser_dataThe visitor’s date of birth as YYYYMMDD. Hashed with SHA-256 before sending unless it already arrives hashed.
Gendergeuser_dataf or m. Hashed with SHA-256 before sending unless it already arrives hashed.
Cityctuser_dataThe visitor’s city, lowercased without spaces or punctuation. Hashed with SHA-256 before sending unless it already arrives hashed.
Statestuser_dataThe visitor’s state or region; for the US, the two-letter code. Hashed with SHA-256 before sending unless it already arrives hashed.
Zip Codezpuser_dataThe visitor’s ZIP or postal code. Hashed with SHA-256 before sending unless it already arrives hashed.
Countrycountryuser_dataThe visitor’s two-letter country code, like US. Hashed with SHA-256 before sending unless it already arrives hashed.
Lead IDlead_iduser_dataThe Meta Lead Ads lead ID, for conversions that started as a Meta lead form. Not hashed.
Subscription IDsubscription_iduser_dataThe subscription ID for the transaction. Not hashed.
Referrer URLreferrer_urlevent rootThe page that sent the visitor to your site. Usually {{referrer}}.
Valuevaluecustom_dataThe monetary value of the event. Required for purchases.
Currencycurrencycustom_dataThe ISO currency code for Value, like USD. Required for purchases.
Order IDorder_idcustom_dataYour order or transaction ID.
Content IDscontent_idscustom_dataProduct IDs or SKUs. A comma-separated value is sent as a list.
Content Typecontent_typecustom_dataproduct, or product_group when Content IDs are product groups.
Content Namecontent_namecustom_dataThe name of the product or page.
Content Categorycontent_categorycustom_dataThe category of the product or page.
Number of Itemsnum_itemscustom_dataThe number of items in the checkout.
Predicted LTVpredicted_ltvcustom_dataThe predicted lifetime value of the customer.
Net Revenuenet_revenuecustom_dataThe margin of the conversion, as opposed to its full Value.
Search Stringsearch_stringcustom_dataThe search query, for Search events.
Statusstatuscustom_dataThe status of a registration, for CompleteRegistration events.
Delivery Categorydelivery_categorycustom_datain_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.
Validation

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 Website and 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?