What the Pinterest API for Conversions does
Pinterest calls it the Pinterest API for Conversions, and most people call it the Pinterest Conversions API. It lets a server report checkouts, leads and sign-ups directly to Pinterest, alongside the events the Pinterest Tag sends from the browser.
Pinterest uses those events to attribute conversions to Pins and to optimise campaigns that bid on conversions. Events lost in the browser cannot do either.
How it works with Tiide
- Tiide creates a server-side GTM container on its infrastructure, served from a subdomain of your website, and configures the GA4 client inside it.
- Tiide routes your GA4 tag through it, so your existing GA4 events arrive at the server container.
- Add Pinterest's tag to the server container. Pinterest publishes an official server-side template, Pinterest API for Conversions Tag. It works with the GA4 client, which is the client Tiide configures. Enter your Pinterest advertiser ID and an API access token, which you generate on the Conversions page in Pinterest Ads Manager.
How GA4 events map to Pinterest events
Pinterest's template converts GA4 events to Pinterest's own names:
| GA4 event | Pinterest event |
|---|---|
page_view, view_item |
page_visit |
add_to_cart |
add_to_cart |
begin_checkout |
initiate_checkout |
purchase |
checkout |
generate_lead |
lead |
sign_up |
signup |
Note that a GA4 purchase becomes a Pinterest checkout. If you are reading Pinterest reports and looking for "purchase", that is why you will not find it.
What Pinterest uses to match a conversion
- The click ID. Pinterest adds an
epikvalue to the URL when someone clicks through from a Pin. Sent asclick_idwith the server event, it ties the conversion to that click. Check that your setup carries it through to the tag. - Customer information such as email, phone, name and location. Pinterest's template trims, lowercases and SHA-256 hashes these before sending, and passes values you have already hashed through unchanged.
- IP address and user agent, which are sent as they are.
Pinterest rates your setup with an Event Quality Score in Ads Manager under Conversions, as Good, Fair or Needs improvement. Pinterest's bar for Good includes at least three customer identifiers, key event metadata, and more than 90% overlap between your tag and API events.
Deduplicating the tag and the server
Send an identical event_id and event_name from the Pinterest Tag and the API for Conversions. Pinterest keeps the first copy and removes the duplicate.
Testing before you go live
The Pinterest template has a test mode. Events sent in test mode are not recorded, but Pinterest returns the same response messages, so you can confirm the request is valid without polluting your data. Turn it off before publishing.
Free tool
See how much conversion data your site is losing, in about a minute