Connecting CJ Affiliate to AppsFlyer
CJ operates at enterprise scale with sophisticated commissioning rules, which means the same publisher can be paid differently by product, by customer status or by placement — and getting those inputs wrong pays real money incorrectly. 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 CJ 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
CJ Affiliate in-app sales tracked through AppsFlyer
Here AppsFlyer carries in-app sales back to CJ Affiliate: route publisher links through a OneLink, attribute the install or open, then post the in-app purchase to CJ with order ID, net amount and new-versus-returning status from your backend order history. Check for a CJ partner integration first, and send app orders by one route only.
When a retailer with a CJ programme also has an app, the in-app order has no CJ cookie and no cjevent. Publishers notice quickly, because mobile traffic increasingly opens the app instead of the mobile site. Here AppsFlyer is the system that carries the conversion back to CJ rather than a place to send CJ transactions to: the publisher's link goes through a OneLink, the install or app open is attributed to that link, and the in-app purchase is posted to CJ with the original publisher context. Check whether a CJ partner integration is available in your AppsFlyer account before building a custom postback.
The inputs CJ commissions on still have to come through. An in-app purchase posted to CJ needs the order ID, the amount net of discounts, and the new-versus-returning status. Customer status needs your backend's order history, because AppsFlyer only knows whether the device is new. A returning web customer who installs the app is a new device and an old customer, and paying the new-customer rate on that order is the most likely error on this pair.
Watch for the same order being sent twice: once from the AppsFlyer postback and once from a server-to-server CJ call your web stack already makes for every order regardless of channel. Pick one route for app orders and exclude them from the other.
CJ → AppsFlyer · what breaks
Why this join usually fails — CJ → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches CJ
The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.
- 02
Commissioning rules fed the wrong inputs
A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.
- 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.
CJ → AppsFlyer · the fix
What working looks like — CJ → AppsFlyer
The AppsFlyer device identifier, appsflyer_id on every conversion
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
CJ Affiliate's own records are the reference, not either dashboard.
CJ → AppsFlyer · architecture
How CJ and AppsFlyer actually connect
- 1
CJ Affiliate holds the truth
Rules commonly commission new customers differently from returning ones. If your order does not carry customer status correctly, publishers are paid the wrong rate systematically and neither side notices for months.
- 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 CJ transaction.
- 4
The event source decides reliability
Send orders net of commission, carrying the fields the commissioning rules depend on.
- 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.
CJ → AppsFlyer · normal or broken
Working vs. broken, side by side — CJ → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the conversion
Visible on the record itself in CJ Affiliate, not merely captured somewhere on the site.
Sent from your order record with CJ attribution
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
AppsFlyer's count and CJ Affiliate's records agree within a few percent over a closed window.
Actually broken
The AppsFlyer device identifier, appsflyer_id missing on most records
The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.
Sent from the browser
A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.
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
The dashboard shows a number and no one has compared it to CJ Affiliate.
CJ → AppsFlyer · diagnose
Diagnostic order — CJ → AppsFlyer
- 01
Count conversions carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
From the ad click through CJ and into AppsFlyer.
- 03
Verify that new-versus-returning status reaches CJ correctly
Sample recent transactions and compare against your own customer records. Mismatches are money.
- 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.
CJ → AppsFlyer · prove
How it gets proven — CJ → AppsFlyer
Against CJ Affiliate's own records, not against either platform's dashboard.
Source of truth
Orders flagged by publisher, with the commissioning inputs recorded on the order.
- The AppsFlyer device identifier, appsflyer_id confirmed present on a live conversion.
- A real conversion followed from click through CJ to AppsFlyer.
- In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
- Transactions reconciled per order with commissioning inputs verified against your own customer data.
CJ → AppsFlyer · free audit
What we check in the free audit
- Count conversions carrying the AppsFlyer device identifier, appsflyer_id
- Follow one real conversion end to end
- Verify that new-versus-returning status reaches CJ correctly
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
Orders flagged by publisher, with the commissioning inputs recorded on the order.
Free30 minutesNo obligation
CJ → AppsFlyer · when not to buy
When you don't need this — CJ → AppsFlyer
- If AppsFlyer already reports conversions that reconcile against CJ Affiliate's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the AppsFlyer device identifier, appsflyer_id.
- Simple flat-rate programmes have no commissioning inputs to get wrong.
- 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.
CJ → AppsFlyer · what we deliver
What gets built — CJ → AppsFlyer
Identifier capture into CJ
Capture the identifier and the customer status on the order, and verify both across every checkout path you operate.
Event source: your order record with CJ attribution
Send orders net of commission, carrying the fields the commissioning rules depend on.
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 reverse the commission.
Written guarantee
95%+ tracking accuracy
Measured against Orders flagged by publisher, with the commissioning inputs recorded on the order.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
CJ → AppsFlyer questions, answered
The publisher link has to route through your mobile measurement partner so the install or app open is attributed to it, and the in-app purchase is then posted back to CJ. Without that link, in-app orders are invisible to CJ.
Not reliably. AppsFlyer knows about new devices, not new customers, so take the customer status from your order history before the conversion reaches CJ.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the CJ transaction. The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths. 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 record with CJ attribution. Send orders net of commission, carrying the fields the commissioning rules depend on.
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 CJ → AppsFlyer
- CJ → Google AdsConnecting CJ Affiliate to Google Ads
- CJ → MetaConnecting CJ Affiliate to Meta Conversions API
- CJ → GA4Connecting CJ Affiliate to GA4
RELATED GUIDES
Where CJ → AppsFlyer fits in the rest of your tracking
- Tapfiliate → AppsFlyerConnecting Tapfiliate to AppsFlyer
- FirstPromoter → AppsFlyerConnecting FirstPromoter to AppsFlyer
- Everflow → AppsFlyerConnecting Everflow to AppsFlyer
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Rewardful → AppsFlyerConnecting Rewardful to AppsFlyer
- ShareASale → AppsFlyerConnecting ShareASale to AppsFlyer
- LeadDyno → AppsFlyerConnecting LeadDyno to AppsFlyer
- Refersion → AppsFlyerConnecting Refersion to AppsFlyer
Free · 30 min
Get CJ and AppsFlyer joined properly
Free30 minutesNo obligation
