Pinterest Tag

Pinterest Tag

Pinterest Tag is a JavaScript tracking pixel for Pinterest's advertising platform. The tag fires on advertiser websites to track page views, search events, add-to-cart actions, and checkout conversions. Sets cookies to match website visitors with Pinterest user profiles for conversion attribution, retargeting audience building, and campaign optimization.

Overview

Pinterest Tag is a JavaScript tracking pixel that serves as the foundation of Pinterest's advertising measurement infrastructure. It is the primary script that websites install to enable Pinterest conversion tracking, audience building, and campaign analytics. Nearly every website running Pinterest ad campaigns will have the Pinterest Tag deployed across their pages.

What This Script Does

The Pinterest Tag loads from s.pinimg.com/ct/core.js and initializes with the advertiser's unique tag ID. Once loaded, it fires on every page view and tracks a comprehensive set of user interactions. The tag uses the pintrk global function for event tracking.

On initialization, the tag:

  1. Sets tracking cookies for persistent user identification:

    • _pin_unauth — anonymous visitor identifier; 1-year expiry; tracks users across all websites with the Pinterest Tag, even if they have no Pinterest account
    • _pinterest_ct_ua — user agent tracking cookie for device-level analytics
    • _epik — enhanced match identifier for first-party conversion attribution; 1-year expiry
    • _derived_epik — derived enhanced match cookie for additional attribution matching
  2. Fires a PageVisit event automatically, recording the page URL, referrer, and page metadata

  3. Listens for custom events configured by the advertiser:

    • checkout — purchase completed (with value, order ID, product IDs)
    • addtocart — product added to cart (with product details)
    • signup — user registration completed
    • lead — lead form submitted
    • search — search performed (with search query)
    • viewcategory — category page viewed
    • custom — any custom-defined event
  4. Enhanced matching — When configured, the tag collects hashed email addresses and other customer identifiers to improve conversion attribution rates by matching website visitors to Pinterest users

All event data is sent to ct.pinterest.com via pixel requests. The data package includes the event type, event metadata, Pinterest tracking cookies, page context, and any enhanced match parameters.

The Pinterest Tag enables three core advertising features:

  • Conversion tracking — Measuring which promoted pin campaigns drive website actions
  • Audience building — Creating retargeting audiences based on website behavior (visited specific pages, added to cart, purchased)
  • Actalike audiences — Pinterest's equivalent of lookalike audiences, built from Tag data to find new users who resemble existing customers

Consent & Compliance

Pinterest Tag is classified as marketing. It is an advertising measurement and audience building tool with no functional purpose for the website visitor.

Under the GDPR, the Pinterest Tag requires explicit consent before loading. It processes personal data extensively — tracking cookies, browsing behavior, purchase events, potentially hashed email addresses — for advertising purposes. The _pin_unauth cookie's ability to track users who have no Pinterest account across multiple websites makes the consent requirement especially clear. Legitimate interest cannot justify this scope of cross-site advertising tracking.

Under the ePrivacy Directive, the Pinterest Tag sets multiple cookies for advertising purposes that are entirely unrelated to any service the user has requested. Article 5(3) requires prior informed consent. The 1-year expiry on the primary tracking cookies further demonstrates that these are not transient, session-based storage but persistent advertising identifiers.

Under CCPA/CPRA, the Pinterest Tag constitutes both sharing and potentially selling personal information for advertising. The cross-site tracking via _pin_unauth, the enhanced matching with hashed email addresses, and the audience building for ad targeting all fall under CPRA's definition of sharing for cross-context behavioral advertising. Websites must provide "Do Not Sell or Share" opt-out and honor GPC signals.

Should You Block This Without Consent?

Yes. The Pinterest Tag is a marketing tracker that fires on every page load, sets year-long tracking cookies (including for users without Pinterest accounts), collects detailed browsing and purchase behavior, and enables advertising audience building. It must be blocked until the user explicitly consents to marketing tracking. This is one of the most aggressive social platform tracking tags in terms of anonymous user identification.

Visit website

Consent Categories

Marketing

Also Known As

Pinterest pixelPinterest tracking tagPinterest conversion pixelpintrkPinterest analytics

Industries

Computers Electronics and Technology

Tracked Domains (1)

t.pinterest.comMarketing

Frequently Asked Questions

Does the Pinterest Tag require explicit cookie consent?

Yes. Pinterest Tag is a marketing tracker. It sets year-long cookies including _pin_unauth, which tracks anonymous visitors who have never used Pinterest across all sites with the tag installed. GDPR requires explicit opt-in; ePrivacy requires consent before any of these advertising cookies are placed.

What cookies does the Pinterest Tag set?

Pinterest Tag sets _pin_unauth (1-year, anonymous cross-site visitor ID), _pinterest_ct_ua (1-year, user agent tracking), _epik (1-year, enhanced match identifier for conversion attribution), and _derived_epik (additional attribution matching cookie). Events are sent to ct.pinterest.com.

How does ConsentStack manage the Pinterest Tag?

ConsentStack classifies Pinterest Tag as marketing. The s.pinimg.com/ct/core.js library is blocked on page load until the visitor grants marketing consent. Once consent is given, ConsentStack allows the tag to initialize and begin firing PageVisit and custom conversion events for campaign attribution.

Other Pinterest Products

Related Vendors

Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Google Ads
Google Ads
Google Ads is Google's advertising platform for search, display, and remarketing campaigns. Conversion tracking scripts fire on advertiser landing pages to measure actions taken after ad clicks. The remarketing tag builds audience lists for retargeting users across Google's ad network.
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag is the Universal Event Tracking pixel for Microsoft's ad platform, formerly Bing Ads. The JavaScript tag fires on advertiser websites to track page views, conversions, and custom events for campaign optimization. Sets cookies to identify visitors across sessions and attribute conversions to Microsoft Search and Audience Network ad clicks.
Microsoft Dynamics 365
Microsoft Dynamics 365
Microsoft Dynamics 365 is a suite of CRM and ERP applications that integrates with websites through tracking scripts and embedded forms. Web tracking code captures visitor behavior, page views, and form submissions to build customer profiles and score leads. Sets cookies to identify returning visitors and attribute marketing touchpoints across sessions.
Microsoft
Microsoft
Runs Clarity (session recording and heatmaps), the Microsoft Advertising UET tag (conversion tracking), and Bing's remarketing pixel. Clarity injects a recording script that captures mouse movements, clicks, and rage clicks. The UET tag fires conversion events to tie ad clicks to on-site actions across Microsoft's ad network.
LinkedIn Insight Tag
LinkedIn Insight Tag
LinkedIn Insight Tag is a JavaScript tracking pixel for LinkedIn's advertising and analytics platform. The tag fires on every page view to collect URL, referrer, IP address, and device data for conversion tracking, website demographics reporting, and retargeting audience building. Sets cookies to identify LinkedIn members across advertiser websites.

Manage consent for Pinterest Tag

ConsentStack automatically detects and manages Pinterest Tag trackers so your site stays compliant with global privacy regulations.