Integration Overview

Insert Affiliate tracks affiliate referrals and purchases through a three-step integration process. This guide explains each step and helps you choose the right platforms for your needs.

How Insert Affiliate Works

The affiliate tracking flow works like this:

  1. User clicks affiliate link
  2. Deep linking opens your app and identifies the affiliate
  3. Attribution is stored when the app launches
  4. User makes a purchase
  5. Purchase is verified and tracked
  6. Commission is calculated for the affiliate

To make this work, you need to integrate:

  1. Deep Linking Platform - Tracks which affiliate referred each user
  2. Purchase Verification - Validates in-app purchases and subscriptions
  3. Web Transactions (Optional) - Track web-based purchases if applicable

Step 1: Deep Linking Platform

What It Does

Deep linking allows affiliate links to open your app and track which affiliate referred the user. When a user clicks an affiliate's link, the deep linking platform:

  1. Opens your app (or the App Store if not installed)
  2. Passes the affiliate identifier to your app
  3. Enables Insert Affiliate to attribute the user to that affiliate

Choose Your Platform

We support multiple deep linking platforms. Choose based on your needs:

PlatformBest ForComplexityCost
Insert LinksQuick setup, no third-party requiredLowIncluded
Branch.ioAdvanced analytics, existing Branch usersMediumPaid
AppsFlyerMobile attribution, existing AppsFlyer usersMediumFree tier available
RevenueCat Web Purchase LinksWeb-based subscriptions via RevenueCatMedium/HighIncluded with RevenueCat
Other PlatformsCustom or existing deep linking setupVariesVaries

Recommended: Insert Links

For most users, we recommend starting with Insert Links:

  • Built into Insert Affiliate (no third-party signup required)
  • Easiest to set up and test
  • Full control over link behavior
  • No additional costs

Integration Steps

Once you choose a platform:

  1. Set up the platform - Create an account and configure your app
  2. Install our SDK - Add the Insert Affiliate SDK to your app
  3. Configure deep link handling - Follow your platform's documentation
  4. Pass links to our SDK - Forward deep link data to Insert Affiliate
  5. Test the integration - Verify attribution works correctly

Detailed instructions for each platform are in their respective guides.


Step 2: Purchase Verification

What It Does

Purchase verification validates that in-app purchases are legitimate and notifies Insert Affiliate when an attributed user makes a purchase.

Choose Your Platform

PlatformBest ForComplexityFeatures
RevenueCatMost users, subscription appsLowEasiest setup, webhooks, cross-platform
ApphudExisting Apphud usersLowSimilar to RevenueCat
IapticExisting Iaptic usersLowReceipt validation service
Direct App StoreiOS apps, maximum controlHighNo third-party, Apple only
Direct Google PlayAndroid apps, maximum controlHighNo third-party, Google only

Note: You can combine Direct App Store + Direct Google Play for cross-platform apps without third-party services.

Recommended: RevenueCat

For most users, we recommend RevenueCat:

  • Simplest integration with Insert Affiliate
  • Handles both iOS and Android
  • Automatic webhook notifications
  • Excellent documentation and support
  • Free tier available

Integration Steps

The general flow for all platforms:

  1. Set up your chosen platform - Create account and configure products
  2. Configure Insert Affiliate settings - Select your verification method in the dashboard
  3. Set up webhooks (RevenueCat, Apphud, Iaptic) - Connect your platform to Insert Affiliate
  4. Pass affiliate identifier - Ensure the affiliate's short code is included with purchases
  5. Test purchases - Verify transactions appear in your Insert Affiliate dashboard

Critical: Passing the Affiliate Identifier

The most important part of purchase verification is passing the affiliate identifier when a purchase occurs. Each platform has a different method:

  • RevenueCat: Set a custom attribute (insert_affiliate)
  • Apphud: Set a custom property
  • Iaptic: Include in purchase validation request
  • Direct integrations: Include in server-to-server notifications

See your chosen platform's documentation for specific implementation details.


Step 3: Web Transactions (Optional)

What It Does

If you sell subscriptions or products via the web (not through app stores), you can track these transactions through Insert Affiliate.

Choose Your Platform

PlatformBest ForIntegration
Stripe Web TransactionsDirect Stripe integrationStripe Connect
RevenueCat Stripe BillingUsing RevenueCat + StripeStripe Connect
RevenueCat Web BillingRevenueCat web purchasesStripe Connect

When You Need This

You need web transaction tracking if:

  • Users can purchase subscriptions on your website
  • You offer web-based checkout alongside mobile
  • You use Stripe or similar payment processors for web sales

Skip This If

You can skip this step if:

  • All purchases happen through App Store or Google Play
  • You only have a mobile app with no web presence

Complete Integration Checklist

Use this checklist to ensure you've completed all necessary steps:

Setup

  • Registered for Insert Affiliate and accessed the dashboard
  • Located your API key in dashboard settings

Step 1: Deep Linking

  • Chosen a deep linking platform
  • Created an account with your chosen platform (if required)
  • Installed Insert Affiliate SDK in your app
  • Configured deep link handling in your app
  • Tested that deep links open your app correctly

Step 2: Purchase Verification

  • Chosen a purchase verification platform
  • Set up your verification platform account
  • Configured verification method in Insert Affiliate dashboard
  • Set up webhooks (if using RevenueCat, Apphud, or Iaptic)
  • Implemented affiliate identifier passing in your app
  • Tested sandbox purchases appear in your dashboard

Step 3: Web Transactions (Optional)

  • Determined if you need web transaction tracking
  • Set up web transaction integration (if needed)
  • Tested web purchases appear in your dashboard

Testing & Launch

  • Created a test affiliate
  • Tested attribution with short codes
  • Tested attribution with deep links
  • Tested sandbox purchases appear correctly
  • Verified commission calculations are correct
  • Reviewed Testing & Sandbox Mode guide
  • Read Troubleshooting for common issues

Platform Compatibility Matrix

Not sure which platforms work together? Here's a quick reference:

Deep Linking + Purchase Verification

All deep linking platforms work with all purchase verification platforms. Choose what works best for your needs.

Popular Combinations:

  • Insert Links + RevenueCat (Easiest, recommended for most)
  • Branch.io + RevenueCat (Good for existing Branch users)
  • AppsFlyer + RevenueCat (Good for existing AppsFlyer users)
  • Insert Links + Direct App Store (Maximum control, iOS)
  • Insert Links + Direct Google Play (Maximum control, Android)

Adding Web Transactions

Web transaction platforms work independently of your mobile setup:

  • You can use Stripe Web Transactions with any mobile integration
  • RevenueCat Stripe Billing works best if you're already using RevenueCat for mobile

Need Help Choosing?

Still not sure which platforms to use? Here are some questions to guide you:

"I want the simplest setup possible"

→ Use Insert Links + RevenueCat

"I already use Branch.io for attribution"

→ Keep Branch.io + add RevenueCat for verification

"I already use RevenueCat"

→ Add Insert Links for deep linking (or keep your existing platform)

"I want maximum control, no third parties"

→ Use Insert Links + Direct App Store or Direct Google Play

"I sell subscriptions on my website too"

→ Follow steps 1 & 2, then add Stripe Web Transactions or RevenueCat Web Billing


Next Steps

Ready to start integrating? Follow these steps:

  1. Quick Start - Get your first affiliate working in 5 minutes
  2. Choose and configure your deep linking platform
  3. Choose and configure your purchase verification platform
  4. Set up web transactions (if needed)
  5. Test thoroughly in sandbox mode
  6. Create your first real affiliates and start tracking sales

Support

Need help with your integration?

  • Check the Troubleshooting guide for common issues
  • Review platform-specific documentation linked above
  • Contact support through your dashboard