TikTok Ads
Integrate TikTok Conversion API with AnyTrack to leverage first-party data across marketing channels. Track conversions in real-time and optimize campaigns.
TikTok Ads Integration Overview
The TikTok Ads and AnyTrack integration allows digital marketers to share website visitor and customer journeys from any conversion source directly to the TikTok Conversion API.
Web events sync with TikTok to inform ads optimization, targeting, and measurement. Leverage the TikTok Events API to future-proof your marketing and enable friction-free data flows between AnyTrack and TikTok.
Events sent through the API enable dynamic showcase ads, custom targeting, campaign optimization, attribution, and custom audience building.
TikTok Event Mapping Update — Effective May 1st, 2025
If your TikTok pixel connected after May 1st, 2025, the default mapping of AnyTrack conversion events to TikTok Conversion API standard events changed. TikTok deprecated and renamed several events to align with broader platform standards. Existing connections remain unaffected.
🔁 TikTok Pixel Mapping: Before vs After
AnyTrack Event TikTok Event (Before May 1st) TikTok Event (After May 1st) Notes OutboundClickClickButtonViewContent🔄 ClickButtondeprecatedFormSubmitSubmitFormSubmitApplication✅ Aligned with new industry event ViewContentViewContentViewContent✅ No change AddToCartAddToCartAddToCart✅ No change InitiateCheckoutInitiateCheckoutInitiateCheckout✅ No change LeadLeadLead✅ No change CompleteRegistrationCompleteRegistrationCompleteRegistration✅ No change PurchaseCompletePaymentPurchase🔄 Renamed for consistency AddPaymentInfoAddPaymentInfoAddPaymentInfo✅ No change
Use TikTok Ads Integration If You Are:
- Running an eCommerce store — Leverage your audience and full customer journey to optimize TikTok Ads
- An Affiliate Marketer — Leverage first-party data and track 100% of conversions in TikTok Ads
- Running Lead Generation campaigns — Leverage CRM events with short or long sales cycles to optimize TikTok Ads
- A Creator or Product Owner — Sell coaching, SaaS, or products online and optimize campaigns on TikTok
Use Case: TikTok AnyTrack Integration for Shopify
The Central Hub: AnyTrack
AnyTrack collects customer data and web events from your Shopify store, including customer journeys, product views, and add-to-cart actions.
Real-Time Data Collection & Triggering
AnyTrack collects data and triggers the Conversion APIs of your connected ad platforms (Facebook Ads, Google Ads, TikTok Ads) in real-time.
Data Enrichment & Attribution
After collecting Shopify data, AnyTrack enriches and attributes it to your TikTok campaigns, just as it does for Facebook Ads and Google Ads. This ensures seamless customer journey tracking across all platforms.
Purchase Data & Conversion API
AnyTrack captures Shopify purchase data and sends it via Conversion API to Facebook Ads, Google Ads, and TikTok Ads for accurate attribution and audience enrichment.
AI-Driven Optimization Across Platforms
TikTok, Facebook, and Google use AnyTrack's rich data to auto-optimize campaigns across multiple platforms through AnyTrack's orchestration.
Holistic ROAS & Reporting
Calculate and compare ROAS across Facebook Ads, Google Ads, and TikTok. Implement multi-channel strategy orchestrated by AnyTrack.
Compliance & Data Integrity
AnyTrack ensures all data sent to TikTok, Facebook, and Google complies with privacy laws. For Shopify store owners using AnyTrack with Facebook and Google Ads, adding TikTok amplifies your marketing results.
TikTok Ads Integration Features
- Automatic Setup — No-code integration through standard authentication
- TikTok Conversion API — Send conversion data via API
- TikTok Tracking Tag — Send conversions via TikTok Web Tracking Tag
- Deduplication — Automatic event deduplication using TikTok parameters
- Budget Management — Manage campaign budgets directly from AnyTrack Dashboard
- PII Data Hashing — Customer emails and phone numbers hash with SHA256 before reaching TikTok servers
- eCommerce Conversion Data — Send standard eCommerce conversions with itemized orders, carts, checkouts, product IDs, and brand names
- Affiliate Conversion Data — Standard Affiliate Conversion Data mapping
- Lead Generation Funnels — Track form submit, lead, and registration conversions
- UTM Tracking Template — Pre-built template with dynamic URL parameters (campaign name, ID, ad set)
- Campaign Performance Reports — Full reports with attributed conversions and
revenuevs. real-time data - Tracking Tag Management — AnyTrack loads your TikTok Tracking Tag and standard events automatically
- Custom Audience Building — Build custom audiences from conversion data sent to TikTok
Benefits of TikTok and AnyTrack Conversion API Integration
- Clear Conversion Mapping — Define event mapping between AnyTrack standard events and TikTok events
- Default Mapping — TikTok Standard Events like
PlaceAnOrdermap automatically to AnyTrack Purchase Event with required parameters - Privacy-Enabled — Stay compliant with automatic PII hashing, normalization, and processing
- Increased Event Tracking — Track more events with improved accuracy and unified customer journeys across touchpoints
- Real-Time Custom Audiences — Create custom audiences from any event data collected in AnyTrack
- Ads Attribution & Optimization — Leverage conversion data for campaign attribution and ROAS optimization
Getting Started
- Create a TikTok For Business account
- Create a TikTok Tracking Tag in Developer Mode to obtain a Tag ID
- Have an AnyTrack account on the Basic, Personal, or Advance Plan with an active property
Deduplication: To benefit from both browser and server events and prevent duplicate data, remove your TikTok Tracking Tag from your website or shop. AnyTrack automatically loads your TikTok Tracking Tag once integration is complete.
Step 1: Connect AnyTrack with TikTok Conversion API
See the video tutorial (less than 2 minutes):
From the AnyTrack Dashboard:
- Click Tracking Tags, then TikTok
- Click Browse to load the TikTok authentication window
- Click Authorize the AnyTrack App
- You'll be redirected to the AnyTrack Dashboard
- Enable the TikTok Conversion API
- Scroll to Event Mapping and update as needed
- Save your settings
To prevent duplicate data and benefit from both web and API events, remove your TikTok Tracking Tag from your website or shop. AnyTrack automatically loads your TikTok Tracking Tag after integration completes.
Step #2 TikTok Conversion Event Mapping:
Any Conversions tracked by AnyTrack are mapped to TikTok Standard Conversion Events.
Step #3: Update your TikTok Pixel Settings
- Allow first-party cookies
- Enable Automatic Advanced Matching
Step #4: Verify your setup
You can send test events to the TikTok API and see the results in real time on your TikTok Test Event tab.
- In TikTok, navigate to the Test Event tab and copy the Test Event ID (keep the tab open)
- In AnyTrack: Navigate to the TikTok pixel settings, and paste the Test Event ID in the test field.
- Click on the TEST button
Step 5: Add the TikTok UTM Template to Your Ads
Unlike Facebook Ads or Google Ads, TikTok doesn't auto-append UTM parameters. Add the UTM template manually to your destination URL.
Copy the UTM Tracking Template from Tracking Tags → TikTok Tracking Tag → Ads Integration tab. Then in TikTok Ads Manager, go to Ad > Ad details and add the URL with the appended UTM template.
Example template:
https://www.example.com/?`utm_source`=tiktok&`utm_medium`=cpc&`utm_campaign`=__CAMPAIGN_NAME__&utm_id=__CAMPAIGN_ID__&`utm_term`=__CID_NAME__&`utm_content`=__AID_NAME__&ad_id=__CID__&ad_placement=__PLACEMENT__&adset_id=__AID__&ad_site=__CSITE__&ad_type=__CTYPE__
Save your changes. Go back to the Ads Integration tab in AnyTrack and click Verify Ads Settings (or Reload if you tried verification before).
Ads with the correct template display a green indicator. All traffic from these ads now attributes to the correct TikTok campaigns.
Deduplication with TikTok Tracking Tag and Conversion API
When you integrate TikTok with AnyTrack, your TikTok Tracking Tag loads automatically with all required parameters, including deduplication data.
If you receive TikTok warnings about duplicate data, check your code to verify you don't have the TikTok Tracking Tag or event code already setup in another system (like the TikTok App in Shopify).
<FaqAccordion
title="FAQ and Troubleshooting"
icon="fa-duotone fa-circle-question"
items={[
{
question: "How long does it take to see conversions in TikTok Ads Manager?",
answer: "Ad attribution takes 1 hour to several days depending on device type (iOS takes longer). AnyTrack shows conversions attributed to ads in near real-time."
},
{
question: "Do I need an Access Token?",
answer: "AnyTrack generates the Access Token automatically when you authenticate your account with TikTok."
},
{
question: "How do I send Matching parameters?",
answer: "AnyTrack automatically collects and sends matching parameters (email, phone, customer traits) to the TikTok Conversion API via direct integrations with Shopify or ClickFunnels to increase match rates."
},
{
question: "How does AnyTrack send Matching parameters for Affiliate Marketing?",
answer: "AnyTrack automatically collects anonymous first-party data as matching parameters."
},
{
question: "How do I verify conversions are sent to TikTok?",
answer: "Access the TikTok Web Diagnostics tab to inspect event data and troubleshoot issues."
},
{
question: "Does the integration work for Affiliate Marketers?",
answer: "Yes, AnyTrack tracks and sends all standard Affiliate Conversions to TikTok Ads."
},
{
question: "What is the TikTok Tracking Tag?",
answer: "A TikTok Tracking Tag is code that tracks conversions and user actions after viewing or clicking TikTok Ads. AnyTrack loads it automatically — no manual setup needed."
},
{
question: "How do I add TikTok Tracking Tag to Shopify?",
answer: "With AnyTrack, you don't need to add it manually — AnyTrack loads the TikTok Tracking Tag automatically."
},
{
question: "Do I need to set up the TikTok Tracking Tag?",
answer: "No, AnyTrack loads it on your behalf automatically."
},
{
question: "How do I create a TikTok Tracking Tag?",
answer: "Create it in your TikTok Ads account. See the official TikTok documentation for details."
}
]}
/>
{`
Get started with AnyTrack
The easiest way to connect your marketing stack and improve your match rate!
Start Tracking FreeBy submitting this form you accept our privacy policy
Updated 1 day ago
