Pinterest Tag
Pinterest Tag is Pinterest's conversion tracking pixel. It loads the Pinterest Tag JavaScript SDK in the browser and forwards ecommerce events to Pinterest for campaign measurement, audience building, and automated bidding optimization. For server events, add the Pinterest Conversions API destination. See Pinterest for how the two fit together.
Getting started
Chord loads the Pinterest Tag for you, so you don't install any script.
You need your Pinterest Tag ID, found in your Pinterest Ads account under Ads > Conversions.
Settings
Destination Name (required): a name to tell this destination apart.
Pinterest Tag ID (required): your Pinterest Tag ID.
Use Enhanced Match Loading (optional): loads the tag with the traits of the signed-in user, when Chord has them. Off by default.
Consent Requirements (optional): the consent categories a visitor must accept before Chord sends data to this destination. See Consent.
Connect
Add Pinterest Tag from the destination catalog, using the settings above. See Connect a destination for the full steps.
Event mapping
Every event is sent with an event_id set to the Chord messageId, for deduplication. See Pinterest for how the two versions deduplicate.
page
PageVisit
identify
pintrk("set") only. No conversion event is sent
Products List Filtered
Search
Page events
Pinterest SDK call: pintrk("track", "PageVisit", pageProps)
properties.title
name
messageId
event_id
Identify events
Sets user identity for Pinterest enhanced matching.
Pinterest SDK call: pintrk("set", { np, em })
(hardcoded) "segment"
np
Integration name
properties.email > context.traits.email > traits.email
em
Lowercased and SHA-256 hashed in the browser. Omitted if there is no email
Event properties
Product List Viewed, Products Searched, Products List Filtered, Product Viewed, Product Added, Product Added to Wishlist, Checkout Started, Payment Info Entered, Order Completed, Signed Up and Email Captured all send these properties.
messageId
event_id
properties.query
search_query
properties.order_id
order_id
properties.coupon
coupon
properties.value
value
properties.currency
currency
Each product, as in Line items
line_items
Not sent for Signed Up and Email Captured. Omitted if the event has no products
Two events add more:
Product List Viewed also sends
namefromproperties.item_list_nameandcategoryfromproperties.category.Order Completed is skipped, with a console warning, when the order has no products.
Products come from properties.products[]. For single-product events such as Product Added, Chord reads the product from the top-level properties instead.
Pinterest SDK calls
Product List Viewed:
pintrk("track", "ViewCategory", data)Products Searched and Products List Filtered:
pintrk("track", "Search", data)Product Viewed:
pintrk("track", "ViewContent", data)Product Added:
pintrk("track", "AddToCart", data)Product Added to Wishlist:
pintrk("track", "AddToWishlist", data)Checkout Started:
pintrk("track", "InitiateCheckout", data)Payment Info Entered:
pintrk("track", "AddPaymentInfo", data)Order Completed:
pintrk("track", "Checkout", data)Signed Up:
pintrk("track", "Signup", data)Email Captured:
pintrk("track", "Lead", data)
Line items
When products are present, each product is mapped to a Pinterest line item:
product.name
product_name
product.product_id > product.sku
product_id
product.category
product_category
product.variant_id
product_variant_id
product.variant
product_variant
product.price
product_price
product.quantity
product_quantity
product.brand
product_brand
Custom events
Any track event that is not in the table above is sent under its Chord event name. The payload holds only event_id and the properties you add with destination mappings. See Custom property forwarding.
Pinterest SDK call: pintrk("track", eventName, properties)
Custom property forwarding
Configure destination mappings in Chord with properties.* destination paths to forward additional event properties into pintrk("track", ...) payloads. Only explicitly-configured non-schema fields are forwarded — nothing flows through automatically.
How to configure:
In Chord, open the destination's connection and find Property Mappings. See Property mappings for the steps.
Add a mapping with source path
properties.loyalty_tierand destination pathproperties.loyalty_tier.On the next event,
loyalty_tierwill appear in the event properties payload sent to Pinterest.
What is excluded:
Fields Chord already computes:
value,currency,order_id,coupon,query,search_term,products,item_list_name,categoryandtitle.PII fields (
email), which Chord handles separately for enhanced match.
A mapping to a field that Chord computes is ignored. The computed value is always the one sent.
Initialization
Chord loads https://s.pinimg.com/ct/core.js, then calls pintrk("load", tagId), followed by pintrk("page") to fire the initial page view. If Use Enhanced Match Loading is on and the first event has an email, the load call includes the SHA-256 hash of the email as { em }.
If another tag on the page has already loaded the Pinterest Tag, Chord doesn't load or initialize it again. It only sends events through the existing tag. If the script fails to load, later events are silently dropped.
CSP requirements
If your site uses a Content Security Policy, allow the following domains:
script-src
https://s.pinimg.com
connect-src
https://s.pinimg.com
Last updated
Was this helpful?