Ad platforms Doc #6 Reviewed Nov 22, 2026
Pinterest Conversions API
Send server-side conversions from the Anacoic gateway to Pinterest Ads. In beta: not yet tried with a real ad account.
Connect your Anacoic gateway to Pinterest Ads, so your conversions reach Pinterest from the server.
What you need
- A Pinterest Business account
- A Pinterest Tag (recommended)
- Access to Pinterest’s API for Conversions
Setup
Step 1: find your ad account ID
Pinterest’s API for Conversions takes events per ad account, not per tag.
- Sign in to Pinterest Ads Manager.
- Open the ad account your tag belongs to.
- Copy the ad account ID (a long number). It is not the tag ID.
Step 2: get a conversion access token
- In Ads Manager, go to Conversions.
- Generate a conversion access token.
- Copy the token.
Note: a token made for a developer app instead lasts 30 days. Replace it before then.
Step 3: connect Pinterest in Anacoic
- Open your gateway, then Destinations, then Integrations.
- Find Pinterest and choose Connect.
- Switch on Enable integration.
- Enter:
- Ad account ID: from step 1
- Access token: from step 2
- Choose Save configuration.
Pinterest is in beta in Anacoic: it hasn’t yet been tried with a real ad account.
Event mapping
The gateway maps your events to Pinterest’s event names:
| Anacoic event | Pinterest event |
|---|---|
Pageview | page_visit |
View Content | view_category |
Search | search |
Add to Cart | add_to_cart |
Add to Wishlist | add_to_wishlist |
Initiate Checkout | initiate_checkout |
Purchase | checkout (Pinterest’s name for a completed purchase) |
Lead | lead |
Sign Up | signup |
Watch Video | watch_video |
Customer data
Pinterest needs customer data hashed. The gateway hashes these fields before sending them:
- Email (em)
- Phone number (ph)
- Gender (ge)
- Birthdate (db)
- First name (fn)
- Last name (ln)
- City (ct)
- State (st)
- ZIP code (zp)
- Country (country)
- External ID (external_id)
Example event
anacoic.track('Purchase', {
value: 75.00,
currency: 'USD',
order_id: 'ORDER-456',
user: {
email: 'customer@example.com', // hashed at the gateway
phone: '+1-555-0199', // hashed at the gateway
firstName: 'Jane',
lastName: 'Smith',
city: 'New York',
state: 'NY',
zip: '10001',
country: 'US',
external_id: 'cust_789'
}
});
Product data
Pinterest accepts product details with each event:
anacoic.track('Purchase', {
value: 150.00,
currency: 'USD',
order_id: 'ORDER-123',
content_ids: ['PROD-001', 'PROD-002'],
content_name: 'Summer Collection',
content_category: 'Clothing',
num_items: 2,
contents: [
{ id: 'PROD-001', item_price: 75.00, quantity: 1, item_name: 'Summer Dress' },
{ id: 'PROD-002', item_price: 75.00, quantity: 1, item_name: 'Beach Hat' }
]
});
Search events
For searches, include the search query:
anacoic.track('Search', {
search_string: 'summer dresses',
query: 'summer dresses' // another accepted field name
});
Testing
In the delivery log
- Open your gateway, then Diagnostics, then Delivery log.
- Send a test event (from the Setup tab, under Send a test event).
- Look for Pinterest among the destinations, with status 200.
In Pinterest
- Go to Business Hub → Analytics → Conversions.
- Open your tag.
- Look at the Event History.
- Look for “API” as the source.
Matching
The more customer details an event carries (email, phone, external ID), the more conversions Pinterest can usually match. Pinterest reports its own match figures in its conversion tools.
Tip: turn on enrichment (data-enrich="true" on the tracker) to add a signed-in customer’s email and ID when your store’s page exposes them.
Troubleshooting
“401 Unauthorized”
- The token was revoked, or it was an app token that ran out.
- Generate a new token and update the integration.
“400 Bad Request”
- The event format isn’t valid.
- Check the delivery log for the error message.
- Make sure the required fields are there.
Events not showing
- Check the ad account ID (not the tag ID).
- Check that the integration is switched on.
- Allow up to 15 minutes for Pinterest to process events.
How long Pinterest keeps data
- Attribution window: you can change it (30 days by default)
- Reporting: up to 1 year
Privacy
- Personal details are hashed with SHA-256 at the gateway before they’re sent to Pinterest.
- Pinterest supports opting users out with the
opt_out_typefield.
Opt-out example
anacoic.track('Pageview', {
opt_out_type: 'LDP' // Limited Data Processing, for CCPA
});
Good practice
- Send all the customer data you have, with consent, for better matching.
- Use the same customer IDs across events.
- Test before you launch campaigns.
- Check match rates in Pinterest Analytics.
- Replace app tokens before they run out (every 30 days).
Support
Need help? Write to us or see Troubleshooting.