Connecting Punchh to AppsFlyer
Punchh runs loyalty for restaurant and retail chains where members earn in one location and redeem in another, which spreads the programme's cost across sites your advertising cannot see. 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 Punchh loyalty transaction 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
Punchh app plus AppsFlyer: link in-store scans to the install
Set the Punchh member ID as the customer user ID in the AppsFlyer SDK and store the appsflyer_id on the Punchh profile, so your server can send each in-store scanned visit as a server-to-server event. Send revenue net of redeemed rewards. Keep app orders on the SDK and send only in-store scans server-side.
The join that makes this pair worth building is between the install AppsFlyer attributed and the in-store visits that follow. A member who installed from a paid campaign later scans the app at the register, and Punchh records the visit against their member ID. If the app sets that member ID as the customer user ID in the AppsFlyer SDK, and you store the appsflyer_id against the Punchh profile, your server can send each scanned visit as a server-to-server event the campaign gets credit for.
Send the check value net of any reward redeemed as revenue, with the Punchh transaction ID as the event identifier. A visit paid partly with points is not the same revenue as a full-price visit, and AppsFlyer forwards revenue to ad networks, which will optimize toward reward hunters if redemptions count as revenue.
The usual way this breaks is double counting app orders. If the app already logs a purchase through the SDK when someone orders ahead, and the server also sends the Punchh transaction for the same order, every app order counts twice in AppsFlyer and in every network it forwards to. Send in-store scans server-side, keep app orders on the SDK, and never send both. iOS installs without ATT consent will remain aggregate-only regardless.
Punchh → AppsFlyer · what breaks
Why this join usually fails — Punchh → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches Punchh
Redemption happens at a till or in an app with no browser session at any point.
- 02
Loyalty cost spread across locations nobody totals
Points earned at one restaurant and redeemed at another appear in two different location reports and in neither marketing report. The programme looks free until someone consolidates it.
- 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.
Punchh → AppsFlyer · the fix
What working looks like — Punchh → AppsFlyer
The AppsFlyer device identifier, appsflyer_id on every redemption
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
Punchh → AppsFlyer · architecture
How Punchh and AppsFlyer actually connect
- 1
Punchh holds the truth
In multi-location chains, earning and redemption happen at different sites on different days. Only the combined view shows what the programme actually costs.
- 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 Punchh loyalty transaction.
- 4
The event source decides reliability
Send member acquisition and online orders net of redemption, with in-store redemption reported separately.
- 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.
Punchh → AppsFlyer · normal or broken
Working vs. broken, side by side — Punchh → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the redemption
Sent from your POS transaction record with loyalty attributes
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
Redemption happens at a till or in an app with no browser session at any point.
Sent from the browser
Points earned at one restaurant and redeemed at another appear in two different location reports and in neither marketing report. The programme looks free until someone consolidates it.
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
Punchh → AppsFlyer · diagnose
Diagnostic order — Punchh → AppsFlyer
- 01
Count redemptions carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
Consolidate earn and burn across all locations
It is the only view that shows the programme's true cost, and chains routinely do not have it.
- 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.
Punchh → AppsFlyer · prove
How it gets proven — Punchh → AppsFlyer
Source of truth
Transactions across all locations, with loyalty earn and burn recorded per visit.
- The AppsFlyer device identifier, appsflyer_id confirmed present on a live redemption.
- In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
- Member acquisition reconciled against imported conversions, with consolidated redemption cost reported.
Punchh → AppsFlyer · free audit
What we check in the free audit
- Count redemptions carrying the AppsFlyer device identifier, appsflyer_id
- Follow one real conversion end to end
- Consolidate earn and burn across all locations
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
Transactions across all locations, with loyalty earn and burn recorded per visit.
Free30 minutesNo obligation
Punchh → AppsFlyer · when not to buy
When you don't need this — Punchh → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the AppsFlyer device identifier, appsflyer_id.
- Single-location operators see both halves and do not have the consolidation problem.
- 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.
Punchh → AppsFlyer · what we deliver
What gets built — Punchh → AppsFlyer
Identifier capture into Punchh
Attribute online and app-signup acquisition only, and report cross-location redemption as programme cost.
Event source: your POS transaction record with loyalty attributes
Send member acquisition and online orders net of redemption, with in-store redemption reported separately.
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 and reclaim points.
Written guarantee
95%+ tracking accuracy
Measured against Transactions across all locations, with loyalty earn and burn recorded per visit.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Punchh → AppsFlyer questions, answered
Yes, for members who scan the app at the register: map the Punchh member ID to the appsflyer_id and send each scanned visit as a server-to-server event. Non-member and unscanned visits stay invisible.
Usually both the app SDK and a server feed send the same order. Pick one source per order type and use the Punchh transaction ID as the event identifier.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the Punchh loyalty transaction. Redemption happens at a till or in an app with no browser session at any point. 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 POS transaction record with loyalty attributes. Send member acquisition and online orders net of redemption, with in-store redemption reported separately.
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 Punchh → AppsFlyer
- Stripe → AppsFlyerConnecting Stripe to AppsFlyer
- PayPal → AppsFlyerConnecting PayPal to AppsFlyer
- Shopify → AppsFlyerConnecting Shopify to AppsFlyer
RELATED GUIDES
Where Punchh → AppsFlyer fits in the rest of your tracking
- Smile.io → AppsFlyerConnecting Smile.io to AppsFlyer
- LoyaltyLion → AppsFlyerConnecting LoyaltyLion to AppsFlyer
- Antavo → AppsFlyerConnecting Antavo to AppsFlyer
- RestaurantsConversion tracking for restaurants, across reservations, orders and calls
- Talon.One → AppsFlyerConnecting Talon.One to AppsFlyer
- LoyaltyLion → BranchConnecting LoyaltyLion to Branch
- Antavo → BranchConnecting Antavo to Branch
- Talon.One → BranchConnecting Talon.One to Branch
Free · 30 min
Get Punchh and AppsFlyer joined properly
Free30 minutesNo obligation
