Custom Tracking Link Configuration


There are two main sources for mobile users traffic, which you can track with AppsFlyer:

Integrated Partners
Facebook, AdWords, Snapchat, Twitter etc.
Owned Media
email and SMS campaigns, web site banners and landing pages, viral posts on social media or even QR codes on physical posters.

Owned media is often a great source for abundant (and mostly free) traffic, but it's equally important to track and measure it properly, to get more installs and better engagements from your new users.

To track owned media successfully you need to create Custom Tracking Links.

Custom Tracking Link Setup

1. Click Integrated Partners:

2. Click Custom Tracking Link:

3. The following window opens:

4. Set the Media Source Name:

Either add the name of the media source manually in the box or click one of the tabs (e.g. “Email”). The media source value is represented in the tracking link, on the bottom of the page, under the ‘pid’ parameter. 


To properly differentiate between your custom tracking link and AppsFlyer integrated partners tracking link, do not use "Facebook", "Facebook Ads", "Google", "Twitter" or "Organic" as your custom media source name (case insensitive). If these names are duplicated it can affect your attribution data's integrity as installs from your owned media are attributed to integrated partners.

5. Add Campaign name and any other parameter (optional)

Add the name of the campaign to differentiate between the different creatives you are running with that specific owned media source. In this example, we want to use several newsletters such as the "jan2018-newsletter" campaign name, which is the ‘c’ parameter in the tracking link.

See more information about AppsFlyer's Tracking Link Structure and Parameters.

6. Generate Tracking Link: Copy the link and use it in your newsletter e-mail. 


You don't need to use this page every time you need to create a custom tracking link. You can create custom tracking links offline and use them directly without visiting the AppsFlyer's dashboard.


Custom tracking links are app specific, which always direct clicking users to the page of the app that is specified on the tracking link.

The custom tracking link page enables converting a regular custom tracking link to OneLink™.
OneLink™ enables using a single link to diagnose and redirect users to different locations based on their devices' type. It also enables deep linking and retargeting.

Check Enable OneLink to convert the custom tracking link to OneLink, while retaining all the added parameters to the link.

Shorten Link Action

Shortened links are very useful because:

1. They enable campaigns with limited text space, such as SMS campaigns.

2. They hide the parameters and business logic of your ads, that is otherwise exposed to users. 

3. Using them ensures all parameters on the tracking link are transferred and parsed correctly for all platforms, browsers and scenarios. 

It's possible to shorten regular custom links or OneLink URLs:

Shorten Regular Custom Link

You can use as many parameters as you'd like on a tracking link and use Shorten Link to convert the link to a short one.

Shorten OneLink URL

1. Check the Enable OneLink box - the custom URL changes to OneLink


The link is automatically multi-platform enabled.

2. Click the Shorten Link button to convert the OneLink to a short one.


For deep linking with iOS Universal Links or Android App Links ,retrieving the shortlink's query parameters is supported from SDK versions 4.8.0 and above.


Was this article helpful?
13 out of 18 found this helpful