Connecting Cognito Forms to AppsFlyer
Cognito Forms supports conditional logic and payments, which means one form can be a survey, a registration and a checkout depending on which branch the visitor takes. 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 Cognito Forms entry 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
Cognito Forms to AppsFlyer: only forms opened from your app count
AppsFlyer only fits Cognito Forms opened from your app; desktop web entries belong to no device it knows. Append the AppsFlyer device ID and customer user ID to the form URL, capture them in hidden fields, and post completed entries to the server-to-server events API, using the entry number as unique reference and adding amount only on paid branches.
AppsFlyer attributes events to devices that installed your app, and a Cognito entry submitted from a desktop browser belongs to no device AppsFlyer has seen. Sending web registrations or payments into AppsFlyer as in-app events will either be dropped or sit unattributed, and it inflates in-app revenue with money the app never took.
The pairing works for one pattern: the app opens a Cognito form for an application, a booking request or a paid upgrade, in a web view or the system browser. Append the AppsFlyer device ID and your customer user ID to the form URL, capture both in hidden fields, and post the completed entry to AppsFlyer's server-to-server events API with the device ID. Paid branches carry the amount and currency from the payment; unpaid branches go as a separate event with no revenue. Use the entry number as the event's unique reference so an edited or re-posted entry is not sent twice, because AppsFlyer forwards duplicates to every network it sends postbacks to.
Check two things before building. First, whether the hidden field actually receives the value: prefill depends on how the form is opened, and a link that drops query parameters produces entries with an empty device ID. Second, whether taking that payment through a Cognito form is allowed under the app store's rules for your app category, which is a policy question, not a tracking one.
Cognito Forms → AppsFlyer · what breaks
Why this join usually fails — Cognito Forms → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches Cognito Forms
Forms are embedded and payments may hand off to a processor, breaking the session twice.
- 02
One form, several outcomes, one conversion action
Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.
- 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.
Cognito Forms → AppsFlyer · the fix
What working looks like — Cognito Forms → AppsFlyer
The AppsFlyer device identifier, appsflyer_id on every submission
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
Cognito Forms → AppsFlyer · architecture
How Cognito Forms and AppsFlyer actually connect
- 1
Cognito Forms holds the truth
A form that sometimes takes payment and sometimes does not produces two completely different conversions from one submission event.
- 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 Cognito Forms entry.
- 4
The event source decides reliability
Send paid submissions at their amount and unpaid ones as a separate lower-value action.
- 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.
Cognito Forms → AppsFlyer · normal or broken
Working vs. broken, side by side — Cognito Forms → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the submission
Sent from your CRM or payment record
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
Forms are embedded and payments may hand off to a processor, breaking the session twice.
Sent from the browser
Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.
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
Cognito Forms → AppsFlyer · diagnose
Diagnostic order — Cognito Forms → AppsFlyer
- 01
Count submissions carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
List the branches your form can produce and their values
Usually the first time anyone has, and it is normally the whole fix.
- 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.
Cognito Forms → AppsFlyer · prove
How it gets proven — Cognito Forms → AppsFlyer
Source of truth
Your CRM or payment record, with the form branch recorded.
- The AppsFlyer device identifier, appsflyer_id confirmed present on a live submission.
- In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
- Submissions reconciled by branch against imported conversions.
Cognito Forms → AppsFlyer · free audit
What we check in the free audit
- Count submissions carrying the AppsFlyer device identifier, appsflyer_id
- Follow one real conversion end to end
- List the branches your form can produce and their values
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
Your CRM or payment record, with the form branch recorded.
Free30 minutesNo obligation
Cognito Forms → AppsFlyer · when not to buy
When you don't need this — Cognito Forms → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the AppsFlyer device identifier, appsflyer_id.
- A single-path form with no payment needs one action and nothing else.
- 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.
Cognito Forms → AppsFlyer · what we deliver
What gets built — Cognito Forms → AppsFlyer
Identifier capture into Cognito Forms
Pass the identifier into a hidden field and carry it through to the payment where one occurs.
Event source: your CRM or payment record
Send paid submissions at their amount and unpaid ones as a separate lower-value action.
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 CRM or payment record, with the form branch recorded.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Cognito Forms → AppsFlyer questions, answered
Only for users who reached the form from your app with the AppsFlyer device ID passed into a hidden field. Web-only submissions have no device to attribute to and belong in your web ad platforms.
Usually the device ID field on the entry is empty because the link from the app lost its query parameters. Check a sample of entries for that field before debugging the API call.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the Cognito Forms entry. Forms are embedded and payments may hand off to a processor, breaking the session twice. 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 CRM or payment record. Send paid submissions at their amount and unpaid ones as a separate lower-value action.
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 Cognito Forms → AppsFlyer
- Gravity Forms → AppsFlyerConnecting Gravity Forms to AppsFlyer
- Cognito Forms → Google AdsConnecting Cognito Forms to Google Ads
- Cognito Forms → MetaConnecting Cognito Forms to Meta Conversions API
RELATED GUIDES
Where Cognito Forms → AppsFlyer fits in the rest of your tracking
- Formidable Forms → AppsFlyerConnecting Formidable Forms to AppsFlyer
- Fluent Forms → AppsFlyerConnecting Fluent Forms to AppsFlyer
- WPForms → AppsFlyerConnecting WPForms to AppsFlyer
- Law firmsConversion tracking for law firms, without sending case details anywhere
- Formstack → AppsFlyerConnecting Formstack to AppsFlyer
- Paperform → AppsFlyerConnecting Paperform to AppsFlyer
- Typeform → AppsFlyerConnecting Typeform to AppsFlyer
- Ninja Forms → AppsFlyerConnecting Ninja Forms to AppsFlyer
Free · 30 min
Get Cognito Forms and AppsFlyer joined properly
Free30 minutesNo obligation
