All guides
Program guide

How to create smart affiliate links for iOS, Android, and websites

Partners should not need a different URL for every device. A smart affiliate link records the click once, detects the visitor's platform, and routes them to the right app store, app deep link, or website fallback while preserving the attribution session.

1. Define the three destinations

Set an iOS destination, an Android destination, and a web fallback. The store URLs are reliable fallbacks for visitors who do not have the app installed. If your apps support universal links or app links, add those deep links before the store URLs.

2. Use one partner-facing URL

Give the partner one stable URL such as /track/creator-summer. They can place it in a bio, email, banner, QR code, or message. The tracking service records campaign and partner ownership before routing the visitor, so the partner does not need to understand platform detection.

3. Keep the attribution identity short

The redirect should carry only the click and session identity required by the destination. Do not put a large signed payload, private user data, or duplicate vendor and partner fields in every destination URL. Resolve those relationships server-side from the click record.

4. Test each device path

Test the same link on an iPhone, Android device, desktop browser, and a device without the app installed. Confirm the destination, the click record, the session ID, and the conversion event for every path. A smart link is only useful when fallback behavior is as reliable as app routing.

Implementation checklist

  • One stable partner URL is used across every placement
  • iOS App Store destination is configured
  • Android Play Store destination is configured
  • Web fallback is configured and tested
  • Universal links or app links are tested separately from store fallback
  • Conversions carry the session ID from the smart-link click

FAQ

Is a smart link the same as a deep link?

A smart link is the complete routing experience: it may use a deep link when possible, otherwise it sends the visitor to the correct store or web fallback. A deep link is only one destination mechanism inside that flow.

Can one smart link serve multiple campaigns?

A link should normally belong to one campaign so reporting stays unambiguous. Create separate links when the commission rule, campaign, or destination differs.

Will app store clicks be counted?

The click is recorded before the store redirect. An install or purchase is attributed only when the app or backend later sends a conversion event with the retained attribution identity.

What if the visitor opens the link inside an in-app browser?

Use the web fallback when app routing is unavailable. Keep the session ID in a first-party flow or pass it into the checkout so the conversion can still be matched.

Related guides and tools

  • Affiliate Click Conversion Tracking

    Learn how to connect affiliate links, partner clicks, sessions, conversions, and commissions in one reliable attribution workflow.

  • Cross-Promotion Tracking

    Track internal cross-promotion across websites and mobile apps with campaign links, smart routing, click measurement, and conversion attribution.

  • Mobile App Install Attribution

    A practical guide to attributing iOS and Android app installs, signups, and purchases to affiliate partners without losing the original click.

  • Affiliate Campaign Management

    Learn how to organize affiliate campaigns from partner onboarding and link creation through click reporting, conversion approval, and payouts.

Explore Tradly Attribution, an affiliate attribution platform for partner campaigns, tracking links, conversions, and payouts. See the affiliate attribution features or tracking API. Fix it: Shopify field map · Measure gap: GA4 join SQL · Estimate impact: Calculator.