Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Pinterest tag missing or wrong tag ID: how to find and fix it

TRK-221Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

The Pinterest tag is a small piece of JavaScript. It loads from Pinterest's servers and sends a request each time someone views a page or completes an action. Each request carries a tag ID, a number that links the data to one Pinterest ad account.

There are two versions of this problem. Missing means the base code is not on some or all pages, so no requests go out. Wrong tag ID means the code is there but the ID belongs to another account, an old test account, or has a typo. Pinterest then gets the data in the wrong place, or not at all.

Why it costs you leads or sales

Pinterest ads rely on the tag to count conversions, build retargeting audiences and learn who is likely to buy. Without it, reports show zero or very low results even when people are buying. Optimisation has nothing to learn from, and you may cut campaigns that were actually working.

Where the data stops
  1. Pin clickVisitor lands on your site
  2. Page loadsTag missing or wrong ID
  3. ConversionLead or sale happens
  4. Pinterest reportNo conversion recorded

With a missing or wrong tag, the visit happens but Pinterest never receives it.

Reported vs actual conversionsExample numbers
Reported vs actual conversions (example)Actual: 40 conversions; Tag working: 38 conversions; Wrong tag ID: 0 conversions; Tag on some pages only: 12 conversions015314038012ActualTag workingWrong tag IDTag on some pages onlyconversions

Example: 40 real conversions in a week, but only some are reported depending on tag health.

How to check if your site has it

Check the tag in a few minutes
  1. Find your real tag ID

    In Pinterest Ads Manager, open Conversions (under Ads), then the Pinterest tag section. Note the tag ID shown for your ad account.

  2. Use the Pinterest Tag Helper

    Install the Pinterest Tag Helper browser extension and visit your home page, a landing page and your thank-you page. It shows whether a tag is found and which ID it uses.

  3. Inspect network requests

    Open browser developer tools, go to the Network tab, filter for 'pinterest' and reload. You should see requests to ct.pinterest.com or s.pinimg.com containing your tag ID.

  4. Check the page source

    Search the source for 'pintrk'. Look at the pintrk('load', ...) line and compare the number with your tag ID.

  5. Check more than the home page

    Repeat on landing pages, the checkout and the thank-you page. Tags are often missing on pages built with a different template.

How to fix it

Install the base code once per page, with the correct tag ID. Installing it twice causes duplicate events, so remove old copies first.

Pinterest base code (replace YOUR_TAG_ID)html
<script>
!function(e){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};var n=window.pintrk;n.queue=[],n.version="3.0";var t=document.createElement("script");t.async=!0,t.src=e;var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r)}}("https://s.pinimg.com/ct/core.js");
pintrk('load', 'YOUR_TAG_ID');
pintrk('page');
</script>
Install or correct the tag by platform
  1. Find where the tag lives

    Check your Pinterest plugin, a header-and-footer scripts plugin and your theme settings. Remove duplicates and keep one source.

  2. Enter the correct ID

    Paste the tag ID from Pinterest Ads Manager into the plugin field, or paste the base code into the site-wide header section.

  3. Clear caches

    Purge your caching plugin and CDN so the updated code is served.

How to confirm it's fixed

Confirmation checklist
  • Pinterest Tag Helper shows a green result with the correct tag ID on key pages
  • Network tab shows requests to Pinterest carrying your tag ID
  • Only one pintrk('load') call appears per page
  • Tag status in Pinterest Ads Manager shows recent activity
  • A test visit appears in Pinterest's tag diagnostics after a short delay

How to prevent it happening again

Tags usually break after a theme change, a plugin update, a site rebuild or a Tag Manager publish by someone else. Keep one documented owner of the tag, store the correct ID in a shared note, and re-check the tag after every release.

Tag setup

Before

  • Tag on some pages only
  • ID copied from an old account
  • Plugin and GTM both load it

After

  • One tag source site-wide
  • ID matches Ads Manager
  • Checked after every release

How FunnelGuard handles this

FunnelGuard detects this issue today. A robot visitor runs your real customer journeys on a schedule, from the EU or the US, and checks the tracking hits sent to ad platforms, including Pinterest. If the Pinterest hit is missing or does not carry the expected tag ID, the step is flagged.

A failure is re-checked from a second region before one alert goes out, by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1) so you can filter it out. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.

Questions people ask

Why is my Pinterest tag not firing?

Common causes are the base code missing from some templates, a wrong tag ID, a consent banner blocking it, a caching plugin serving old code, or a Tag Manager trigger that does not match the page. Use the Pinterest Tag Helper and the browser Network tab to see which one applies.

How do I find my Pinterest tag ID?

Log in to Pinterest Ads Manager, open Conversions under Ads, and go to the Pinterest tag section. Your tag ID is shown there. Compare it with the number in the pintrk('load', ...) line on your site.

How do I check if the Pinterest tag is installed?

Install the Pinterest Tag Helper extension and visit your pages. It reports whether a tag is found and its ID. You can also search the page source for 'pintrk' or filter the Network tab for 'pinterest'.

What happens if I use the wrong Pinterest tag ID?

Pinterest receives your data under another account, or ignores it. Your own account shows no conversions or audience growth, so reporting and ad optimisation suffer.

Can the Pinterest tag be installed twice?

It can, for example through a plugin and Tag Manager together, but it causes duplicate events. Keep one source and remove the others.

Does the Pinterest tag work on Shopify?

Yes. Connect your account in the Pinterest sales channel, which installs the tag for you. Remove any manual pintrk code from the theme to avoid duplicates.

Can I monitor the Pinterest tag automatically?

Yes. FunnelGuard runs your journeys on a schedule and checks that the Pinterest hit is sent with the expected tag ID, then alerts you with a screenshot and likely cause if it is not.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.