Logo of TAGGRS, written in blue and with a small favicon
HomeServer-side Tracking
Start for free
Introduction
Get started
Get started with TAGGRSSet up Google Tag ManagerAdd the GTM Data LayerConfigure GTM transformationsTest the setupDebuggingAnalytics dashboard
Migrate from Google CloudMigrate from hosting
Shortcuts
GTM Copy PasteReady-made templates
GA4 Server-side Tracking
Setup in GTMCreate GA4 Event TagsGA4 tag setup in server containerE-commerce events in GTM
Google Ads Server-side Tracking
Install Conversion LinkerSet up Conversion TrackingConfigure Enhanced ConversionsDeploy Remarketing Tags
Facebook Server-side Tracking
Set Meta PixelImprove your EMQ ScoreInstall Meta CAPIMeta Events DeduplicationMeta CAPI Gateway
LinkedIn Server-side Tracking
Install LinkedIn Insight TagSet up LinkedIn CAPILinkedIn Events Deduplication
TikTok Server-side Tracking
Set up TikTok PixelInstall TikTok Events APITikTok Events Deduplication
Pinterest Server-side Tracking
Set up Pinterest TagConfigure Pinterest Conversions APIPinterest Events Deduplication
Snapchat Server-side Tracking
Set up Snap PixelSnapchat Conversions APISnapchat Events Deduplication
TAGGRS Tracking Tags and Tools
Tracking TagsGoogle Service Account integrationsGTM LogsProfit TrackingData Enricher ToolWebhooks TesterEnhanced Tracking ScriptMulti Domain ToolClick ID RecoveryConsent Tool
Configurations
Billy Grace Server-side TrackingLeadPages Server-side TrackingPiwik PRO Server-side TrackingCDN Server-side TrackingShopify Server-side TrackingActiveCampaign Server-side TrackingKlaviyo Server-side Tracking
Server-side Tracking for e-commerce
Shopify Data LayerShopware Data LayerMagento Data LayerWooCommerce Data LayerPrestashop Data LayerLightspeed Data Layer
Consent Management server-side
Activate Consent ModeConfigure TAGGRS with Axeptio

Prevent duplicate Pinterest events

Pairing the Pinterest Tag (client-side) with the Pinterest Conversions API (server-side) allows you to combine speed with reliability, capturing more complete conversion data while staying resilient to browser restrictions and tracking prevention. To make this setup work correctly, enable better attribution, and avoid inflated conversion counts, Pinterest Event Deduplication is crucial.

This guide outlines a step-by-step approach to configuring Pinterest Event Deduplication using Google Tag Manager (GTM) and TAGGRS. It includes helpful links to deeper resources and examples, with additional pointers for those ready to explore more advanced Pinterest tracking practices.

Generate a unique Event ID

  1. Use a random string, UUID, or a combination of timestamp and transaction ID for uniqueness.
  2. Generate the event_id in your website’s data layer or with a GTM Custom JavaScript variable.
Example Custom JavaScript Variable:

function() {
 return 'tt_evt_' + Date.now() + '_' + Math.floor(Math.random() * 100000);
}

Push the Event ID to the data layer

On the relevant event (e.g., purchase, add_to_cart), push the event_id along with other event data:

window.dataLayer.push({
  event: 'purchase',
  event_id: 'tt_evt_1721456789123_45678',
  // ...other parameters
});

Reference the Event ID in GTM (web and server)

  1. In GTM web container (Pinterest Tag): Add event_id as a parameter.
  2. In sGTM server container (CAPI): Add event_id to your HTTP request payload.

Test deduplication

Use GTM Preview mode and Pinterest diagnostics to ensure deduplication is working and only one conversion is counted per user action.

Best practices

  • Always generate and assign the event_id at the moment of the user action.
  • Use the exact parameter name event_id in both implementations.
  • Ensure uniqueness to avoid accidental deduplication of separate actions.

Useful resources

Pinterest server-side tracking - The full manual
Find expert support
Previous
Pinterest CAPI
Next
Snap Pixel
Copyright © 2025 TAGGRS. All right reserved.
TABLE OF CONTENTS
Generate a unique Event IDPush the Event ID to the data layerReference the Event ID in GTM web container (TikTok Pixel)Reference the Event ID in GTMTest deduplicationBest practicesUseful resources