Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

Pinterest Conversions API: How to Set It Up Alongside the Pinterest Tag

A vendor-neutral guide to the Pinterest Conversions API for marketers: what it sends, where to generate the token, partner versus direct setup, event_id deduplication with the Pinterest tag, and how to read Test Events, Deduplication and EQS.

The EndFrame Team7 min read

The Pinterest Conversions API is a server-to-server connection that sends conversions from your own systems to Pinterest, instead of relying only on the Pinterest tag in the visitor's browser. Setup comes down to four things: generate a conversion access token in Ads Manager, choose a partner integration or a direct integration, send each event with an event_id that matches the one the tag sends, and check the result on the Test Events, Deduplication and Event Quality pages.

What the Pinterest Conversions API does

Pinterest's help centre describes the Conversions API as a way to send web, in-app and in-store or offline conversions directly to Pinterest, where they are used for campaign optimisation, targeting and conversion reporting. The Pinterest tag does a similar job from the browser: it is JavaScript on your pages that reports events such as page visits, add to carts and checkouts. Because it runs in the browser, ad blockers, browser privacy settings and consent choices can limit it. A server event can also carry data the browser never sees, such as a hashed email address from your order system or a sale made in a shop.

Pinterest's developer documentation suggests running the API alongside the Pinterest tag for additional coverage. That only works if Pinterest can tell when the tag and the API describe the same action, which is what deduplication is for. If the general idea is new, start with what a conversions API is. To see how Pinterest compares with other ad platforms, read conversions APIs compared.

What you need before you start

Pinterest states that you need a Pinterest Business account, and that the Conversions API does not require a developer application or an app ID. The credential is a conversion access token, which is meant for the conversions endpoint only; other parts of the Pinterest API, such as managing campaigns, need a separate OAuth token. To create one:

  1. 1Log in to your Pinterest business account, click the menu icon in the top-left corner and, under Manage business, select Conversions.
  2. 2Open Conversions API and choose Set up API. Pinterest's developer documentation gives the path as Ad Account Overview, then Conversions, then Conversions API, then Set up API.
  3. 3Select Conversion access token and click Generate new token.
  4. 4Copy the token and the ad account ID shown with it. An integration needs both.

Treat the token like a password: share it through a password manager, not by email or chat.

Partner integration or direct integration

Pinterest documents two routes. A partner integration uses a platform you may already pay for; a direct integration means your developers call the API themselves. Pinterest's partner page splits the partner route into tag managers and other partners, and compares the options like this:

FactorTag manager partnerOther partnerDirect integration
CostVaries by partnerVaries by partnerFree
Estimated time1 to 4 hoursVaries by partner2 to 4 weeks
Who does the workA marketer, with IT or developer support recommendedVaries by partnerA developer
Event sourcesVaries by partnerVaries by partnerWeb, app and offline

The listed partners include commerce platforms (Shopify, WooCommerce, Salesforce Commerce Cloud, VTEX), tag managers (Google Tag Manager, Stape, Addingwell, Elevar), customer data platforms (Segment, Tealium, Adobe, mParticle) and system integrators such as Zapier, Hightouch and Census. The list changes, so check Pinterest's partner page before you commit. If your shop runs on a listed commerce platform, its Pinterest integration is usually the shortest route. If your tags already live in a tag manager, a tag manager partner keeps everything in one place. Choose direct integration when you need offline or in-app events that none of your partners can send, or when the conversion happens in a system no partner connects to.

What each server event has to contain

Whichever route you choose, the same fields reach Pinterest. Pinterest's developer documentation marks these as required:

  • event_name: one of Pinterest's standard names, such as page_visit, add_to_cart, checkout, lead or signup, or a custom name.
  • action_source: where the conversion happened, one of web, app_android, app_ios or offline.
  • event_time: when it happened, as a Unix timestamp in seconds.
  • event_id: a unique string for this one action, used for deduplication.
  • user_data: at least one of a hashed email (em), hashed mobile advertising IDs (hashed_maids, for apps), or the visitor's IP address and user agent sent together (client_ip_address and client_user_agent).

Email, phone and the other customer fields are normalised and hashed with SHA-256 before sending (IP address, user agent and click ID are sent unhashed); our guide to hashing customer data for conversions APIs covers the rules. For visitors who arrived from a Pinterest ad, send the click ID too. Pinterest recommends passing the _epik cookie as click_id, because the epik parameter in the landing page URL can be missing or removed. For orders, add the value, currency and order ID. Note that checkout is Pinterest's event for a completed transaction; initiate_checkout is a separate, earlier event.

Timing matters. Pinterest asks for events in real time, or with a maximum lag of one hour, so that optimisation, attribution and measurement can use them. Up to 1,000 events can be batched in one request, but do not hold events back until the end of the day.

Deduplication: one event_id for the tag and the API

When the tag and the API both report the same order, Pinterest needs a way to keep one copy. The rule in its documentation is to send the same event_id and the same event name from every source. On the tag side the ID goes in the event data, for example pintrk('track', 'checkout', {value: 49.00, currency: 'GBP', event_id: 'order-10482'}). The server event for that order then carries the event name checkout and the event_id order-10482. Pinterest keeps the first event it captures and removes duplicates within 48 hours.

Two details decide whether this works. First, the ID must be unique per action and identical on both sides. Pinterest suggests an order number or transaction ID. Generate the ID once and hand it to both the tag and the server. Second, the event type has to match. Pinterest's event table pairs each API name with a tag equivalent: add_to_cart with AddToCart, page_visit with PageVisit, checkout with Checkout. A tag firing Lead while the server sends signup for the same form will not be matched.

The principle is the same on other platforms, although field names differ: see event_id deduplication on Meta and our Snapchat Conversions API setup guide.

How to check the setup in Ads Manager

Check three screens in the Conversions area of Ads Manager, in this order.

Test Events

Before live traffic is switched on, a developer or partner tool can send test events by adding test=true to the request URL. Test events go to a sandbox and are not used for reporting or optimisation, and only the first 20 events in a test batch are processed. To see the results, open Conversions in Ads Manager and click Test Events in the left-hand navigation. Warnings there are based on missing recommended identifiers, so this is a quick way to spot an integration that sends no email, or no IP address and user agent.

The Deduplication page

Once live events are flowing, go to Conversions, select Events Overview in the left-hand navigation, click any event, then select Deduplication from the top navigation bar. The page covers Pinterest tag and Conversions API events only. Event ID coverage shows, for each event type, how many events arrive with an event_id, and flags event types that fall below Pinterest's threshold. Rate of duplicate events removed shows the duplicate tag and API events removed for each source. Duplicates are only removed when IDs match, so if coverage is high on both sides but hardly any duplicates are removed, check whether the two sides really send the same ID.

Event Quality Score

Event Quality Score (EQS) rates how well the customer information and event details you send let Pinterest match events to Pinterest users. Find it under Conversions, then Event Quality. The rating is Good, Fair or Needs improvement, built from three components: Customer information, Event insights and Duplicate events. It uses the average of the previous 14 days, and you can toggle to a 1-day view to check a recent change. For Good, Pinterest asks for three important customer identifiers, important event metadata and an overlap score above 90% for all events. On web, the high-priority identifiers are IP address with user agent, external ID, and email on lower-funnel events; the high-priority metadata is page URL, product ID where you have a catalogue, and order ID, order value and currency on lower-funnel events.

Mistakes that cause double counting or weak matching

  • The tag and the server each generate their own random ID, so nothing matches.
  • The same ID is reused across orders, for example a session ID, so separate purchases cannot be told apart.
  • The tag fires one event name and the server sends a different one for the same action.
  • Server events are uploaded hours later in a daily batch, not within the hour Pinterest asks for.
  • Server events carry no email and no IP address with user agent, so Pinterest has little to match on.

Server-side delivery does not change your consent obligations. If a visitor has refused marketing tracking, that choice should also govern what your server sends, and the API has an opt_out field that Pinterest recommends including on every event. See whether server-side tracking is GDPR compliant.

Where EndFrame fits

EndFrame does not send conversions to Pinterest. Its server-side destinations are the Meta Conversions API, the GA4 Measurement Protocol, the TikTok Events API and custom webhooks. A webhook can deliver each conversion to a system of your own, but that system would have to format the event and send it to Pinterest, and it would be yours to maintain. For most advertisers, a listed partner or a direct integration is simpler. Before you start, the free pixel inspector can tell you whether the Pinterest tag is in a public page's initial HTML. It cannot see tags injected later by a tag manager or after consent, so rely on Test Events and the Deduplication page to confirm what Pinterest receives.

Frequently asked questions

Do I still need the Pinterest tag if I use the Conversions API?

Each one works without the other, but Pinterest's developer documentation suggests running the API alongside the tag for additional coverage, so that events missed by one source are still reported by the other. If you keep both, deduplication is not optional: every tag event that also has a server copy needs the same event_id and event name, otherwise the same order can be reported twice.

How long does it take to set up the Pinterest Conversions API?

It depends on the route, from a few hours to a few weeks. Pinterest's partner comparison estimates 1 to 4 hours for a tag manager partner and 2 to 4 weeks for a direct integration built by a developer. Allow extra time after launch to check the Deduplication and Event Quality pages, because the quality score is based on a 14-day average.

Is the Pinterest Conversions API free to use?

Pinterest lists the direct integration as free, and the Conversions API needs no developer application or app ID, so the main cost is your developer's time. With a partner integration, Pinterest says the cost varies by partner, so check whether the commerce platform or tag manager you use charges for its Pinterest connection.

Can the Pinterest Conversions API send in-store or offline sales?

Yes. Offline conversions are sent with the action_source field set to offline. There is no browser data for these events, so matching relies on what you collected at the till or in your CRM. Pinterest's Event Quality guidance treats email and external ID as the high-priority customer identifiers for offline events, with order ID, order value, currency and product ID as the key event details.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading