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 sends every conversion it tracks, regardless of the conversion source: eCommerce orders, funnel and CRM events, and affiliate network commissions all reach TikTok. When the original session includes a TikTok Click ID, AnyTrack attaches it for TikTok attribution. AnyTrack handles event mapping, deduplication, and PII hashing automatically.
Before Step 1: Create a TikTok Pixel in TikTok
Section titled “Before Step 1: Create a TikTok Pixel in TikTok”AnyTrack connects to a TikTok Pixel that already exists in your TikTok Ads account. If you do not have one, create it in TikTok first (TikTok: Set up and verify Pixel):
- In TikTok Ads Manager, go to Tools → Events Manager.
- Click Connect Data Source, then select Web.
- Enter your website URL, then select Manual Setup.
- Create and name the pixel.
Do not install the TikTok base code on your website, and do not paste it into AnyTrack. AnyTrack loads the pixel for you after you connect it in Step 1.
Step 1: Connect AnyTrack with TikTok
Section titled “Step 1: Connect AnyTrack with TikTok”From the AnyTrack Dashboard:
- Open Tracking Pixels — Click Tracking Pixels, then TikTok.
- Authorize — Click Connect TikTok Pixel to open the TikTok authentication window, then click Authorize the AnyTrack App.
- Select the pixel — You return to the AnyTrack Dashboard. Select your Advertiser and your Pixel, then click Connect TikTok Pixel.
- Enable the TikTok Conversion API — Toggle it on in the TikTok Pixel settings.
- Save your settings.
Step 2: Configure Event Mapping
Section titled “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.
Step 3: Update Your TikTok Pixel Settings
Section titled “Step 3: Update Your TikTok Pixel Settings”In TikTok Ads Manager:
- Allow first-party cookies on the pixel.
- Enable Automatic Advanced Matching.
Both settings improve Event Match Quality when AnyTrack sends conversions.
Step 4: Verify Your Setup
Section titled “Step 4: Verify Your Setup”You can send test events to the TikTok Conversion API and confirm they arrive on TikTok’s side:
- In TikTok, open the Test events tab and copy the test code. Keep the tab open.
- In AnyTrack, open the TikTok Pixel settings and paste the test code into the test field.
- Click TEST.
Test events appear in TikTok’s Test Event tab within a few seconds.
Step 5: Add the TikTok UTM Template to Your Ads
Section titled “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 Pixels → TikTok Pixel → 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
Section titled “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 stores the TikTok Access Token when you authorize your TikTok account.
- Event mapping — AnyTrack maps most standard events to TikTok standard events by default, and sends them through the Conversion API endpoint.
UpsellandSchedulehave no default mapping. To send them to TikTok, map them in Conversion Event Mapping. - PII hashing — Customer email and phone are hashed with SHA-256 before they reach TikTok. AnyTrack handles lowercase normalization and trimming automatically.
- Click ID matching — The
ttclid(TikTok Click ID) collected at landing is attached to every conversion so TikTok attributes it to the original ad click. - Deduplication — AnyTrack tags every conversion with an
event_id. AnyTrack sends each conversion that the Tracking Tag tracks in the browser from the TikTok Pixel and from the Conversion API. Both events carry the sameevent_id, so TikTok deduplicates the pair. A conversion that comes only from an integration (a custom integration, a CRM, or an affiliate network) has no browser event. AnyTrack sends that conversion through the Conversion API only.
For the full server-side architecture and how it applies across every ad platform, see Conversion API.
Server-Side vs Browser-Side Tracking on TikTok
Section titled “Server-Side vs Browser-Side Tracking on TikTok”TikTok provides two complementary tracking layers:
| TikTok Pixel (Browser) | TikTok Conversion API (Server) | |
|---|---|---|
| Where it runs | Visitor browser | AnyTrack server |
| Blocked by ad blockers | Yes | No |
| Blocked by ITP / cookie expiry | Yes | No |
Collects ttclid | Yes (from URL) | Yes (passed by AnyTrack) |
| Hashes PII | No | Yes (SHA-256) |
| Real-time delivery | Yes | Yes |
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.
The matched pair exists only for conversions that the Tracking Tag tracks in the browser. A conversion that comes only from an integration (a custom integration, a CRM, or an affiliate network) has no browser event. AnyTrack sends that conversion through the Conversion API only, so TikTok has no pair to deduplicate.
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.
Turn the TikTok Pixel Off in Tracking Pixels
Section titled “Turn the TikTok Pixel Off in Tracking Pixels”Each pixel in Tracking Pixels has a Settings tab with the Enable Tracking switch. The switch is on by default.
If you turn Enable Tracking off and click Save, AnyTrack stops all tracking for that pixel:
- The Tracking Tag does not load the TikTok Pixel in the browser of your visitors.
- AnyTrack does not send conversions to TikTok through the Conversion API.
Server-side events do not continue when Enable Tracking is off. The TikTok Pixel has no Enable Server Only Tracking option. That option exists for the Meta Pixel only. See Facebook Ads.
The change can take up to 20 minutes to apply. To resume tracking, turn Enable Tracking on and click Save.
TikTok Integration Features
Section titled “TikTok Integration Features”- No-code authentication — Connect through standard TikTok OAuth in one click.
- Conversion API and Tracking Tag — AnyTrack sends the conversions that the Tracking Tag tracks in the browser through both channels, with a shared
event_id. AnyTrack sends the conversions that come only from an integration through the Conversion API only. - 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, and quantities.
- Affiliate conversion data — Standard affiliate conversion mapping out of the box.
- Lead generation events — Track
FormSubmit,Lead, andCompleteRegistrationconversions. - 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.
Playbook
- Shopify
- TikTok Ads
Build TikTok Audiences from High-Value Buyers
Stop seeding lookalikes with window shoppers. Send full order values to TikTok server-side and build audiences from the buyers who drive your AOV.
Related Resources
Section titled “Related Resources”- TikTok UTM tracking template
- Install AnyTrack Tag
- Shopify and TikTok Ads
- Server-Side Tracking
- Event deduplication
- AnyTrack attribution explained
FAQ and Troubleshooting
FAQ was last reviewed on 2026-11-20
How long does it take to see conversions in TikTok Ads Manager?
Why does TikTok show 'No permission to operate pixel — you must be an admin or operator of this advertiser account'?
Do I need to generate an Access Token?
How does AnyTrack send matching parameters to TikTok?
Does the integration support affiliate marketers?
Do I need to install the TikTok Pixel manually?
Why does TikTok show browser and server events with 0% deduplication?
event_id only for a conversion that the Tracking Tag tracks in the browser. If TikTok Events Manager also shows the integration conversion as a browser event, find the installation that sends the browser event. Compare the event_id of the browser event with the event_id of the server event. If the values differ, a second TikTok Pixel installation on your site sends the browser event: a page builder, a form tool, a CRM app, or theme code. Remove the second installation, or turn off the overlapping event in it. If the Tracking Tag tracks the conversion in the browser and the values differ, contact support at support@anytrack.io. Send one browser event_id and the time of the event. See Event deduplication.