Skip to Content
IntegrationsConversion APIPinterest Conversion API

Pinterest Conversion API

Use Pinterest Conversion API when Nitoriq should send selected conversion events server-side to Pinterest.

Pinterest is a little different from pixel-based providers in Nitoriq. The destination resource you choose in Nitoriq is a Pinterest Ad Account, not a Pixel ID. Pinterest receives the server-side event under that ad account.

In Pinterest, confirm the destination ad account in Pinterest Ads Manager . Pinterest’s developer documentation explains how to track conversions in the API  and how the Pinterest Tag  fits into browser-side tracking.

Preparation

Before you start

  • Validate the click and conversion in Nitoriq first.
  • Confirm the Pinterest ad account that should receive server-side events.
  • Copy the Ad account ID from the correct Pinterest account.
  • Prepare a Pinterest access token that can send conversion events to that ad account.
  • Confirm the Pinterest traffic source captures the click ID you want to send, usually in {{external_id}}.
  • Decide which Nitoriq event types should be sent to Pinterest.
  • Decide which traffic sources or campaigns should be allowed to send events.

Create a Pinterest 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 Pinterest Ads

Click Add integration, then choose Pinterest Ads.

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

Name the destination

Use a name that identifies the ad account and event goal, such as Pinterest - Checkout Events or Pinterest - Lead Events.

Confirm the Workspace field before continuing.

Select or create the Pinterest Ad Account

In Pinterest destination, choose an existing Pinterest Ad Account resource or click New ad account.

The Pinterest Ad Account resource is reusable. It stores the Pinterest ad account 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 Pinterest ad account, and choose event types.

Create the Pinterest Ad Account resource

When creating a new ad account resource, enter a clear Ad account name and the Pinterest Ad account ID.

Use the ad account ID from Pinterest Ads Manager, not the business name, username, campaign ID, or board ID.

Create a reusable Pinterest Ad Account resource with the ad account name, ad account ID, and access-token connection.

Create or select the Pinterest access token

If the ad account does not already have a saved connection, click New connection from the Pinterest access token field.

Name the connection clearly, such as Pinterest production token. The optional external account fields are useful when your team wants to record which Pinterest ad account or user the token belongs to. Paste the access token into Access token, then create the connection.

Create a Pinterest access-token connection so Nitoriq can send server-side events to the selected ad account.

Select event types

In Event Types, choose which Nitoriq conversions Pinterest 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 Pinterest should optimize or report on.

Configure Pinterest delivery settings

In Action Source, choose where the conversion happened. Most Nitoriq web conversion destinations should use Web.

Set the Pinterest action source before reviewing event mappings and event data.

Map Nitoriq events to Pinterest event names

In Event Type Mapping, map each selected Nitoriq event to the Pinterest event name Pinterest should receive.

Common mappings are checkout for purchases, lead for lead capture, signup for registrations, subscribe for subscriptions, and custom when your Pinterest reporting already expects a custom event.

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

Review Event Data Configuration

Event Data Configuration controls the Pinterest parameters Nitoriq includes in the server-side event payload.

Each row has two sides. Pinterest Parameters is the Pinterest 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 cover the core deduplication, matching, source, and value fields Nitoriq sends to Pinterest by default.

Event Data Configuration maps Pinterest parameters to Nitoriq tokens such as event ID, external ID, IP address, user agent, value, and content IDs.

Save and attach traffic sources

Save the destination, then select the Traffic Sources or Campaigns that are allowed to send events to Pinterest.

Start with a narrow scope for the first test. Expand the scope only after Pinterest accepts the test event.

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

Send a test conversion

Trigger a known click and conversion in Nitoriq.

Inspect Nitoriq delivery status, then check Pinterest event diagnostics or the Pinterest reporting surface your team uses for server-side events. Confirm the event is accepted by Pinterest and that the original conversion still appears in Nitoriq reports.

What Nitoriq Sends To Pinterest

When the destination runs, Nitoriq builds a Pinterest 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_time: comes from the Nitoriq conversion time
  • event_id: comes from Event Data Configuration
  • event_source_url: comes from Event Data Configuration when available
  • user_data: comes from Event Data Configuration rows whose Pinterest parameters are user matching fields
  • custom_data: comes from Event Data Configuration rows whose Pinterest parameters describe value, currency, item count, content IDs, or business context

The Pinterest ad account ID and access token are not event fields. They decide which Pinterest ad account receives the event and whether Pinterest accepts the request.

Event Data Configuration

Event Data Configuration is the part of the setup that decides which conversion details Nitoriq sends to Pinterest.

Think of each row as a sentence: send this Pinterest field using this Nitoriq value. For example, the default row Click ID -> {{external_id}} means Nitoriq sends the external ID stored on the click as Pinterest’s click ID 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 labelPinterest keyDefault tokenSent asWhy it matters
Event IDevent_id{{clickid_txid_ct}}event rootGives Pinterest a stable ID for deduplication and diagnostics.
Event Source URLevent_source_url{{page_url}}event rootSends the page URL associated with a web conversion.
Click IDclick_id{{external_id}}user_dataHelps Pinterest connect the server event to click context.
IP Addressclient_ip_address{{ip}}user_dataRequired with user agent when email or mobile IDs are not sent.
User Agentclient_user_agent{{user_agent}}user_dataRequired with IP address when email or mobile IDs are not sent.
Currencycurrency{{payout_currency}}custom_dataTells Pinterest which currency the event value uses.
Valuevalue{{payout}}custom_dataSends the revenue, payout, or value Pinterest should record for the event.
Countrycountry{{country_code}}user_dataAdds country context for matching.
Content IDscontent_ids{{offer_id}}custom_dataSends the related offer, product, or content identifier.

Pinterest needs usable match data. Nitoriq’s defaults send the IP address and user agent pair, plus the Pinterest click ID when your traffic source captures it. If your setup captures email, phone, or other identity fields, you can add those rows to improve matching.

Pinterest’s click ID is the epik parameter on the landing URL. The Pinterest traffic source template captures it in {{external_id}}, which the default Click ID row sends. A Pinterest traffic source created before the template included it has no External ID row: set its External ID parameter to epik, with no token, to start sending the click ID.

Optional Pinterest parameters

You can click Add Configuration to send more Pinterest parameters. The parameters available in Nitoriq are:

Nitoriq labelPinterest keySent asWhat Nitoriq sends
Event IDevent_idevent rootA unique ID for the event. Pinterest uses it to deduplicate against the tag. Required.
Event Source URLevent_source_urlevent rootThe page the web conversion happened on.
Languagelanguageevent rootThe visitor’s two-letter language code. A value like en-US is sent as en.
Click IDclick_iduser_dataPinterest’s click ID from the epik parameter on the landing URL. Usually {{external_id}}. Not hashed.
External IDexternal_iduser_dataYour own stable identifier for the person. 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. Hashed with SHA-256 before sending unless it already arrives hashed.
Last Namelnuser_dataThe visitor’s last name, lowercased. Hashed with SHA-256 before sending unless it already arrives hashed.
Gendergeuser_dataf, m or n. 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.
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 as a two-letter code. Hashed with SHA-256 before sending unless it already arrives hashed.
Zip Codezpuser_dataThe visitor’s ZIP or postal code; Nitoriq keeps only the digits. Hashed with SHA-256 before sending unless it already arrives hashed.
Countrycountryuser_dataThe visitor’s two-letter country code. Hashed with SHA-256 before sending unless it already arrives hashed.
IP Addressclient_ip_addressuser_dataThe visitor’s IP address. Not hashed.
User Agentclient_user_agentuser_dataThe visitor’s browser user-agent string. Not hashed.
Valuevaluecustom_dataThe monetary value of the event.
Currencycurrencycustom_dataThe ISO currency code for Value, like USD. Pinterest uses the ad account’s currency when it is missing.
Order IDorder_idcustom_dataYour order or transaction ID.
Content IDscontent_idscustom_dataProduct IDs or SKUs, sent as a list.
Content Namecontent_namecustom_dataThe name of the product or page.
Content Categorycontent_categorycustom_dataThe category of the product or page.
Content Brandcontent_brandcustom_dataThe brand of the product.
Item Countnum_itemscustom_dataThe number of items in the order.
Predicted LTVpredicted_ltvcustom_dataThe predicted lifetime value of the customer.
Search Stringsearch_stringcustom_dataThe search query, for search events.

Pinterest user matching fields such as em, ph, external_id, and country are hashed by Nitoriq before delivery when Pinterest expects hashed values. IP address, user agent, language, click ID, and custom data are sent as plain event fields.

Useful Nitoriq tokens

The Nitoriq Token dropdown only allows values Nitoriq can render during integration delivery. Common choices include:

  • {{external_id}} for Pinterest click IDs or external references
  • {{clickid_txid_ct}} for a stable event ID
  • {{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

Pinterest event names available in Nitoriq are:

page_visit, view_category, search, add_to_cart, add_to_wishlist, add_payment_info, initiate_checkout, checkout, view_content, app_install, signup, lead, subscribe, watch_video, and custom.

Action Source options available in Nitoriq are Web, Android App, iOS App, and Offline.

Most tracked web conversions should use Web.

Pinterest fields in Nitoriq

Pinterest Ad Account

The reusable Nitoriq resource representing the Pinterest ad account.

Pinterest server-side conversion events are sent to the selected ad account.

Ad account ID

The Pinterest ad account ID that should receive events.

Using the wrong ID sends events to the wrong Pinterest account.

Pinterest access token

The token Nitoriq uses to send server-side events to Pinterest.

Without a valid token, Pinterest will reject the delivery request.

Event Types

The Nitoriq conversions this destination should send.

This controls which outcomes Pinterest receives for reporting and optimization.

Action Source

Where the conversion happened, such as Web.

Pinterest uses this value to classify the event and validate context.

Event Type Mapping

The Pinterest event name sent for each selected Nitoriq conversion.

Pinterest optimization depends on receiving the right standard or custom event.

Event Data Configuration

The Pinterest parameters and Nitoriq tokens included in the event.

These rows control deduplication, matching, value reporting, content context, and diagnostics.
Validation

Pinterest delivery is working when

  • the Pinterest Ad Account resource is saved with the correct ad account ID
  • the Pinterest access token is attached to that ad account resource
  • event types and Pinterest event names match the intended goal
  • web events use Web as the action source
  • default Event Data Configuration rows remain in place
  • optional event data rows use values Nitoriq actually captures
  • match data includes email, mobile IDs, or both IP address and user agent
  • the traffic source or campaign scope is attached
  • a known test conversion is accepted by Pinterest
  • the original conversion remains visible in Nitoriq reports

Was this page helpful?