# TikTok MMP

Show TikTok as a customer’s source when their app reports a supported TikTok ad-click match. Setup is done once by your team and app developer.

## What your customer sees

Tap your TikTok ad → Install from the app store → Open your app → See your usual welcome or onboarding screen.

The app link points to that existing screen. It does not create an extra page or show Aplyna to your customer. Matching happens in the background when supported.

## Check TikTok availability first

> **Partial attribution coverage**
> TikTok says deferred deep links require account-team approval and are not supported for iOS 14.5+ dedicated campaigns. Creating a link cannot remove that restriction. Check your campaign before updating the app.

- [TikTok deferred-link availability](https://ads.tiktok.com/resources/help/article/about-deferred-deeplinks?lang=en): Check TikTok’s account approval and campaign restrictions before setup.

## Set up the connection

1. Get an app link from your developer: Ask for an address that opens your app’s existing welcome screen. yourapp://welcome is only an example. If the app has no working link, your developer must add support for one first; typing an address into Aplyna is not enough.
2. Enable it in Aplyna: Select your project, then open Integrations → Attribution → TikTok MMP. An Admin enters the working address in Destination deep link and chooses Enable attribution. Aplyna displays the tagged version in TikTok campaign deep link.
3. Connect the two SDKs in your app: Give your developer the Copy integration prompt or the Swift, Kotlin or React Native code on the setup page. They initialize TikTok’s own native SDK and forward matching results through the existing Aplyna client, after consent. The iOS lookup also requires tracking permission. Keep the same Aplyna installation ID and use a native app SDK key from Apps & API keys.
4. Release the updated app: Your developer publishes an app update containing the link handling and SDK connection. Saving the Aplyna form alone does not update apps already installed on customers’ phones.
5. Add the generated link to your TikTok ad: Copy TikTok campaign deep link from Aplyna into the Deferred deep link setting of an eligible TikTok ad. If that option is missing, check the campaign’s availability with TikTok. Keep the full generated link, including its tracking marker.
6. Check the first supported match: Test an eligible ad-click install with the updated app. Aplyna starts at Waiting for attribution. When the app sends a matching result, the status becomes Attribution received and that installation’s customer Ads tab shows TikTok with SDK-reported evidence.

## Common questions

> **Where does the first app link come from?**
> It belongs to your mobile app. Your developer can find an existing link or create one that opens its usual welcome screen. Aplyna adds the tracking marker to that address; it does not create the app’s link support or host a new welcome page.

> **Does the customer need to do anything extra?**
> They follow the usual ad, install and app-opening journey, including the app’s normal permission requests. They never need to copy this link, connect an account or open an Aplyna setup page.

> **Why does a customer’s source stay Unknown?**
> A supported match may be unavailable because of the campaign, permission choice or app version. No match stays Unknown; it is not evidence of an organic install. This connection does not recover historical customers or identify everyone who viewed a TikTok ad.

> **What does Attribution received confirm?**
> It confirms that your app reported a matching TikTok link. The evidence is SDK-reported, not a signed TikTok attribution decision or proof of first-ever acquisition. Aggregate SKAdNetwork results cannot identify a particular customer. Billing customer IDs stay separate unless explicitly mapped.

> **What happens if I disconnect?**
> New matches stop and existing evidence is retained. Re-enabling creates a new campaign link. Update the TikTok ad and your app’s forwarding code to use the new marker.

## Developer checklist

- Use the app-scoped code generated by the TikTok MMP setup page. Forward only a successful native deferred-link callback containing that project’s exact marker. Empty or failed lookups must not create attribution events.
- Use the existing consented Aplyna queue and installation identity. Send only link_id in the tiktok_attribution event; do not send the full URL, click IDs, email, IDFA or purchase tokens. Test Store events do not confirm attribution.
- Preserve purchase handling and existing tracking choices. No TikTok account login, API token or app secret is collected by the Aplyna form. The native TikTok SDK still needs its own setup in the mobile app.

- [Aplyna SDK quickstart](https://aplyna.com/docs/quickstart): Connect the existing Aplyna client before forwarding attribution.
- [TikTok SDK setup guide](https://ads.tiktok.com/resources/help/article/how-to-integrate-tiktok-app-events-sdk?lang=en): Install and initialize TikTok’s own native App Events SDK.
- [Native iOS deferred-link API](https://github.com/tiktok/tiktok-business-ios-sdk/blob/master/TikTokBusinessSDK/Core/TikTokBusiness.h#L246-L252): Review the native callback and its tracking-permission requirement.
- [Official SDK bridge API](https://github.com/tiktok/tiktok-business-react-native-sdk/blob/main/docs/api.md#fetchdeferreddeeplink): Swift, Kotlin and React Native callback support.
