Everlytic integration with AppsFlyer

At a glance: Everlytic, an email delivery and analytics platform, embeds AppsFlyer OneLink branded links within emails. Email recipients clicking on the link are deep-linked into an app. 

everlytic-af-logo.png

Email service providers (ESPs) wrap deep linking URLs with their own click recording domain.
In some cases doing so breaks iOS Universal Links. To overcome this, Everlytic uses Universal Links on top of their click recording domain. They integrate with AppsFlyer and by using OneLink branded link capabilities enable deep linking and click recording.

Set up Everlytic

Configure Everlytic and the AppsFlyer SDK, to send emails containing OneLink branded links. 

Prerequisite

Mobile SDK versions:

  • iOS: V4.9.0 or later 
  • Android  V4.9.0 or later 

Step 1: Set up an Everlytic account

To set up your Everlytic account, contact sales@everlytic.com.

Step 2: Configure links for your email campaigns

  1. Create a OneLink template for your email campaigns.
  2. Create a Branded link.
    When requested to add a CNAME to your domain, use yourdomain.esplinks.appsflyer.com, instead of the URL offered in the Branded Link creation page.
    Example:
    Subdomain CNAME
    click.example.com example.appsflyer.com

    branded-link-esp-new-en_us.png

    Note that when clicking Verify to verify the brand domain, a failure message regarding the AppsFlyer CNAME displays.

    branded-link-esp-cname-fail-message.png

    Ignore this message and change the CNAME as instructed above.
  3. Contact support@everlytic.com to include your branded link as part of their untracked domains. This enables your deep linking to work properly and not get broken.  

Create emails and testing links

Step 3: Send emails

  1. Create a OneLink URL in the Link Management page (or manually). You must URL encode parameter values.
  2. [Best practice] Use the following parameters:
    • pid (media source): Use a media source that signifies this usage such as Email.
    • c (campaign): Campaign name
    • af_dp : The deep link URI scheme you want to deep-link your users into.
    • af_web_dp: Where to redirect users clicking the link on desktop.
    • af_ios_url : Where to redirect users that don’t have the app clicking the link in an iOS device.
    • af_android_url: Where to redirect users that don’t have the app click the link in an Android device.
  3. Add the following parameters and values as is to your branded link:
    &af_esp_url_path=/servlet/third-party-track/{{list.list_id}}/{{message.message_id}}/{{contact.contact_id}}/{{link_lookup_id}}
    &af_esp_url_params=clickid%3D{{list.list_id}}%2F{{message.message_id}}%2F{{contact.contact_id}}%2F{{link_lookup_id}}
    &af_esp_name=everlytic 

 Example

For the sake of readability, URL parameters are not URL-encoded in this example.

https://yoursubdomain.com/abcd?pid=Email&c=Spring_Newsletter&is_retargeting=true&
  af_dp=testapp://path/to/content&af_web_dp=https://www.example.com/path/to/content&
  af_ios_url=https://www.example.com/path/to/content&af_android_url=https://www.example.com/path/to/content&af_esp_url_path=/servlet/third-party-track/{{list.list_id}}/{{message.message_id}}/{{contact.contact_id}}/{{link_lookup_id}}
&af_esp_url_params=clickid%3D{{list.list_id}}%2F{{message.message_id}}%2F{{contact.contact_id}}%2F{{link_lookup_id}}
&af_esp_name=everlytic

Test your links

To test the integration:

  1. Set-up Everlytic.
  2. Create a OneLink URL.
  3. Insert the URL in an email.
  4. Send a test email to yourself. 

Expected result:

  • If you have the app installed, it should launch and you will be deep-linked into the defined app page.
  • A click reflects in:
    • The AppsFlyer dashboard, attributed to the media source and campaign.
    • Everlytic data.