SaTracking
PlatformsUPDATEDIntermediate

Configure Pinterest Tag events for a website

Install the account-specific base code, add a checkout event, and verify activity in Pinterest Ads.

Download for AI (.txt)

Measurement topic illustration · SaTracking

Before you start

Place the account base code once, send checkout only after order confirmation, and verify the event without duplicating the purchase on reload. Check for an existing Pinterest Tag in the theme, CMS, or GTM so the base is not installed twice.

1. Install Pinterest's base code

In Pinterest Ads Manager, open Conversions → Tag manager → Install the Pinterest tag, choose manual setup, and copy your personalized base code. Put it in the shared head on every eligible page. Pinterest says the sample is illustrative and recommends the account-generated code. This example uses a placeholder ID; do not deploy it as-is.

html
<!-- Pinterest Tag base example; use the code generated for your account -->
<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>
<noscript><img height="1" width="1" style="display:none;" alt="" src="https://ct.pinterest.com/v3/?tid=YOUR_TAG_ID&event=init&noscript=1" /></noscript>

For GTM, install the Pinterest base tag first and keep event tags separate. Do not combine manual and GTM installations. See Pinterest's base-code instructions and GTM setup.

2. Send checkout only after confirmation

Pinterest documents the lowercase checkout event. Add it only after the order is confirmed and the base has loaded:

js
pintrk('track', 'checkout');

For order details, use parameter names in the current event-code reference and map real transaction values. Do not hard-code revenue. In GTM, a data-layer message needs an event trigger and Pinterest tag mapping; by itself it is not sent to Pinterest.

3. Verify

Use Tag verification and event activity in Ads Manager. Check the Tag ID, one controlled test, and that reloading a receipt does not fire the same purchase again. Honor consent before loading the Tag. Browser activity is not proof of processing or attribution.

Use the dashboard to inspect browser-visible values; verify event activity in Pinterest Ads Manager.

Official references

EDITORIAL HISTORY

What changed

  1. v1.0
    Initial bilingual guide; provider setup and validation steps checked against official documentation.
  2. v1.1
    Revised both language versions with verified provider code and clearer data-layer-to-tag mapping; checked official setup and validation references.
  3. v1.2
    Completed the Pinterest base-code example with the official no-JavaScript fallback.
MEASUREMENT SUPPORT

Need a hand with your tracking?

Nicolas Salazar works with teams on analytics, tracking plans, data quality, consent, and implementation.