How to Track Affiliate-Driven Trial-to-Paid Conversions

How to Track Affiliate-Driven Trial-to-Paid Conversions

A how-to guide for tracking when affiliate-referred trial users convert to paid subscribers.

Insert Affiliate tracks trial-to-paid conversions automatically by listening to subscription lifecycle webhooks from RevenueCat or Adapty. When a user who was referred by an affiliate starts a free trial and later converts to a paying subscriber, the platform matches the conversion back to the original affiliate and calculates a commission. No manual reconciliation is required.

Why Trial-to-Paid Tracking Matters for Affiliate Programmes

Free trials are the dominant acquisition model for subscription apps. According to RevenueCat's State of Subscription Apps report, the median trial-to-paid conversion rate across all categories is roughly 40 percent, with top-performing health and fitness apps reaching 68 percent among the top decile (RevenueCat, 2025). Adapty's 2026 State of In-App Subscriptions report puts the global average at 25.6 percent trial-to-paid.

For app developers running affiliate programmes, the gap between a trial start and a paid conversion is where real revenue is won or lost. If your affiliate tracking cannot bridge that gap, you either overpay affiliates for trials that never convert or underpay them for conversions they drove. Insert Affiliate solves this by tying the affiliate identifier to the subscriber record before the trial begins, then listening for the conversion event when the trial ends.

How the Attribution Chain Works

The process follows three stages: identification, storage, and conversion matching.

First, a user clicks an affiliate link or enters a short code inside your app. The Insert Affiliate SDK captures the affiliate identifier and stores it locally on the device.

Second, the SDK writes that identifier as a custom subscriber attribute on your subscription management platform. For RevenueCat, the SDK calls Purchases.setAttributes with the key insert_affiliate and a value in the format SHORT_CODE-UUID. For Adapty, the SDK calls Adapty.updateProfile with the same insert_affiliate key and format.

Third, when subscription events fire, the platform sends webhooks to Insert Affiliate. The webhook payload contains the subscriber's custom attributes, including insert_affiliate, which Insert Affiliate uses to credit the correct affiliate.

Setting Up Trial Conversion Tracking with RevenueCat

RevenueCat sends several webhook event types that are relevant to trial tracking. The INITIAL_PURCHASE event fires when a user starts a new subscription, including a free trial. The RENEWAL event fires when a trial converts to a paid subscription or when an existing subscription renews. The CANCELLATION event fires if the user cancels before the trial ends.

To configure this with Insert Affiliate:

  1. In your Insert Affiliate dashboard, set In-App Purchase Verification to RevenueCat.
  2. Copy the webhook URL provided in your dashboard settings.
  3. In your RevenueCat dashboard, navigate to Project Settings, then Integrations, then Webhooks.
  4. Paste the Insert Affiliate webhook URL.
  5. Configure the webhook to send App Store and Google Play Store events.
  6. In your app code, after initialising the Insert Affiliate SDK, retrieve the affiliate identifier using returnInsertAffiliateIdentifier and pass it to RevenueCat using Purchases.setAttributes with the insert_affiliate key.

When a trial user converts, RevenueCat fires a RENEWAL event. Insert Affiliate receives this webhook, reads the insert_affiliate attribute from the subscriber data, and creates a commission record for the referring affiliate.

Setting Up Trial Conversion Tracking with Adapty

Adapty follows a similar webhook-driven model. Subscription events are forwarded to Insert Affiliate in near real time, typically within 5 to 60 seconds of the event occurring.

To configure Adapty:

  1. In your Insert Affiliate dashboard, set In-App Purchase Verification to Adapty.
  2. Copy the Adapty Webhook URL and the Adapty Webhook Authorization Header.
  3. In the Adapty dashboard, navigate to Integrations, then Webhooks.
  4. Set both the Production URL and Sandbox URL to the Insert Affiliate webhook URL.
  5. Paste the authorization header value.
  6. Enable Exclude historical events, Send attribution, Send trial price, and Send user attributes.
  7. In your app code, after capturing the affiliate identifier via the Insert Affiliate SDK, call Adapty.updateProfile with the insert_affiliate custom attribute.

You can verify the attribute is set correctly by checking the Custom attributes section for a test user at app.adapty.io/profiles/users. The value should follow the format SHORT_CODE-UUID.

Understanding the Commission Calculation

When a trial converts to paid, Insert Affiliate calculates the commission based on the transaction amount reported in the webhook. You control how this works through several settings in your dashboard.

The commission rate can be a global default that applies to all affiliates, or a custom per-affiliate rate. You can also enable platform fee deduction, which subtracts the App Store or Google Play commission before calculating the affiliate payout. For example, on a 9.99 USD subscription with a 30 percent store fee and a 10 percent affiliate rate, the affiliate would earn 0.70 USD on the net amount of 6.99 USD, rather than 1.00 USD on the gross.

You can also configure payout cadence per affiliate. Some affiliates earn commission on both the initial conversion and every subsequent renewal. Others earn commission only on the initial purchase.

Tracking Renewal Revenue from Affiliate-Referred Users

Trial conversion is only the first event. For subscription apps, the ongoing renewal revenue is often more valuable than the initial purchase. Insert Affiliate continues to track renewals for affiliate-referred subscribers. Each time RevenueCat or Adapty sends a RENEWAL webhook for a subscriber with an insert_affiliate attribute, Insert Affiliate creates a new commission record.

This means affiliates who refer users with high retention rates generate more commission over time, naturally aligning their incentives with your business goals.

Testing Your Trial Tracking Setup

Before going live, test the full flow using sandbox transactions. Create a test affiliate in your Insert Affiliate dashboard using an email alias such as [email protected]. Use a short code to set the affiliate identifier in a development build of your app. Make a sandbox purchase that includes a free trial. Then check your Insert Affiliate dashboard to confirm the trial start appears as a transaction.

For RevenueCat users, sandbox transactions are clearly labelled in the dashboard, making it straightforward to distinguish test data from production data.

Key Takeaways

Tracking trial-to-paid conversions for affiliate-referred users requires three components: an affiliate identifier stored as a custom attribute on the subscriber, webhooks configured to forward subscription events to Insert Affiliate, and commission rules that define how and when affiliates are paid. With RevenueCat or Adapty handling the subscription infrastructure and Insert Affiliate handling attribution and payouts, the entire flow is automated from the moment a user clicks an affiliate link through every subsequent renewal.

Comments

Ready to grow your app with affiliate marketing?

Join hundreds of app developers who are already tracking affiliate-driven in-app purchases and rewarding their partners.