Integrate TikTok for Business with Adapty Attribution

With the TikTok for Business integration of Adapty Attribution, you can track and optimize your TikTok campaigns.

Step 1. Connect your TikTok account

  1. Go to Integrations > TikTok Ads from the left sidebar and click Continue with TikTok.
ua-connect-tiktok.webp
  1. Sign in using your TikTok account and click Continue.

  2. Review the requested permissions and click Save.

ua-tiktok-sign.webp

After that, all your ad accounts will be added to Adapty Attribution. You can proceed with adding campaigns.

Step 2. Add campaigns

A single campaign can cover the App Store, Google Play, and your web funnel at once. Two pieces make the connection work:

  • Tracking link: Goes into your ad. When a user taps the ad, Adapty records the click, sends the user on to the destination, and later attributes the install and purchases to that ad. Each destination gets its own link.
  • Pixel: Selected in the campaign, from the pixels in your TikTok account. Carries those conversions back to TikTok, so TikTok can optimize the campaign on real purchases. One pixel can serve all three destinations, or each destination can have its own.

To add a TikTok for Business campaign to Adapty Attribution and track how your TikTok ads work in Adapty:

  1. Switch to the app that you want to advertise.

  2. Open the Web Campaigns tab and click Create configuration. This configuration only counts the installs of the app that you switched to.

    ua-new-campaign-tiktok.webp
  3. In the General tab, expand the iOS and/or Android section and paste App Store and/or Google Play application URLs.

    ua-url.webp
  4. Copy the Click link field value. Then, in TikTok Ads Manager, when creating your ad, paste this value in the Destination URL field, as described in Add ad content. This will allow Adapty to connect installs and purchases to ads in TikTok. Adapty only connects installs to your ad when users go straight from it to the store through this link.

    ua-lnk.webp
  5. (Optional) To send the conversion events back to TikTok, associate your TikTok pixels with this configuration:

    1. From the Pixel dropdown, select the pixel that your campaign uses in TikTok Ads Manager. If you don’t have a pixel yet, create one in TikTok.
    2. To verify the connection, click Send test event.
  6. If your ads lead to a web funnel, expand the Web funnel section of the configuration:

    1. (Optional) From the Pixel dropdown, select the pixel for web purchases. TikTok only learns about purchases on your funnel through this pixel.
    2. To install the Adapty web pixel, paste the Pixel snippet on every page of your funnel.
    3. To tag your ad URLs, copy the Ad URL parameters.

    If your funnel runs on FunnelFox, skip the snippet. Adapty doesn’t send FunnelFox purchases to TikTok. To send them, set up the TikTok Pixel integration in FunnelFox.

To set up your pixels correctly:

  • Match the pixels to your campaigns: If one campaign covers the App Store, Google Play, and your web funnel, select the same pixel in all three sections. If you run a separate campaign for each, select a separate pixel for each, so that every campaign optimizes on its own purchases. The Web Campaigns list shows the pixels of each configuration in the Pixel (iOS), Pixel (Android), and Pixel (Web) columns.
  • Edit the existing configuration to switch pixels: Running ads keep the click link of their configuration, so their conversions go to that configuration’s pixels. To switch the pixel of running ads, select another pixel in that configuration. A new configuration doesn’t change where their conversions go.
  • Fill in the Event source URL: If you connected your pixel to your website in TikTok, enter the website’s address in the Event source URL field of the configuration. Otherwise, TikTok may mark the conversions from Adapty as coming from an unknown website. This field doesn’t change the address of your tracking links.

Step 3. Map events

Adapty sends the events that you select, such as started trials, to the pixels of the configuration. TikTok uses these events to find people who are likely to start a trial or buy a subscription.

To select the events, in the Events mapping section of the configuration:

  1. Turn on each event that Adapty should send to TikTok.
  2. For each event, select a TikTok event from the dropdown, or type a custom one. By default, Adapty selects TikTok’s standard events. Install can only be sent as Lead.
  3. Click Save.
ua-meta-events.webp

Additional configuration

Additional parameters

The Additional parameter field allows you to add custom data points for analysis outside Adapty. This is useful when you need to pass specific campaign or user data to external analytics tools or attribution partners.

In the Additional parameter field, enter any custom data you want to include with your attribution tracking. The additional parameter will be included in all attribution data sent to TikTok and can be used for advanced campaign analysis and optimization.

For example, if you’re running multiple variations of the same campaign, you could add variant=A or variant=B to distinguish between different creative approaches.

Important

Additional parameters change the Click link you paste in TikTok Ads Manager. If you have already copied this link there and added a custom parameter later, ensure you copy and paste an updated click link that contains the custom parameter.


ua-custom-tiktok1.webp

Settings

The Settings tab of a configuration controls how Adapty matches installs to clicks on your TikTok ads. Adapty uses one of two methods:

MethodInstallsHow Adapty credits the installTime limit between the click and the install
Match by click IDAndroid installs with a click IDTo the click with the ID that Google Play passes to your app168 hours (7 days) by default, up to 720 hours
Probabilistic matchiOS installs, and Android installs without a click IDTo the most likely recent click from the same IP address range and operating system6 hours by default, up to 24 hours

For a probabilistic match, Adapty selects the click that scores best on time since the click, device language, and country. Adapty doesn’t use the IDFA or the Google Advertising ID, so probabilistic matching covers iOS users who don’t allow tracking.

Adapty can’t match an install probabilistically if the device switches networks between the click and the install, for example from Wi-Fi to cellular. On networks that many devices share, such as mobile carrier networks, Adapty matches fewer installs probabilistically.

To change the time limits, in the New user attribution section of the Settings tab, enter each limit in hours:

  • Deterministic Matching Window: For a match by click ID.
  • Probabilistic Matching Window: For a probabilistic match. A longer limit matches more installs, but more of those matches are wrong. For campaigns with high click volumes, reduce it to 1–2 hours. If you set more than 6 hours, clicks more than 6 hours before the install must also match the device model and OS version of the install.

Keep the switches of both fields turned on. Without probabilistic matching, Adapty can’t match iOS installs from the links of this configuration.

New user attribution section on the Settings tab, with the deterministic and probabilistic matching windows and their on/off switches

Revenue sent to TikTok

TikTok uses the value of each event to calculate ROAS and for value-based optimization. To choose which revenue Adapty sends to TikTok as that value, in the Revenue sent to TikTok dropdown, select a revenue type and click Save. To compare ROAS in TikTok with ROAS in Adapty, select the type you display in Adapty analytics.

Revenue sent to TikTok dropdown open, with the Gross revenue, Proceeds after store commission, and Proceeds after store commission and taxes options
Revenue typeValue of an App Store or Google Play purchase
Gross revenue (default)The full price the user paid, before store commission and taxes.
Proceeds after store commissionThe price minus the App Store or Google Play commission. Taxes are still included.
Proceeds after store commission and taxesThe price minus the store commission and taxes.

For how Adapty calculates the commission and taxes, see Commissions and taxes.

How the type applies in other cases:

  • Web purchases: For Stripe and Paddle purchases, both proceeds types send the same value, as in Adapty Attribution analytics: the price minus 4.5% for Stripe, and the full price for Paddle. Adapty doesn’t deduct taxes from web purchases.
  • Refunds: TikTok receives refund events without a value, whatever the type.
  • Trial events: The Revenue override percentage applies to the subscription price of the selected type.
  • Purchases with no amount of the selected type: Adapty sends TikTok the gross revenue of the purchase.

A new revenue type takes effect within 5 minutes of saving and applies to new events only. Adapty doesn’t re-send events it has already sent, and a trial event that Adapty already holds for Qualified trial is sent with the type selected when the hold started.

If several configurations send events to the same pixel, select the same revenue type in all of them, so the values in that pixel are of one type.

Warning

Proceeds are lower than gross revenue. If you switch from Gross revenue and a campaign uses a minimum ROAS, lower the minimum ROAS in TikTok, or the campaign can stop delivering.

Revenue override

By default, Adapty sends the Trial started event to TikTok without a revenue value, because no payment happens when a trial starts. With a revenue override, Adapty sends a value that you set: a percentage of the subscription price. Adapty takes the percentage of the price in the type selected in Revenue sent to TikTok. For example, at 30%, Adapty sends 30% of the subscription price. Trial converted and Subscription started always have their actual revenue.

A revenue override changes the value that TikTok receives for a trial. A qualified trial changes when TikTok receives it. You can use both for the same event.

To report revenue to TikTok for started trials:

  1. In the Events mapping section, turn on the Trial started event. The Revenue override section appears.
  2. In the Revenue override section, click Add event.
  3. Select the TikTok event that you mapped to Trial started, such as StartTrial.
  4. Enter the percentage of the subscription price to send, from 0 to 100.
  5. Click Save.
revenue-override.webp

Qualified trial

Important

Qualified trial reports require App Store Server Notifications for iOS and Real-time Developer Notifications for Android. The App Store and Google Play report trial cancellations to Adapty through these channels.

By default, Adapty sends each started trial to TikTok immediately, even if the user cancels it soon after. With a qualified trial, TikTok only counts the trials that users keep — if the autorenewal isn’t disabled a set number of hours after the trial start. Adapty sends the event with the original trial start time, so TikTok reports it on the day the trial started. If the event also has a revenue override, Adapty sends it with the overridden revenue.

To only send TikTok the trials that users keep:

  1. In the Events mapping section, turn on the Trial started event.
  2. In the Qualified trial section, click Add event.
  3. Select the TikTok event that you mapped to Trial started, such as StartTrial.
  4. Enter the number of hours to wait, from 1 to 24. Adapty sends the event about 45 minutes after the wait ends.
  5. Click Save.
Qualified trial section with a target event held for two hours in a campaign configuration

If the user turns auto-renewal back on before the wait ends, Adapty sends the event as planned. Qualified trials only apply to trials from the App Store and Google Play.

Qualified trials vs. the Trial still active event

Adapty has two ways to only report the trials that users keep. For TikTok, use a qualified trial: Adapty Attribution can’t send the Trial still active event to TikTok. If another integration, such as AppsFlyer, also sends trials to TikTok, TikTok receives the same trial more than once.

Qualified trialTrial still active event
Where you set it upIn Adapty Attribution, in a Meta, TikTok, or Google Ads configurationIn Adapty, in integrations such as AppsFlyer, Adjust, Firebase, or the webhook
What it doesDelays the Trial started eventAdds a separate event after Trial started
Wait time1 to 24 hours1 hour to 90 days
If the user turns off auto-renewal before the wait endsAdapty doesn’t send the eventAdapty doesn’t send the event
Sent to TikTok by Adapty AttributionYesNo

Send events from all users

By default, Adapty only reports the events of users it attributes to this configuration. The Send events from all users option reports the events of every user of your app instead, including organic users, users from other ad networks, and users from your other TikTok configurations. Purchases from FunnelFox funnels are the exception: Adapty only uses them in Adapty Attribution analytics. To send them to TikTok, set up the TikTok Pixel integration in FunnelFox. TikTok then decides which of these conversions to credit to its ads. This option doesn’t change attribution in Adapty.

We don’t recommend it unless your campaigns send TikTok too few conversions to optimize on, because mixing organic and non-attributed events with your campaign events makes TikTok’s optimization less precise.

If you decide to turn it on, in the configuration settings select Send events from all users and click Save.

Read TikTok Ads data correctly in Adapty Attribution

To compare TikTok spend with your installs and revenue in Adapty Attribution analytics:

  • Expect recent spend to change: TikTok keeps adjusting spend, impressions, and clicks for recent days. Every 4 hours, Adapty refreshes these numbers for the last 3 days, including today.
  • Expect daily spend and revenue to use different time zones: Adapty Attribution shows TikTok spend by day in the time zone of your ad account. It shows installs and revenue by day in UTC. If the two time zones differ, daily spend and daily revenue cover different hours. To show installs and revenue in another time zone, contact Adapty support.