Connecting Resend to AppsFlyer
Resend is modern developer email where templates live in your codebase, which makes sends easy to ship and equally easy to ship without anyone measuring them. AppsFlyer exists because mobile app attribution is a different problem from web attribution, and on iOS a large share of it is now aggregated and delayed by design rather than by accident. The join between them succeeds or fails on one thing: whether the AppsFlyer device identifier, appsflyer_id reaches the Resend message before the conversion happens, because AppsFlyer can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Resend emails into AppsFlyer: OneLink and broken universal links
Resend's click tracking rewrites links through a redirect domain that breaks AppsFlyer OneLink universal links. Turn it off for app-bound links, or confirm AppsFlyer's ESP integration covers your Resend tracking domain. Put campaign name and template version into OneLink parameters. In-app purchases still come from the SDK; never forward Resend webhooks, which know no device, to AppsFlyer's server-to-server events.
This pair is about email-to-app: a Resend email links to an AppsFlyer OneLink so the tap opens the app, or routes to the store and deep links after install. The common failure is Resend's own click tracking. When it is on, links are rewritten through a tracking redirect domain, and an iOS universal link only opens the app if the tapped domain is associated with it, so the redirect sends people to Safari and the deep link context is lost.
Two ways out. Turn click tracking off for app-bound links and accept that Resend will not count those clicks, or check whether AppsFlyer's email service provider integration can cover a Resend tracking domain; confirm this in AppsFlyer's documentation before assuming it does. Either way, put the campaign name and the template version into the OneLink parameters, so an install from a receipt or re-engagement email is attributed to email and to the template that was live.
In-app purchases still come from the SDK against appsflyer_id. Do not forward Resend webhooks to AppsFlyer's server-to-server events: the webhook knows an email address and no device, so the event has nothing to land on. Purchases made on your website after an email belong to your order system, not to AppsFlyer, unless you have deliberately set up its web attribution product.
Resend → AppsFlyer · what breaks
Why this join usually fails — Resend → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches Resend
No session, and the send is triggered by application logic that changes on the normal deploy cadence.
- 02
Email changes shipping invisibly with deploys
When templates are code, they change without a campaign calendar entry. A conversion rate shift gets attributed to media, creative or seasonality, and the actual cause was a reworded subject line in last Tuesday's release.
- 03
Web conversions sent to a mobile attribution platform
This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.
- 04
Nothing reconciles afterwards
AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.
Resend → AppsFlyer · the fix
What working looks like — Resend → AppsFlyer
The AppsFlyer device identifier, appsflyer_id on every message
Conversions arriving in AppsFlyer
The event is attributed to the install source, forwarded to whichever networks are configured, and appears in the cohort reporting.
Reconciled against the source
Resend → AppsFlyer · architecture
How Resend and AppsFlyer actually connect
- 1
Resend holds the truth
Templates in code means email changes ride along with deploys. A revenue change the week of a release may be the email, and nothing in the marketing stack will show that.
- 2
AppsFlyer needs a click to match
AppsFlyer needs the device identifier and an event name it recognizes, plus the revenue value for in-app purchases. A server event about a user with no linked device cannot be attributed to an install.
- 3
The identifier is the bridge
The AppsFlyer device identifier, appsflyer_id, captured at the visit and carried into the Resend message.
- 4
The event source decides reliability
Send orders, with the email template version attached where a send preceded the purchase.
- 5
Deduplication at the destination
AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.
Resend → AppsFlyer · normal or broken
Working vs. broken, side by side — Resend → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the message
Sent from your order system
Deduplicated correctly
AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.
Reconciles with the source
Actually broken
The AppsFlyer device identifier, appsflyer_id missing on most records
No session, and the send is triggered by application logic that changes on the normal deploy cadence.
Sent from the browser
When templates are code, they change without a campaign calendar entry. A conversion rate shift gets attributed to media, creative or seasonality, and the actual cause was a reworded subject line in last Tuesday's release.
Counted twice, or not at all
This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.
Nobody has reconciled it
Resend → AppsFlyer · diagnose
Diagnostic order — Resend → AppsFlyer
- 01
Count messages carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
Check the deploy log before diagnosing an unexplained conversion change
Cheap to check and it explains a genuine share of otherwise mysterious movements.
- 04
Check what share of your revenue happens in the app at all
If most purchases are on the web, AppsFlyer is not your conversion destination and the work belongs somewhere else entirely.
- 05
Read the match rate, not the success message
AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.
Resend → AppsFlyer · prove
How it gets proven — Resend → AppsFlyer
Source of truth
Your order or application record, joined to the send.
- The AppsFlyer device identifier, appsflyer_id confirmed present on a live message.
- In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
- Orders reconciled against imported conversions, with template versions recorded in the timeline.
Resend → AppsFlyer · free audit
What we check in the free audit
- Count messages carrying the AppsFlyer device identifier, appsflyer_id
- Follow one real conversion end to end
- Check the deploy log before diagnosing an unexplained conversion change
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
Your order or application record, joined to the send.
Free30 minutesNo obligation
Resend → AppsFlyer · when not to buy
When you don't need this — Resend → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred messages and count how many carry the AppsFlyer device identifier, appsflyer_id.
- If your emails rarely change, the versioning discipline costs more than it returns.
- If you have no mobile app, this is not a destination for you. If you have one but sell mostly on the web, send web conversions to your ad platforms directly and use AppsFlyer only for install and in-app events.
Resend → AppsFlyer · what we deliver
What gets built — Resend → AppsFlyer
Identifier capture into Resend
Record the template version on the message so an email change is visible in the timeline alongside campaign changes.
Event source: your order system
Send orders, with the email template version attached where a send preceded the purchase.
Dispatch to AppsFlyer
The AppsFlyer server-to-server events API, posted from your billing system with the device identifier and revenue.
Reversals where they exist
Refunds reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your order or application record, joined to the send.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Resend → AppsFlyer questions, answered
Resend click tracking wraps links in a redirect on its tracking domain, which is not associated with your app, so iOS treats the tap as a web link. Disable click tracking for those links, or confirm whether AppsFlyer's ESP setup supports the tracking domain.
Not usefully. AppsFlyer server events need a device identifier, and a Resend webhook only knows the recipient's email address.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the Resend message. No session, and the send is triggered by application logic that changes on the normal deploy cadence. Measure coverage before debugging the dispatch.
AppsFlyer assigns its own device ID and matches installs to clicks through referrer data on Android and Apple's frameworks on iOS. There is no durable cross-device identifier. On iOS without ATT consent, attribution falls back to SKAdNetwork, which returns aggregated conversion values on a delay with no user-level detail at all — so a share of your installs will be attributable only in aggregate, permanently.
Your order system. Send orders, with the email template version attached where a send preceded the purchase.
AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.
More on Resend → AppsFlyer
- Stripe → AppsFlyerConnecting Stripe to AppsFlyer
- PayPal → AppsFlyerConnecting PayPal to AppsFlyer
- Shopify → AppsFlyerConnecting Shopify to AppsFlyer
RELATED GUIDES
Where Resend → AppsFlyer fits in the rest of your tracking
- Mailgun → AppsFlyerConnecting Mailgun to AppsFlyer
- SendGrid → AppsFlyerConnecting SendGrid to AppsFlyer
- Postmark → AppsFlyerConnecting Postmark to AppsFlyer
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- Postmark → BranchConnecting Postmark to Branch
- Mailgun → BranchConnecting Mailgun to Branch
- SendGrid → BranchConnecting SendGrid to Branch
Free · 30 min
Get Resend and AppsFlyer joined properly
Free30 minutesNo obligation
