Zum Inhalt springen

AppsFlyer ESP 2.0 integration

Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar.

AppsFlyer is a mobile attribution and marketing analytics platform. To enable link tracking in email campaigns, Pushwoosh wraps URLs, and the ESP 2.0 solution ensures deep linking keeps working by sitting between Pushwoosh and your domain to serve the association files required for iOS Universal Links and Android App Links.

This integration also sends link click data to AppsFlyer, giving you full visibility into email performance alongside your other marketing channels and letting you measure the real impact of email on user acquisition and engagement.

Integration overview

Anchor link to

Integration type

Anchor link to
  • Source: Email links wrapped with your Click Tracking Domain (CTD). Clicks go to AppsFlyer first.
  • Destination: Final URL. Traffic is routed via AppsFlyer, then redirected by Pushwoosh to the destination.

Prerequisites

Anchor link to
  • Pushwoosh application with email sending configured
  • AppsFlyer account with the ESP 2.0 integration. This is a premium feature. Contact your AppsFlyer CSM or AppsFlyer support to get access.

Synchronized entities

Anchor link to

Source

  • Email link clicks (via your Click Tracking Domain)

Destination

  • Click events and attribution data in AppsFlyer
  • Final URL (web page or deep link) where the user is redirected
  • Email click tracking: Measure email link clicks via AppsFlyer.
  • Deep linking from email: Keep Universal Links (iOS) and App Links (Android) working when links in emails are wrapped.

How the integration works

Anchor link to

Once the integration is live, each click goes through three steps:

  1. Link wrapping: Pushwoosh replaces links in your emails with tracking URLs on your CTD, for example: https://clickpush.yourdomain.com/json/1.3/emailRedirect?d=...

  2. Click attribution: When a user taps the link, the request goes to AppsFlyer first. AppsFlyer records the click and forwards the request to Pushwoosh:

GET https://<Pushwoosh CNAME target>/json/1.3/emailRedirect
Host: <your CTD>
  1. Redirect: Pushwoosh returns a redirect to the final URL or deep link. The user lands on the destination or inside the app via Universal Link / App Link.

Setting up the integration

Anchor link to

Step 1. Create and activate a click tracking domain

Anchor link to

The Click Tracking Domain (CTD) is the domain part of a tracked link URL shown in an email message. It combines a subdomain with your main domain, for example, clickpush.esp-integrations1.com. The subdomain is created in your domain’s DNS settings with your domain provider, usually by adding a CNAME record.

  1. Decide which subdomain you will use as your CTD (for example, clickpush.esp-integrations1.com).

  2. Contact Pushwoosh support or your Customer Success Manager to activate the CTD for your app.

    Make sure to send:

    • Your Click Tracking Domain (for example, clickpush.esp-integrations1.com)
    • Pushwoosh Application code (for example, XXXXX-XXXXX). In Pushwoosh Control Panel, it appears below the application name.
Pushwoosh Control Panel showing the Application code displayed below the application name on the dashboard.

Pushwoosh will:

  • Activate the Click Tracking Domain for that application.
  • Send you the CNAME target to use in DNS.

Step 2. Configure DNS

Anchor link to

In your domain’s DNS settings, create a CNAME record so your CTD points to Pushwoosh:

TypeName / HostValue / Target
CNAMEYour CTD (for example, clickpush.esp-integrations1.com)CNAME target from Pushwoosh

Wait for DNS changes to propagate. This may take a few minutes to several hours, depending on your DNS provider and TTL settings. Once the CNAME is active, Pushwoosh can use your CTD to wrap links in emails.

For example

https://clickpush.esp-integrations1.com/json/1.3/emailRedirect?d=...

Step 3. Start the integration in AppsFlyer

Anchor link to

In the AppsFlyer platform, start the ESP 2.0 integration. Follow the AppsFlyer guide to set up your ESP integration.

AppsFlyer will ask for the following details:

  • Click-tracking domain: your CTD (for example, clickpush.esp-integrations1.com)
  • ESP endpoint: the CNAME target provided by Pushwoosh

AppsFlyer will validate the configuration. Keep the CTD CNAME pointing to the Pushwoosh CNAME target until the validation is complete.

Step 4. Update CNAME to AppsFlyer

Anchor link to

After AppsFlyer validates the setup, it will give you a routing domain (for example, jyvls.espclicks.appsflyer.com).

Update your CNAME so the CTD points to AppsFlyer instead of Pushwoosh:

Before:

clickpush.esp-integrations1.com → Pushwoosh CNAME target

After:

clickpush.esp-integrations1.comjyvls.espclicks.appsflyer.com (use the domain provided by AppsFlyer)

After switching the CNAME, send a test email and verify that links open correctly and clicks appear in AppsFlyer.

What happens next

Anchor link to

Once the change takes effect, click traffic goes through AppsFlyer’s infrastructure. AppsFlyer provides the routing layer, SSL, AASA (Apple App Site Association), and Android App Links.

Pushwoosh continues to wrap links and serve redirects. No further configuration is needed in Pushwoosh.

To learn more about setup and testing on the AppsFlyer side, see: