About Tracking

Services

Google Ads Management Meta Ads Management Website Design & Build Local SEO Social Media Management Tracking & Conversions

Ad Platform Tracking

Meta Pixel + CAPI TikTok CAPI LinkedIn CAPI Snapchat CAPI Pinterest CAPI Quora Pixel Bing + UET Tag

Google Ecosystem

Google Ads Tracking GA4 Setup & Audit Google Tag Manager

Advanced Solutions

Server-Side Tracking Looker Studio Offline Conversion
Case Studies Blog Free Checklist Book Free Audit →
TikTok CAPIActivewear Brand · DTC AustraliaAustralia

A missing dedup key doubled every TikTok purchase — the real CPA was 2.1x

2.1xTrue TikTok CPA — was appearing as 1.05x before fix
50%Conversion count reduction after dedup — matching Shopify exactly
SameActual purchases — only the double-count was removed

The situation

An Australian activewear brand had correctly implemented both the TikTok pixel AND the Events API (rare). Their TikTok rep praised their setup. But conversion volume was 2x what Shopify showed and media buyers couldn't reconcile the numbers.

The problem

The TikTok pixel was firing on the confirmation page. The Events API was sending a purchase event from a Shopify webhook. Both were correctly implemented. The missing piece: no event_id was set on either side. TikTok's deduplication algorithm requires a matching event_id on both the pixel event and the CAPI event to identify them as the same purchase. Without it, TikTok counts both as separate conversions.

What we did

  1. Audited TikTok pixel network calls — event_id field was absent from the pixel payload
  2. Audited Events API payload in TikTok server logs — event_id field was also absent
  3. Added event_id = "purchase_" + Shopify order ID to the pixel event via GTM dataLayer
  4. Added the same event_id format to the Shopify webhook payload sent to TikTok Events API endpoint
  5. Confirmed dedup working within 24 hours — conversion volume halved to match Shopify

Why it worked

TikTok's documentation recommends event_id for deduplication but doesn't make it mandatory — the Events API accepts events without it. This means a correctly-deployed CAPI + pixel stack can still double-count every conversion if event_id is absent. TikTok won't warn you. The only way to catch it is comparing CAPI conversion count against Shopify order count.

“We had both TikTok pixel and Events API running — we thought we were doing everything right. Saifur spotted that our event_id was missing from both sides so TikTok was counting every purchase twice. Our true CPA was 2.1x, not 1.05x. After the fix our numbers matched Shopify exactly.”
Brooke T.
Performance Marketer · Activewear Brand · Australia · Apr 2025