TikTok ePIG

TikTok
Enhanced Pixel Integration Gateway (ePIG)

Learn how TikTok's Enhanced Pixel Integration Gateway works, why it's crucial for your advertising success, and how ServerTrack simplifies the implementation process.

What is TikTok Enhanced Pixel Integration Gateway (ePIG)?

TikTok Enhanced Pixel Integration Gateway (ePIG) is TikTok's server-side tracking solution that allows you to send conversion events directly from your server to TikTok's advertising platform. Similar to Meta's Conversions API, ePIG provides a more reliable and privacy-compliant method of tracking conversions compared to browser-based pixel tracking.

TikTok Pixel vs ePIG

TikTok Pixel (Browser-side)

  • • Client-side JavaScript tracking
  • • Vulnerable to ad blockers
  • • Affected by cookie restrictions
  • • Limited by browser privacy policies
  • • Significant data loss potential
  • • Dependent on user's browser settings

Enhanced Pixel Integration Gateway (Server-side)

  • • Server-to-server data transmission
  • • Bypasses ad blockers completely
  • • More reliable data delivery
  • • Better privacy compliance
  • • Minimal data loss (5-10%)
  • • Independent of browser limitations

Why Do You Need TikTok ePIG?

Complete Conversion Tracking

ePIG captures conversion events that browser-based pixels miss, giving you a complete view of your TikTok ad campaign performance. This is especially important for mobile users where browser tracking is more restricted.

Better Algorithm Optimization

TikTok's algorithm relies on accurate conversion data to optimize ad delivery. With ePIG, you provide more complete data, enabling TikTok to better target your ideal audience and improve campaign performance.

Lower Cost Per Acquisition

More accurate conversion data helps TikTok's algorithm find the right users at the right time, reducing wasted ad spend and lowering your cost per acquisition (CPA).

Enhanced Privacy Protection

ePIG provides a more privacy-friendly approach to tracking, helping you comply with regulations like GDPR, CCPA, and Apple's App Tracking Transparency (ATT) requirements.

Future-Proof Your Tracking

As mobile browsers and apps implement stricter privacy controls, ePIG ensures your TikTok conversion tracking remains effective and reliable.

How Does TikTok ePIG Work?

The ePIG Integration Flow

  1. 1
    User Conversion: A user completes an action on your website or app (purchase, signup, add to cart, etc.)
  2. 2
    Event Capture: Your server captures the conversion event with all relevant data (event type, value, user identifiers, timestamps)
  3. 3
    Server-Side Transmission: ServerTrack sends the conversion data directly to TikTok's ePIG endpoint via secure API
  4. 4
    TikTok Processing: TikTok receives the data, matches it with ad interactions using event IDs, and updates your campaign metrics
  5. 5
    Campaign Optimization: TikTok's algorithm uses the accurate conversion data to optimize ad delivery, targeting, and bidding

Key Technical Components

  • Pixel Code: Your TikTok Pixel ID that identifies your ad account and campaigns
  • Access Token: A secure authentication token that authorizes your server to send events to TikTok
  • Event Data: Structured information about conversions including event name, value, currency, products, and user data
  • Event ID Deduplication: Unique event IDs ensure conversions aren't counted twice when both pixel and ePIG send the same event
  • User Matching: TikTok matches server events with user ad interactions using hashed identifiers (email, phone, etc.)

What You Need to Do

Step 1: Create Your Server Deck

Log into your ServerTrack dashboard and create a new Server Deck. This will provide you with a unique tracking domain and authentication credentials.

Go to Dashboard

Step 2: Install ServerTrack Script

Add the ServerTrack tracking script to your website. This script automatically handles sending conversion events to TikTok via ePIG.

The installation script is available in your Server Deck settings and can be easily integrated into any website platform.

Step 3: Configure TikTok ePIG

In your TikTok Events Manager, set up the Enhanced Pixel Integration Gateway:

  • Navigate to Events Manager → Data Sources → Web Events
  • Select your Pixel and go to Settings
  • Enable "Enhanced Pixel Integration Gateway"
  • Add your ServerTrack domain to the allowed domains list
  • Generate and configure your Access Token

ServerTrack provides detailed step-by-step instructions in your dashboard to guide you through this process.

Step 4: Track Conversion Events

Use ServerTrack's simple API to track conversion events on your website:

// Track a purchase
st('track', 'CompletePayment', {
  value: 149.99,
  currency: 'USD',
  content_type: 'product',
  content_ids: ['SKU123', 'SKU456'],
  contents: [
    {id: 'SKU123', quantity: 1, price: 99.99},
    {id: 'SKU456', quantity: 1, price: 50.00}
  ]
});

// Track add to cart
st('track', 'AddToCart', {
  value: 49.99,
  currency: 'USD',
  content_type: 'product',
  content_ids: ['SKU789'  ]
});

ServerTrack automatically formats and sends these events to TikTok's ePIG endpoint.

Why Use ServerTrack for TikTok ePIG?

Simplified Setup

No complex server configuration needed. ServerTrack handles all the technical complexity, making ePIG setup accessible to everyone.

Automatic Event Deduplication

ServerTrack automatically generates unique event IDs and handles deduplication, ensuring accurate conversion counts.

Real-time Event Delivery

Conversion events are sent to TikTok instantly, providing real-time data for campaign optimization and reporting.

Multi-Platform Support

Track conversions from websites, mobile apps, and other platforms all through a single ServerTrack integration.

Error Handling & Retry Logic

Built-in error handling and automatic retry mechanisms ensure your conversion data reaches TikTok reliably.

Comprehensive Analytics

Monitor your ePIG integration health, event delivery status, and troubleshoot issues directly from your dashboard.

Common TikTok ePIG Events

CompletePayment

Track successful purchases and transactions

Use for: E-commerce purchases, subscription signups, paid conversions

AddToCart

Track when users add items to their shopping cart

Use for: Shopping behavior analysis, cart abandonment campaigns

InitiateCheckout

Track when users start the checkout process

Use for: Optimizing checkout flow, retargeting campaigns

ViewContent

Track when users view product pages or content

Use for: Content engagement, product interest tracking

Search

Track search queries on your website

Use for: Understanding user intent, optimizing search results

Contact

Track form submissions and contact actions

Use for: Lead generation campaigns, contact form tracking

Ready to Implement TikTok ePIG?

Get started with TikTok Enhanced Pixel Integration Gateway today and improve your ad campaign performance.