Quick answer

For Shopify stores: install the Pinterest app, connect your business account — done. For other platforms: get your tag ID from Pinterest Ads Manager (Ads → Conversions → Tags → Create), paste the base code in your site's <head>, then add event code on key pages. Verify with Pinterest Tag Helper Chrome extension.

Method 1: Shopify (Recommended for Shopify Stores)

Pinterest's Shopify app is the easiest and most reliable installation method. It handles the base tag, all standard events, and Conversions API automatically.

  1. Go to Shopify App Store → search "Pinterest" → install the official Pinterest app
  2. Log in with your Pinterest business account
  3. Follow the connection wizard — it links your catalog and installs the tag
  4. Enable "Enhanced Match" in the app settings (sends hashed email for better attribution)
  5. Verify using Pinterest Tag Helper — visit your homepage and check the extension

The Shopify app fires these events automatically: page_visit, add_to_cart, checkout, lead. No additional code required.

Method 2: Google Tag Manager

If you're using GTM (and don't have the Shopify app available), this is the cleanest non-Shopify setup.

  1. Get your Pinterest tag ID: Pinterest Ads Manager → Ads → Conversions → Tags → Create tag
  2. In GTM: New Tag → Tag Configuration → discover community templates → search "Pinterest"
  3. Select the Pinterest Tag template, enter your tag ID
  4. Set trigger: All Pages (for the base tag)
  5. Add a second tag for the checkout event — trigger on your order confirmation page URL
  6. Add a third tag for add_to_cart — trigger on add-to-cart button click or cart URL
  7. Preview mode → verify events fire on the correct pages → Publish

Method 3: Manual Installation

If you're not on Shopify and don't use GTM, install the tag directly in your theme code.

Step 1 — Base tag in <head>

Get your tag ID from Pinterest Ads Manager. Add this code to every page's <head> (replace YOUR_TAG_ID):

<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', {em: '<user_email_address>'});
pintrk('page');
</script>

Step 2 — Purchase event on order confirmation page

<script>
pintrk('track', 'checkout', {
  value: ORDER_TOTAL,
  order_quantity: ITEM_COUNT,
  currency: 'USD',
  order_id: 'ORDER_ID'
});
</script>

Step 3 — Add to cart event

<script>
pintrk('track', 'addtocart', {
  value: PRODUCT_PRICE,
  order_quantity: 1,
  currency: 'USD'
});
</script>

Verifying the Tag

Pinterest Tag Helper (Chrome extension)

Install the Pinterest Tag Helper extension. Visit your site. The extension shows:

Pinterest Ads Manager Tag Health

Ads Manager → Ads → Conversions → Tags → select your tag. The Health column shows:

Standard Events Reference

EventWhen to FireKey Parameters
page_visitEvery page load (base tag handles this)None required
view_categoryCategory/collection pagesproduct_category
searchSite search results pagesearch_query
add_to_cartAdd to cart button clickvalue, currency
checkoutOrder confirmation pagevalue, order_id, currency
leadEmail sign-up confirmationlead_type

Common Setup Mistakes

Free resource

Pinterest Tracking Troubleshooter

Step-by-step checklist for diagnosing tag, conversion, and attribution issues.

Download Free →
Free tracking troubleshooter Tag not firing? Conversions not recording?

Step-by-step diagnosis for every Pinterest tracking issue — tag gaps, conversion drops, GA4 discrepancies, attribution windows, and CAPI setup.

No spam. Unsubscribe anytime.


Need tracking set up as part of full campaign management?

Decor Ads Pro handles tag setup, catalog, and campaign management for home decor brands.

Visit Decor Ads Pro →