Quickstart

Integrate LinkTrail in about five minutes: register an app in the dashboard, add the SDK, and make the three calls that route links and attribute installs.

Two parts: set things up in the dashboard, then wire three calls into your app. Every SDK — iOS, Android, React Native, Flutter — follows the same shape.

1 — Dashboard

  1. 1Register your app (Apps → Register app). iOS needs your Apple Team ID; Android needs at least one SHA-256 fingerprint (add several — debug, release, Play signing).
  2. 2Add a domain (Domains) — or use your *.linktrail.io subdomain. LinkTrail hosts the AASA / assetlinks.json for it automatically.
  3. 3Create a link (Links → Create link) — choose a domain + slug, a deep link path (the in-app screen, e.g. /products/aj1), your iOS/Android apps, a fallback URL, and optionally campaign/channel/UTM + custom JSON data.
  4. 4Grab an API key (Settings → API Keys → Create key, lt_live_…). This is what the SDKs use.

2 — App

Every SDK follows the same shape. Consent gating is on by default on iOS and Android — no attribution is recorded until your app grants consent. On Android a fresh install is additionally held until your setConsent decision before the deferred link routes; iOS and re-engagement links route immediately.

configure(apiKey)        // at launch — links route from this moment
onLink { link, source }  // ONE hook for deferred AND normal deep links
handleDeepLink(url)      // forward incoming OS links to the SDK
setConsent(true)         // after your consent prompt — attribution waits for this

3 — Test

Create a link, tap it from a messages or notes app (not the browser address bar), and watch onLink fire. For deferred: uninstall → tap link → reinstall → the first launch delivers it.

Next: the iOS, Android, React Native, and Flutter SDK pages have copy-paste integration for each platform.