Pinterest can only learn from the leads it hears about. The usual setup is a tag in the visitor's browser that reports page visits and form submissions as they happen.
The browser is not a reliable messenger. Ad blockers and strict privacy settings can stop the tag before it reports. The lead is real and lands in your inbox, but Pinterest never sees it, and it can't find more people like that visitor.
The fix is to send each lead twice: once from the browser and once from your own server, with the same event ID on both, so Pinterest counts it once. This post walks through how we set that up for lead generation sites, with Google Tag Manager for the tag and the website's own form handler for the server.
Two Ways Pinterest Hears About a Lead
- The Pinterest tag runs in the visitor's browser. It reports page visits, and it reports a lead when the form is accepted. Pinterest also uses it to build audiences of people who visited your site, for retargeting.
- The Conversions API runs on your server. When your form handler saves a lead, it sends the same lead straight to Pinterest. Nothing in the browser can block it.
Each one covers a gap in the other. The tag sees visits the server never handles. The server sees leads the browser fails to report. Pinterest's own setup offers the two together, as "Pinterest tag with Conversions API".
The Pinterest Tag, Through Google Tag Manager
We add the tag through Google Tag Manager (GTM) instead of pasting Pinterest's code into the site. One container holds every platform's tags, and a change goes live without touching the website's code.
Three tags cover a lead generation site:
- Page visit, on every page.
- Lead, when a form is accepted. It carries the visitor's email, hashed, so Pinterest can match the lead to a Pinterest user. Pinterest calls this enhanced match.
- Signup, when someone registers, for example for a webinar.
We build them with the Pinterest Pixel Tag template from GTM's template gallery, which Pinterest publishes and maintains, instead of custom code. Every tag in the container is set up the same way, and anyone on the team can read it.
Hashed means the email goes through SHA-256, a one-way scramble. Pinterest compares the scrambled value with the scrambled emails of its own users. Pinterest never receives the plain email from the tag.
One step people miss: many sites send a security header that lists which outside services may load on the page. Pinterest's addresses have to be on that list, or the browser blocks the tag without any visible error.
The Conversions API, From Your Own Form Handler
The common route to the Conversions API is server-side Google Tag Manager, which needs its own hosting. If your website form already posts to a small server program you control, there is a simpler route: that program sends the lead to Pinterest itself.
On the sites we build, forms post to a Cloudflare Worker, a small program that runs on Cloudflare's network. When a lead arrives:
- The Worker saves the lead in the CRM first.
- The visitor sees the thank-you message straight away.
- Then the Worker sends the lead to Pinterest's Conversions API. If Pinterest is slow or down, the lead is already safe in the CRM.
| Sent with each lead | Why it matters |
|---|---|
| Event ID | The same ID the tag sent, so Pinterest counts the lead once |
| Hashed email and phone | Lets Pinterest match the lead to a Pinterest user |
| Pinterest click ID | Ties the lead to the ad click, when the visit came from an ad |
| IP address and browser | Helps matching when there is no click ID |
| Page address | Shows which page the form was sent from |
The key that lets the Worker talk to Pinterest is stored as an encrypted secret in Cloudflare, never in the website's code. Two switches control the send: one turns it on or off, and the other sends test events that Pinterest checks but doesn't record.
One Event ID, One Lead
Sending every lead twice only works if Pinterest knows the two copies are the same lead. That is the event ID's job.
- When the visitor sends the form, the page creates one new ID for that submission.
- The page sends the ID with the form to the Worker, which passes it to the Conversions API.
- When the form is accepted, the page also hands the same ID to Google Tag Manager, which passes it to the Pinterest tag.
Pinterest receives the lead from both sides with the same ID and keeps one. If the browser copy was blocked, the server copy still arrives, and the lead still counts.
Testing Before It Counts
We never switch the server send straight on.
- Test mode first. Pinterest's Test events screen shows each server lead and what came with it, such as the hashed email and the IP address, without recording it in your reports.
- One test form. We send one form marked TEST and check two things: the Pinterest Tag Helper browser extension shows the lead from the browser, and Test events shows the lead from the server with the same event ID.
- Live. We turn test mode off. Pinterest's Events overview then shows leads from both the tag and the API.
If anything goes wrong later, one switch stops the server send. Forms and leads keep working either way.
What Changes in Your Pinterest Account
- Leads still reach Pinterest when the browser tag is blocked
- Each lead is counted once, not twice
- Better matching to Pinterest users, from the hashed email and phone
- Audiences of site visitors for retargeting, from the tag
- A setup you can test before it touches your reports
What We Need From You
- Admin access to your Pinterest business account, to create the ad account and the tag.
- Publish access to your Google Tag Manager container.
- Access to the code behind your website form, or your developer's time, for the server send and the security header.
- What counts as a lead and a signup on your site.
With those, we build and test the rest.
Send Every Lead to Pinterest
Tell us how your website forms work today, and we'll show you what it takes to send every lead to Pinterest.