Connecting Divi to AppsFlyer
Divi is a theme and builder combined, which means the site's structure and its forms are the same product — and a theme update can change both at once. 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 Divi form submission 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
Divi to AppsFlyer: measure the app-button click, not the form
Do not send Divi form leads to AppsFlyer; they have no appsflyer_id and no install behind them. When a Divi site promotes a mobile app, measure the web-to-install hop instead by using OneLink URLs on every App Store and Google Play button, loading any AppsFlyer web script from Theme Options Integration, and auditing for hard-coded store links.
A lead from a Divi contact form has no appsflyer_id and no install behind it, so sending it to AppsFlyer produces an event attributed to nothing. AppsFlyer is only relevant when the Divi site exists to push people into a mobile app, and then the thing worth measuring is the hop from web page to install, not the form.
For that hop, use AppsFlyer's OneLink URLs on the App Store and Google Play buttons in your Divi Button modules, so a click carries campaign context into the store and the install can be attributed back to the web visit. Check whether your AppsFlyer plan includes its web script that rewrites those links with the visitor's incoming UTM parameters; if it does, load it from Theme Options Integration rather than a page-level Code module, because Divi sites usually repeat the download button in a global header, footer and a dozen page sections, and every copy needs the same treatment.
The failure on this pair is hard-coded store links. Someone rebuilds a page in the Divi builder, pastes a plain App Store URL into a new button, and from then on that page's installs show as organic in AppsFlyer while the paid traffic that produced them keeps running. Audit every button URL after a redesign. Keep form leads in your web analytics and ad platforms, where they have identifiers that can actually match.
Divi → AppsFlyer · what breaks
Why this join usually fails — Divi → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches Divi
Custom code added to theme templates is vulnerable to updates, and Divi's contact module submits over AJAX.
- 02
Tracking removed by a theme update
Code placed directly into theme files disappears when the theme updates. The site keeps working, the forms keep submitting, and the conversions stop arriving with no error anywhere.
- 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.
Divi → AppsFlyer · the fix
What working looks like — Divi → 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
Divi → AppsFlyer · architecture
How Divi and AppsFlyer actually connect
- 1
Divi holds the truth
Because the builder is the theme, tracking added into templates can be lost or duplicated by a theme update in ways a plugin-based setup would not experience.
- 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 Divi form submission.
- 4
The event source decides reliability
Send qualified outcomes per form, with the identifier passed through a hidden field.
- 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.
Divi → AppsFlyer · normal or broken
Working vs. broken, side by side — Divi → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the submission
Sent from your CRM 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
Custom code added to theme templates is vulnerable to updates, and Divi's contact module submits over AJAX.
Sent from the browser
Code placed directly into theme files disappears when the theme updates. The site keeps working, the forms keep submitting, and the conversions stop arriving with no error anywhere.
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
Divi → AppsFlyer · diagnose
Diagnostic order — Divi → AppsFlyer
- 01
Count submissions carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
Check whether tracking code sits in theme files or in a child theme
If it is in the parent theme, it is one update away from vanishing.
- 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.
Divi → AppsFlyer · prove
How it gets proven — Divi → AppsFlyer
Source of truth
Your CRM record, joined to the submission.
- 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.
- Qualified outcomes reconciled per form against imported conversions, with code placement verified update-safe.
Divi → 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
- Check whether tracking code sits in theme files or in a child theme
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
Your CRM record, joined to the submission.
Free30 minutesNo obligation
Divi → AppsFlyer · when not to buy
When you don't need this — Divi → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the AppsFlyer device identifier, appsflyer_id.
- Sites using a separate form plugin and a tag manager are insulated from the theme-update risk.
- 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.
Divi → AppsFlyer · what we deliver
What gets built — Divi → AppsFlyer
Identifier capture into Divi
Use a child theme or the builder's supported code integration areas rather than editing templates directly, and bind to the AJAX submission.
Event source: your CRM record
Send qualified outcomes per form, with the identifier passed through a hidden field.
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
Disqualified submissions reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your CRM record, joined to the submission.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Divi → AppsFlyer questions, answered
No. AppsFlyer attributes installs and in-app events to devices. A web form lead has no device identifier and will land as unattributed.
Replace plain store links with AppsFlyer OneLink URLs on every download button, including global header and footer copies, so the click carries campaign context into the install.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the Divi form submission. Custom code added to theme templates is vulnerable to updates, and Divi's contact module submits over AJAX. 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 record. Send qualified outcomes per form, with the identifier passed through a hidden field.
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 Divi → AppsFlyer
- Stripe → AppsFlyerConnecting Stripe to AppsFlyer
- PayPal → AppsFlyerConnecting PayPal to AppsFlyer
- Shopify → AppsFlyerConnecting Shopify to AppsFlyer
RELATED GUIDES
Where Divi → AppsFlyer fits in the rest of your tracking
- Bricks → AppsFlyerConnecting Bricks Builder to AppsFlyer
- Elementor → AppsFlyerConnecting Elementor to AppsFlyer
- Web and dev agenciesConversion tracking for web agencies, measured in signed contracts
- Bricks → BranchConnecting Bricks Builder to Branch
- Elementor → BranchConnecting Elementor to Branch
- Marketing agenciesOne tracking standard across your whole client portfolio
- Divi → Amazon AdsConnecting Divi to Amazon Ads
- Divi → X AdsConnecting Divi to X Ads
Free · 30 min
Get Divi and AppsFlyer joined properly
Free30 minutesNo obligation
