TikTok Ads

Connect TikTok Ads to AnyTrack and send conversions through the TikTok Conversion API. Get accurate attribution and real-time optimization signals across affiliate, eCommerce, and lead generation campaigns.

The TikTok Ads integration lets AnyTrack send conversions to the TikTok Conversion API so you can optimize campaigns, build audiences, and report on attributed revenue. AnyTrack handles event mapping, deduplication, and PII hashing automatically.

Before you begin

  • You have an active AnyTrack account on a Starter, Personal, or Advance plan
  • You have an active TikTok Ads account
  • The AnyTrack Tracking Tag is installed on your website

Important

Remove any existing TikTok pixel installed via Shopify, Google Tag Manager, or theme code before completing the setup. AnyTrack loads the TikTok Tracking Tag with deduplication parameters automatically — duplicate installations break dedup and can double-count conversions.

Step 1: Connect AnyTrack with TikTok

From the AnyTrack Dashboard:

  1. Open Tracking Tags — Click Tracking Tags, then TikTok.
  2. Authorize — Click Browse to open the TikTok authentication window, then click Authorize the AnyTrack App.
  3. Confirm redirect — You return to the AnyTrack Dashboard with the TikTok connection live.
  4. Enable the TikTok Conversion API — Toggle it on in the TikTok pixel settings.
  5. Save your settings.

Step 2: Configure Event Mapping

Conversions tracked by AnyTrack are mapped to TikTok standard events. Default mappings cover the standard funnel events — review them and adjust if your funnel needs custom mapping.

TikTok Conversion API event mapping in the AnyTrack Dashboard

Step 3: Update Your TikTok Pixel Settings

In TikTok Ads Manager:

  1. Allow first-party cookies on the pixel.
  2. Enable Automatic Advanced Matching.

Both settings improve Event Match Quality when AnyTrack sends conversions.

Step 4: Verify Your Setup

You can send test events to the TikTok Conversion API and confirm they arrive on TikTok's side:

  1. In TikTok, open the Test Event tab and copy the Test Event ID. Keep the tab open.
  2. In AnyTrack, open the TikTok pixel settings and paste the Test Event ID into the test field.
  3. Click TEST.

Test events appear in TikTok's Test Event tab within a few seconds.

TikTok Test Event tab showing AnyTrack-sent events

Step 5: Add the TikTok UTM Template to Your Ads

Unlike Facebook Ads or Google Ads, TikTok does not auto-append UTM parameters. Add the UTM tracking template manually so AnyTrack can attribute traffic to the right campaigns.

Copy the template from Tracking Tags → TikTok Tracking Tag → Ads Integration tab. In TikTok Ads Manager, go to Ad → Ad details and paste 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 in TikTok, then return to the Ads Integration tab in AnyTrack and click Verify Ads Settings (or Reload if you ran verification earlier). Ads with the correct template show a green indicator and attribute correctly.

How the TikTok Conversion API Works

TikTok's Conversion API (also called the Events API) accepts conversion events directly from your server, complementing the browser-loaded TikTok Pixel. Server-side delivery bypasses ad blockers, ITP cookie expiry, and abandoned page loads. The conversion reaches TikTok even when the browser cannot fire the pixel.

AnyTrack runs the full Conversion API pipeline so you do not need to manage authentication, retries, or field mapping:

  • Authentication — AnyTrack generates and rotates the TikTok Access Token when you authorize your TikTok account.
  • Event mapping — AnyTrack maps every AnyTrack event to the matching TikTok standard event and forwards it via the Conversion API endpoint.
  • PII hashing — Customer email and phone are hashed with SHA-256 before they reach TikTok. AnyTrack handles lowercase normalization and trimming automatically.
  • Click ID forwarding — The ttclid (TikTok Click ID) captured at landing is attached to every conversion so TikTok attributes it to the original ad click.
  • Deduplication — AnyTrack tags every conversion with a shared event_id so TikTok deduplicates the browser pixel event and the server-side event when both fire.

For the full server-side architecture and how it applies across every ad platform, see Server-Side Tracking.

Server-Side vs Browser-Side Tracking on TikTok

TikTok provides two complementary tracking layers:

TikTok Pixel (Browser)TikTok Conversion API (Server)
Where it runsVisitor browserAnyTrack server
Blocked by ad blockersYesNo
Blocked by ITP / cookie expiryYesNo
Captures ttclidYes (from URL)Yes (forwarded by AnyTrack)
Hashes PIINoYes (SHA-256)
Real-time deliveryYesYes

The recommended setup is hybrid: both layers active simultaneously, with a shared event_id so TikTok deduplicates the matched pair. AnyTrack ships hybrid by default. Connect your TikTok account and AnyTrack loads the pixel and starts server-side delivery on the same day.

If you previously installed the TikTok Pixel manually or through Shopify's TikTok app, remove that installation. The pixel AnyTrack loads carries the deduplication parameters; a second manually-installed pixel inflates event counts in TikTok Events Manager.

TikTok Integration Features

  • No-code authentication — Connect through standard TikTok OAuth in one click.
  • Conversion API and Tracking Tag — AnyTrack sends conversions through both channels with automatic deduplication.
  • PII hashing — Customer emails and phone numbers are hashed with SHA-256 before reaching TikTok.
  • eCommerce conversion data — Itemized orders with product IDs, names, prices, quantities, and brand names.
  • Affiliate conversion data — Standard affiliate conversion mapping out of the box.
  • Lead generation events — Track FormSubmit, Lead, and CompleteRegistration conversions.
  • UTM tracking template — Pre-built template with dynamic campaign placeholders.
  • Campaign reports — Attributed conversions, revenue, and ROAS in the AnyTrack Campaign Report.
  • Custom audience signals — Conversion data feeds TikTok audience building automatically.
  • Budget management — Adjust TikTok campaign budgets from the AnyTrack Dashboard.

Related Resources

FAQ and Troubleshooting

FAQ was last reviewed on 2026-05-25

TikTok processes Conversion API events within 2 hours under normal conditions. New pixels can take up to 12 hours due to SDK cache, and iOS attribution can take up to 72 hours. AnyTrack shows conversions in near real-time regardless of TikTok's processing schedule.
No. AnyTrack generates and stores the Access Token automatically when you authenticate TikTok during setup.
AnyTrack collects matching parameters automatically — email, phone, name, and other customer traits from direct integrations like Shopify or ClickFunnels, and anonymous first-party data for affiliate marketing. All PII is hashed with SHA-256 before it reaches TikTok.
Yes. AnyTrack tracks and sends all standard affiliate conversions to TikTok Ads, with matching parameters built from anonymous first-party data.
No. AnyTrack loads the TikTok Tracking Tag automatically when you connect TikTok, including on Shopify stores. Remove any standalone TikTok pixel from your site to avoid duplicates.
Open the TikTok Web Diagnostics tab in TikTok Ads Manager to inspect event data in real time. You can also use the Test Event flow described in Step 4.

Get started with AnyTrack

The easiest way to connect your marketing stack and improve your match rate!

By submitting this form you accept our privacy policy