AppsFlyer Integration

The article describes the process of integration with the AppsFlyer platform.


AppsFlyer is a service designed to collect and analyze data about users of websites and applications. Functioning as a marketing program for attribution, it enables the tracking of user journeys across diverse platforms, channels, and devices.

Key benefits of AppsFlyer integration

  • Transparent attribution system – identifying the source through which the user reached the platform (Facebook or Sendios);
  • Identifying the email type from which the user reached the platform – welcome / after_pay / custom;
  • Ability to track application installations;
  • Ability to track the number of user actions within the app;
  • Conversion and revenue measurement – evaluating user conversion rates and generated revenue;
  • Registration tracking – monitoring user registrations;
  • In-app purchase tracking – keeping track of purchases made within the app;
  • Back-end data transmission – sending data to a web app or webpage via the back-end (parameter inserted into deeplink).
  • Spam prevention – aiding at preventing emails from being marked as spam, as the link aligns with the sender domain ('email validation systems are more likely to consider emails containing branded links as valid promotion emails').

Where to find description of the Sendios+AppsFlyer integration?

The integration process, including the creation of necessary links, is described on the AppsFlyer page Sendios Integration with AppsFlyer

Link requirements for proper integration

Our integration supports only branded links.

When using branded links, the domain typically includes the branding of the link provider, e.g., OneLink branded link performs the same functions as the non-branded link, including support for universal links and links to the app but displays your brand name in the domain without the link provider's name.

How to integrate a deeplink into your product?

For Android: Android Unified Deep Linking.

For iOS: iOS Unified Deep Linking.

The following parameters will be included in the links:

pid=Sendios (media source) – indicating the source of the user (email, push);
c=match (campaign) – the name of the campaign from which the user reached the platform;
af_dp=wiliapp//: – the deep link URI scheme where you want to redirect your users;
af_force_deeplink=true – required for iOS, more details: URI scheme fallback for iOS;
deeplink_value=profile – directing users to a specific page in the app;
is_retargeting=true – helps track in the retargeting tab;
af_reengagement_window=1d – assisting in tracking all events as retargeting within 1 day;
af_click_lookback=1d – helps track new installations within 1 day.

What to pay attention to when creating links?

Correct CNAME: (where click corresponds to your project's domain).


The CNAME link should differ from what AppsFlyer suggests on the Branded Link creation page.

Please note that when clicking the Verify button to check the brand domain, an error message regarding the CNAME from AppsFlyer may appear:

Ignore this message and change the CNAME according to the instructions above.

You can check the settings using – pay attention to the canonical name.

The result of the check will be as follows:

What parameters are inserted into the Sendios links?

You can use the parameters you need. To ensure tracking, we add the following parameters to the link:

af_esp_url_path=/track/mail/click – the link part to which parameters from afesp_url_params will be passed;
_af_esp_name=sendios – the client's name;
af_esp_url_params=u%3D1102218457%26m%3D14138176504 (here, any parameters, such as user_id and mail_id in URL encoding, can be included) – parameters necessary for further processing:

  • m – mail_id in our system;
  • u – user_id in our system;
  • sign – signature for link verification.

How to pass branded links to Sendios?

For transactional emails (system/trigger): use the {{ app_link }} variable or contact CSM.

For campaigns: contact CSM.

How to ensure that the integration is successful?

If everything is set up correctly, you'll be able to view the statistics of opens and clicks in the Webhooks section on the user's page and in Analytics → Email Reports.