Pinterest Tag Tracking Setup for WooCommerce
Quick answer: Use the free container builder wizard to select Pinterest Tag and your events, enter your tracking ID, then import the generated file into Google Tag Manager - no manual tag setup needed for any of the 23 events below.
Pinterest base tag and standard events, generated as Custom HTML. This platform does not have a native GTM tag type, so the container wraps its base code in a Custom HTML tag.
Build my Pinterest Tag container →
Events you can track
ecommerce events
- Pinterest Tag Page View event setup
- Pinterest Tag View Item event setup
- Pinterest Tag View Item List event setup
- Pinterest Tag Add to Cart event setup
- Pinterest Tag Remove from Cart event setup
- Pinterest Tag Begin Checkout event setup
- Pinterest Tag Add Payment Info event setup
- Pinterest Tag Purchase event setup
- Pinterest Tag Refund event setup
- Pinterest Tag Add to Wishlist event setup
- Pinterest Tag Coupon Applied event setup
- Pinterest Tag Search event setup
- Pinterest Tag Login event setup
- Pinterest Tag Sign Up event setup
engagement events
- Pinterest Tag Form Submission event setup
- Pinterest Tag Lead event setup
- Pinterest Tag Phone Click event setup
- Pinterest Tag WhatsApp Click event setup
- Pinterest Tag Email Click event setup
- Pinterest Tag Outbound Click event setup
- Pinterest Tag Scroll event setup
- Pinterest Tag File Download event setup
- Pinterest Tag Calendly Booking Scheduled event setup
By Humayun Kabir Naim — Last updated: 9 November 2026
Quick answer
To track a WooCommerce store in Pinterest through Google Tag Manager, first learn Pinterest's vocabulary: the sale your other platforms call Purchase is Pinterest's checkout event, a product view is viewcontent, a category page is viewcategory, and the base tag's page call is pagevisit. Then make the same decision as on TikTok: the official Pinterest for WooCommerce extension already installs the Tag and the Conversions API by itself, so if it is active and healthy, GTM should send no Pinterest events at all. If you want Pinterest inside GTM — one data layer feeding every platform identically — remove the extension's tracking first, then build: a base tag on every page, one event tag per Pinterest event translated from the same GA4-format data layer, line_items built with the WooCommerce product ID your catalog feed uses, and the order ID sent as the event_id on checkout so a later server copy deduplicates instead of doubling.
What gets tracked
Pinterest's standard set is smaller than the other platforms', and pretending otherwise produces custom events that look tracked and optimise nothing. This is the honest translation of this hub's events:
| WooCommerce dataLayer event | Pinterest event | Official extension sends it? |
|---|---|---|
| Page view (every page) | pagevisit | Yes — via the base tag's page call |
view_item_list (category page) | viewcategory | Partly — on category templates |
view_item | viewcontent | Yes |
add_to_cart | addtocart | Yes |
purchase | checkout | Yes — Tag and Conversions API |
search | search | Yes |
sign_up / registration | signup | Yes |
| Form submission / newsletter | lead | Partly — on supported forms |
begin_checkout | No standard event | No — send as a custom event only if you truly need the signal |
add_to_wishlist, remove_from_cart, add_payment_info | No standard event | No — custom events, or leave them to GA4 |
| Order refunded | — (no page exists) | No — server-side handling only, no standard event |
Two naming warnings run through this table. First, checkout is the conversion: bidding, shopping campaigns and conversion reporting all key on it, and it carries value, currency, order_quantity, order_id and line_items. Second, the snake_case spellings (page_visit, add_to_cart) belong to the Conversions API; in the browser tag the same events are single words (pagevisit, addtocart). A GTM tag that fires the API spelling into pintrk() has sent custom events with familiar-looking names. And every product-carrying event sends line_items, whose product_id Pinterest matches against your catalog — a catalog synced from WooCommerce identifies products by WooCommerce product ID, so if your data layer's item_id holds SKUs, translate in the variable (Step 3), not in the feed.
Deep dives: Purchase (Checkout), Add to Cart, View Item, Begin Checkout, Refund. Running GA4 too? Build the shared layer first: WooCommerce + GA4. See all options on the WooCommerce hub.
Before you start
- Choose who sends Pinterest — before touching any setting. Option A (keep the official extension): Pinterest for WooCommerce stays the only Pinterest sender, Tag + Conversions API + catalog sync together; GTM gets no Pinterest tags. Option B (replace with GTM): turn the extension's tracking off (or remove it, after replacing its catalog feed — see below), and GTM plus your server route send everything under your control. The accidental third option — extension active and GTM firing — doubles checkouts, because the extension generates its own event IDs and deduplication only works when both copies carry the same
event_id. - Check for the extension and the quiet senders. Look for Pinterest for WooCommerce under Plugins (settings at Marketing → Pinterest), plus all-in-one pixel plugins with Pinterest enabled, and a
pintrksnippet in the theme or a header/footer plugin. - A Pinterest business account, an advertiser, and your Tag ID — the numeric ID the tag loads with, the same one in every sender. If the extension's tag association and your GTM Tag ID differ, Pinterest will look broken while both setups "work".
- GTM installed, and the dataLayer working (Option B), with the catalog's ID convention confirmed: the extension's feed uses WooCommerce product IDs, so whatever sends your events must use the same IDs in
line_items. If your GA4 hub setup already works, the data layer half of this is done.
Route 1: Use the free TagManagerBuilder container
Open the GTM Container Builder, choose WooCommerce, then Pinterest, and tick the events you want. Enter your Tag ID, download the JSON, then in GTM go to Admin → Import Container and choose Merge → Overwrite conflicting tags, triggers, and variables. This container is the Option B build — the standard set as Custom HTML tags (GTM has no built-in Pinterest tag type) — so if you chose Option A, do not import it: the extension is already your sender. Import into the same workspace as your GA4/Meta containers so they share the data layer variables, and test with the testing section below before publishing.
Route 2: Build it manually in GTM
Step 1 — Settle the sender (Option B only)
Disable Pinterest for WooCommerce's conversion tracking (or deactivate the extension), and remove Pinterest from any all-in-one pixel plugin. Do it before the GTM tags go live: overlap is only forgiven when both senders share an event_id, and the extension's IDs are generated inside the extension — not taken from your order ID — so every day of overlap is a day of doubled checkouts. Keep the catalog question separate: if Pinterest's catalog is fed by the extension, stand up a replacement feed before removing it, or your shopping campaigns lose their products along with the tag.
Step 2 — The base tag
Tags → New, choose the Pinterest Tag template from the Community Template Gallery (or a Custom HTML tag with the base code — the TagManagerBuilder container uses Custom HTML), enter your Tag ID, and set the trigger to All Pages. The base code loads the tag, fires the page call (pagevisit) on every page, and captures the Pinterest click ID into the _epik cookie later events use for attribution. It is also where enhanced match attaches: pass the signed-in customer's email as a SHA-256 hash in the load call's em parameter, with consent. The extension does this automatically; a GTM build has to do it deliberately, from a variable that only resolves for logged-in customers.
Step 3 — Variables that translate the data layer into Pinterest parameters
Pinterest wants a line_items array; the data layer holds ecommerce.items with item_id, price and quantity. Create in Variables → New: Data Layer Variables (Version 2) for ecommerce.value, ecommerce.currency and ecommerce.transaction_id, plus a Custom JavaScript Variable called Pinterest Line Items that builds the array — and translates the ID if your layer carries SKUs while the catalog feed carries product IDs:
function() {
var items = {{DLV - ecommerce.items}} || [];
return items.map(function(item) {
return {
product_id: String(item.item_id),
product_name: item.item_name,
product_price: item.price,
product_quantity: item.quantity || 1
};
});
}
Step 4 — One event tag per Pinterest event
Create a Pinterest template tag (or a Custom HTML tag with a pintrk('track', ...) call) for each standard event you are responsible for, each on a Custom Event trigger matching the data layer event: view_item → viewcontent, add_to_cart → addtocart, purchase → checkout, search → search, sign_up → signup. Category pages are the one exception: viewcategory belongs on the category template itself (a Page View trigger limited to product-category pages), not on a data layer push most layers don't send reliably.
For the checkout tag, Pinterest's own event-code example is the shape to copy:
pintrk('track', 'checkout', {
event_id: '1042',
value: 129.99,
order_quantity: 1,
currency: 'USD',
order_id: '1042',
line_items: [
{ product_id: '123', product_name: 'Trail Running Shoes', product_price: 129.99, product_quantity: 1 }
]
});
The event_id here is the order ID — the same value your server copy must carry (next section). An event_id generated randomly per page load deduplicates nothing.
Step 5 — The events with no standard home (both options)
- Begin checkout, add payment info, wishlist, remove from cart: no Pinterest standard event exists for these in the core set. If a signal genuinely matters (a wishlist audience, say), send it as a clearly named custom event and accept that it reports as custom — do not rename it to a standard event it isn't. Refund: no standard event either; exclude refunded orders from optimisation audiences and never send a negative-value checkout.
- Lead: for stores collecting enquiries or newsletter signups, fire
leadon proven success (the success message or thank-you state), never on the button click — the same discipline as the WordPress × Meta hub.
Test it: GTM Preview, Tag Helper and Events history
- Click Preview in GTM and open the store in Tag Assistant. Shop like a customer: category page, product page, add to cart, checkout, test order.
- In the Preview timeline, click
view_item,add_to_cart, thenpurchase. Under Option B, your Pinterest tags sit under Tags Fired each time with the right parameters. Under Option A, confirm the opposite: no Pinterest tags fire from GTM at all. - Install the Pinterest Tag Helper Chrome extension and repeat the flow on the live store. It lists each event as Pinterest received it — name, parameters and the
event_id— the fastest way to catch a tag sendingadd_to_cart(the API spelling) instead ofaddtocart, or line items that left the page malformed. - In Pinterest Ads Manager, open the tag's event history and confirm the same flow arrives there, each event once. A checkout appearing twice is a second sender (Step 1), not a trigger problem. Only when the funnel is clean end to end, click Submit in GTM to publish.
Conversions API and deduplication — one rule, honestly stated
The Conversions API sends the same events from your server, recovering what the browser loses. Pinterest documents exactly one deduplication requirement: the same event_id on the tag copy and the API copy of the same event — send both with an identical ID and Pinterest deduplicates them; send different IDs and both count. Pinterest does not publish a merge window or field-merging behaviour the way Meta and TikTok document theirs, so this guide claims no more than that: use the order ID as the checkout event_id on both paths, generate any other event's ID once, pass the single value down both paths, and send the server copy promptly.
On WooCommerce the server copy normally comes from the official extension (Option A — automatic, and the reason adding GTM on top doubles) or from a server GTM container with a Pinterest Conversions API tag (Option B), where the ID discipline above is the whole game: the extension's internal IDs were never yours to match, which is precisely why the two senders cannot coexist. Verify in the tag's event history that a doubly-sent checkout shows as one deduplicated event. The full server-side picture lives in the Server-Side Tracking guide.
WooCommerce-specific troubleshooting
Checkouts are counted twice. Look for two senders before touching any setting: the official extension still active alongside GTM is the classic cause, and deduplication will not rescue it because the extension's event IDs are not your order IDs. Search your page source for pintrk — it should load only through GTM (Option B) or only through the extension (Option A), never both.
My events arrive, but Pinterest shows them as custom. Read the event name exactly. The tag wants single words (addtocart, pagevisit); the snake_case spellings (add_to_cart, page_visit) belong to the Conversions API. A GTM build that pastes API names into pintrk() creates custom events that never optimise.
Purchase optimisation is empty even though sales happen. You are probably sending an event literally named purchase. Pinterest's conversion is checkout — rename the tag's event, keep the trigger on the purchase data layer push.
Events fire in Preview but never reach Pinterest. Check the Tag ID first — one wrong digit sends everything to a tag nobody watches. Then confirm the base tag fired on the same page view; an event call without a working base tag goes nowhere. Finally test with an ad blocker disabled: a blocked tag looks exactly like a broken one. Weak match quality afterwards is the enhanced-match lever: the hashed em on the base tag's load call, sent with consent for signed-in customers.
Events arrive, but catalog ads do not learn. Inspect product_id inside line_items against the catalog: SKUs where the feed holds WooCommerce product IDs (or the reverse) is the usual break. Fix the mapping in the variable, not in the catalog.
Next steps once this is clean: WooCommerce + TikTok and WooCommerce + Meta from the same data layer, then Consent Mode v2 so consent choices reach every tag correctly.
Frequently asked questions
Should I keep the Pinterest for WooCommerce extension or move Pinterest into GTM?
Either can be right; running both for the same events is always wrong. Keep the extension if its Tag + Conversions API sending, its catalog feed and its automatic enhanced match cover your Pinterest activity — it is a complete sender. Move to GTM when you want one data layer feeding every platform identically, events the extension doesn't send, or deduplication keys built on your order IDs. Decide first; overlap first and questions second is how stores end up with a month of doubled checkouts.
Why is there no Purchase event in Pinterest?
Because Pinterest calls the same action checkout. It is the platform's primary conversion event and carries the value, currency, order ID and line items your campaigns optimise on. A tag sending an event named purchase has sent a custom event that reporting shows but bidding ignores.
Does deduplication work between the Pinterest Tag and the Conversions API?
Yes — when both copies of an event carry the same event_id. That is the documented requirement, and it is why the checkout tag in this guide uses the order ID: the server copy can carry the identical value. Copies with different IDs — which is what you get when the extension and GTM both send — are both kept.
My data layer sends SKUs, but the Pinterest catalog uses product IDs. Does it matter?
Yes — silently. Events arrive and look healthy, but a product_id in line_items that matches nothing in the catalog cannot power shopping campaigns or product-level optimisation. Align the variable's mapping to the feed's identifier, and keep every sender on the same convention.
I removed the extension and my Pinterest catalog disappeared. What happened?
The extension was doing two jobs: measurement and the product feed. Removing it removes both unless you replace the feed separately. Before deactivating, check whether your catalog in Pinterest is extension-sourced; if it is, stand up a standalone feed first, then remove the extension, then publish the GTM build — in that order.
Can I track begin_checkout on Pinterest like I do on Meta?
Not as a standard event — Pinterest's core set has no checkout-started equivalent. Send it as a custom event if the signal is genuinely useful, and know that it reports as custom. For most stores the honest answer is to let GA4 keep the funnel steps and let Pinterest keep the events it optimises on.