Auditing an Android affiliate SDK means checking whether a partner click can be traced to a first app open and then to a verified purchase. Those are separate claims. Google Play may return a referrer that links an installation to a click, but that does not mean the attribution service credited the partner. Likewise, a purchase event in an SDK dashboard does not prove the order was paid or eligible for commission.
Follow one controlled journey before comparing campaign totals. Record what each system received, when it received it and which rule determined the outcome. Then change one condition at a time, such as delaying the first open or retrying a purchase event. That makes it easier to tell whether a discrepancy came from missing evidence, a failed handoff or an attribution rule working as configured.
Establish what counts as an install and a purchase
Start with the definitions used by the SDK, the attribution provider and the affiliate network. An install shown in an attribution dashboard often represents a first app open rather than a completed download. A purchase might mean checkout completed in the app, payment confirmed on the backend or an order approved for commission. If two reports use the same label for different milestones, their totals can disagree even when every event arrives correctly.
Write down the evidence expected at each handoff: an affiliate click ID at the redirect, a referrer result on first launch, an attribution decision for the install, a verified order on the backend and a conversion response from the network. Record the app version, SDK version, distribution channel and relevant configuration alongside each run. Without those details, a passing test on an older build says little about the release currently acquiring users.
Trace the click through Google Play
Check the redirect chain and destination
Use a test link that follows the production redirect path but can be recognised in reports and excluded from settlement. Confirm that the click is recorded under the expected partner and that the final store URL points to the intended Android package. Inspect the referrer value at the destination, not just the parameters on the original link. A click ID can be present at the first hop and still disappear when an intermediate redirect rebuilds the URL, drops a parameter or encodes it incorrectly.
Test the routes users actually take. A link opened in a partner app's embedded browser may pass through a different redirect path from the same link opened in Chrome. Also try the link with the app already installed. If that route opens the app directly, treat it as an existing-user journey and check it against the applicable re-engagement rules instead of expecting a fresh install credit.
Separate referrer retrieval from attribution
On an eligible Google Play installation, record the Install Referrer response status before looking for the partner ID. A temporary service failure, an unsupported environment and a successful response without the expected identifier should not all be logged as organic. Check whether temporary failures are retried and whether a recovered result can still be used by the attribution provider. Keep non-Play installs in a separate test group because they may not provide equivalent referrer evidence.
Where the integration exposes referrer timestamps, compare the click and install-begin times with the SDK's first-open time and the provider's receipt time. Keep the original timestamp units and identify which clock produced each value. An install that began shortly after the click but was first opened the following day is not the same as an install that began after the click window closed. Whether either earns credit depends on which event the provider uses to enforce its window.
Audit first-open handling and the credit decision
Check when the SDK initialises relative to consent handling, referrer retrieval and the first event. Run a normal launch, launch offline and reconnect, and close the app during startup before reopening it. Look for evidence that the first-open event was queued, sent or deliberately suppressed. A queued event that arrives late can fall into a different reporting day; an intentionally suppressed event is not a delivery defect. Audit logs should let you distinguish the two without exposing personal identifiers or complete referrer strings.
Next, test the attribution decision independently of delivery. Use two test affiliate clicks in a known order and compare the winning partner with the configured precedence and lookback rules. If an ad channel can compete with an affiliate click, add a controlled case for that overlap. This is where checking attribution assumptions matters: evidence that a partner brought a user to the store does not by itself show that the partner was entitled to commission under the programme's rules.
Connect the attributed install to a verified purchase
Check which identifier survives the journey
Trace the permitted identifier that connects the attributed app instance or customer account to the order. Test a guest purchase and a purchase after sign-in if both are supported. If the app changes identifiers at login, verify that the backend can still associate the order with the eligible install without relying on an identifier the user has withheld. Also check what happens when the user signs out or switches accounts on the same device. A device-level match alone should not silently assign one customer's order to another customer's affiliate journey.
Reconcile order state, value and duplicate delivery
Use the verified backend order record as the reference for the state that triggers commission. For Google Play Billing, a pending purchase should not be treated as completed simply because checkout returned control to the app. Once the purchase is verified and reaches the required state, compare the order reference, currency and commissionable amount across the backend event, attribution record and network conversion. Check whether the programme includes tax, shipping or discounts in that amount, and confirm that minor units are converted exactly once.
Resend the same conversion to test idempotency. A timeout can leave the sender unsure whether the network accepted the first request, so a retry should reuse the stable conversion key for that order and event type. If the SDK and backend can both send purchase events, verify that one path owns the conversion or that both use a deduplication scheme the receiver actually honours. Then refund a test order and check whether the reversal references the original conversion and changes the commission state as expected.
Close the audit with an evidence trail
For each controlled order, retain the expected partner, the observed partner, the milestones reached and the first handoff where the result diverged. If the network has no conversion, distinguish a callback that was never sent from one that was rejected or accepted but is still pending approval. When comparing totals, use the same time zone and date basis: orders grouped by purchase date will not necessarily match conversions grouped by network receipt date. A guide to interpreting tracking system limitations can help separate reporting differences from missing evidence.
Classify each discrepancy by its first failing checkpoint and assign it to the team that controls that handoff. A missing click ID in the final store URL belongs with the redirect owner; a verified order that never produced a conversion belongs with the purchase integration owner. Keep the successful journey as a regression test alongside the failure cases. On the next SDK upgrade or checkout release, rerun both and compare the raw milestones before using dashboard totals to change partner payouts.
