Skip to Content
TrackingTikTok Ads

TikTok Ads

Track conversions with TikTok Pixel (client-side) and Events API (server-side) for optimized ad delivery. AppFunnel handles all the tracking code and event forwarding automatically.

Setup

Step 1: Create a TikTok Pixel

  1. Go to TikTok Ads Manager  and open Events Manager.
  2. Click Connect Data Source.

Step 1: Connect Data Source

  1. Select Web as your data source and click Next.

Step 2: Select Web

  1. Skip the “Add your website” page.

Step 3: Skip website

  1. Choose Manual Setup.

Step 4: Manual Setup

  1. Select TikTok Pixel + Events API and click Next.

Step 5: Pixel + Events API

  1. Enter a name for your pixel.

Step 6: Name your pixel

  1. You don’t need to configure anything here — AppFunnel handles everything. Just press Next.

Step 7: Skip configuration

  1. Click the small Switch to custom code button.

Step 8: Switch to custom code

  1. Add Start Trial and Subscribe events by clicking the small + buttons. Then click Next.

Step 9: Add events

  1. Click Generate Access Token.

Step 10: Generate access token

  1. Copy both the Access Token and the Pixel ID — you’ll need them in the next step.

Step 11: Copy credentials

Step 2: Connect to AppFunnel

  1. In AppFunnel, navigate to Settings > Integrations > TikTok Ads.
  2. Paste your Pixel ID.
  3. Enable TikTok Pixel and/or Events API.
  4. If using the Events API, paste your Access Token.
  5. Optionally set a Test Event Code if you want to verify events in TikTok Events Manager first.
  6. Save the integration.

Step 12: AppFunnel setup

AppFunnel automatically injects the pixel script and forwards server-side events. No code or tag manager needed.

Event Mapping

AppFunnel events are mapped to TikTok standard events. Each event can be individually enabled, disabled, or remapped to a different TikTok event name.

AppFunnel EventDefault TikTok EventWhen It Fires
page.viewViewContentEvery page navigation
user.registeredCompleteRegistrationEmail is captured
purchase.completePurchaseSuccessful payment
subscription.createdSubscribeSubscription is created
subscription.renewalPurchaseRecurring subscription payment

Remapping Events

You can change the TikTok event name for any AppFunnel event. Setting an event to disabled prevents it from firing entirely. This applies independently for Pixel and Events API — you can enable an event on one side and disable it on the other.

Deduplication

When both Pixel and Events API are enabled, the same event is sent twice: once from the browser, once from the server. AppFunnel handles this automatically by including an event_id in both payloads, so TikTok deduplicates and counts each event only once.

No configuration is needed.

The Events API is required for tracking subscription.renewal events, since those happen server-side when Stripe processes a recurring payment. Without the Events API, renewal revenue will not be attributed to your ads.

Last updated on