> ## Documentation Index
> Fetch the complete documentation index at: https://docs.linkrunner.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Web to app journeys

Source: https://docs.linkrunner.io/features/web-to-app-journeys

Track users as they move from your website to your app, whether the app is already installed or not

**Before you start**

- For: Marketers and developers
- Time: About 15 minutes
- You need: Your link domain set up (see Use your own link domain)
- You need: Deep links set up in your app (see Set up deep links)
- You need: Deferred deep linking turned on for your campaigns (see Deferred deep links)
- You need: The Linkrunner SDK in your app, calling signup once you know the user

A web to app journey is any path that starts on your website and continues inside your app. The simplest way to reason about these journeys is to split them by install state:

- **App already installed**: the link should open the app directly (deep linking).
- **App not installed**: context has to survive the install (deferred deep linking).

This guide maps the common journeys in each bucket to how Linkrunner tracks them, where the data appears in the dashboard, and what you need to set up.

## How Linkrunner bridges web and app

One thing does the bridging: a **Linkrunner link on your sub-domain**, placed wherever the journey starts (a website button, a CRM message, an ad destination URL).

- **If the app is installed**, the link opens the app directly. Your app reports the open with [`handleDeeplink`](https://docs.linkrunner.io/sdk/react-native#handle-deeplink), which records a re-engagement against the campaign.
- **If the app is not installed**, the link routes the user to the store. After they install and open the app, [`getAttributionData`](https://docs.linkrunner.io/sdk/react-native#getting-attribution-data) returns the attributed campaign and the deferred deep link so you can drop them into the right screen.

Everything after the open is the mobile SDK's job: `init` records the app open, [`signup`](https://docs.linkrunner.io/sdk/react-native#user-identification-required) registers the user, [`trackEvent`](https://docs.linkrunner.io/sdk/react-native#tracking-custom-events) captures actions, and [`trackEvent` with a payment](https://docs.linkrunner.io/sdk/react-native) captures revenue.

> **Note:**
>
> For Meta campaigns, use the dedicated handoff instead of building the link yourself. Linkrunner auto-creates and attributes the campaign for you. See [Meta Web to App](https://docs.linkrunner.io/ad-networks/meta-web-to-app).

### Prerequisites

Set these up once and every journey below works:

1. **A link domain**, either a Linkrunner sub-domain or a Branded sub-domain. See [Subdomain Setup](https://docs.linkrunner.io/features/subdomain-setup).
2. **Deep linking** so installed apps open directly. See [Deep Linking Setup](https://docs.linkrunner.io/features/deep-linking-setup).
3. **Deferred deep linking** on campaigns so context survives the install. See [Deferred Deep Linking](https://docs.linkrunner.io/features/deferred-deep-linking).
4. **Mobile SDK installed** with `init`, `handleDeeplink`, and `getAttributionData` wired up, and [`signup`](https://docs.linkrunner.io/sdk/react-native#user-identification-required) called once you know who the user is. Events and revenue are only stored for users registered through `signup`.

---

## App already installed

These journeys open the app directly through the Linkrunner link. You track the re-engagement plus whatever the user does once inside.

| Journey | What Linkrunner tracks | Where in the dashboard | What to set up |
| --- | --- | --- | --- |
| **Website → App Open** | Link click + app re-engagement via `handleDeeplink` | Campaigns → **Clicks**; switch **Install Attribution** to **Retargeting** | Deep linking configured; `handleDeeplink` called on every launch; "Open App" button uses a Linkrunner link |
| **Web content → specific screen** | Same, with a deep link **path** that routes in-app (e.g. `/product/123`) | Same as above; in-screen actions show in event columns | App routes match the link's paths; encode the path in the link |
| **Web CTA → in-app conversion** | Re-engagement + in-app [`trackEvent`](https://docs.linkrunner.io/sdk/react-native#tracking-custom-events), with a payment for purchases | Custom **event columns**; **Revenue**, **ROAS**, **Paying Users** | Call `signup` first; instrument the conversion event or payment |
| **CRM → app** (email, SMS, WhatsApp, push) | One tagged link per channel + downstream events | One **campaign per channel**: Clicks, Reengagements, and event columns | A Linkrunner link per channel; for push, carry the link in the notification payload |

> **Tip:**
>
> At the top of the [Campaigns](https://dashboard.linkrunner.io/dashboard/campaigns) page, switch the **Install Attribution** dropdown to **Retargeting** to see returning users (reengagements and reinstalls) instead of new installs.

![Install Attribution dropdown on the Campaigns page switched to Retargeting](https://docs.linkrunner.io/images/web-to-app/re-engagement-toggle.png)

---

## App not installed

These journeys go through the store. Deferred deep linking carries the original context across the install so the user resumes where they intended.

| Journey | What Linkrunner tracks | Where in the dashboard | What to set up |
| --- | --- | --- | --- |
| **Website → Install** | Click → install, with the attributed campaign from `getAttributionData` | **Overview** stat cards (All / Attributed / Organic Installs); Campaigns → **Installs** | Linkrunner link as the store target; `init` + `getAttributionData` after first open |
| **Meta or Google ad → Website → Install** | Ad click → install, credited to the ad the visitor clicked before reaching your website | Campaigns → **Installs** | Web SDK on your website; the download button opens the link from [`getAppDownloadURL`](https://docs.linkrunner.io/sdk/web#send-ad-visitors-from-your-website-to-your-app) |
| **Website → Install → Signup** | Install + user registration | **Sign-ups** and **Conversion** (sign-ups / installs) columns; user list in the campaign drawer | Call [`signup`](https://docs.linkrunner.io/sdk/react-native#user-identification-required) with `user_data.id` |
| **Website → Install → Purchase** | Install + revenue | **Revenue**, **ROAS**, **Paying Users**, **Daywise Revenue** columns | [`trackEvent` with a payment](https://docs.linkrunner.io/sdk/react-native) (amount, payment ID, currency); map the event for Meta/Google ROAS |
| **Website → Install → Onboarding** | Install + activation event | Custom **event column**; [Events](https://dashboard.linkrunner.io/dashboard/events) | Define the activation event and fire it with [`trackEvent`](https://docs.linkrunner.io/sdk/react-native#tracking-custom-events) |
| **Specific page → Install → Same context** | Deferred deep link carrying the page context through the install | Campaign **Installs**; the link resolves via `getAttributionData().deeplink` | Enable deferred deep linking on the campaign; pass the path into the link; parse `deeplink` in-app |
| **Referral link → Install** | Install + referral conversion | Campaign per referral; event column | [Referral tracking](https://docs.linkrunner.io/features/referral-codes); add `?referrer=` to the link; handle it in-app |

> **Note:**
>
> The deferred deep link is read once, after the first open, from [`getAttributionData`](https://docs.linkrunner.io/sdk/react-native#getting-attribution-data). Check the `deeplink` field, parse the URL, and navigate. The SDK does not navigate for you.

---

## Reading the full journey

The end-to-end question (*which campaign drove this user, and what did they eventually do in the app*) is answered at the **campaign** level:

- Open a campaign's detail drawer ([`dashboard/campaigns?d=campaign-details&campaign={display_id}`](https://dashboard.linkrunner.io/dashboard/campaigns)) to see the **Clicks → Installs → Sign-ups** funnel as a flow diagram, plus revenue and paying users.
- Use the per-campaign **user list** in that drawer to see who signed up.
- Use the **Retention** columns to see whether those users stuck around.

![Campaign details drawer showing the Clicks to Installs to Sign-ups flow diagram](https://docs.linkrunner.io/images/web-to-app/campaign-drawer.png)

### Metrics and where they live

| Metric                                                | Where to find it                                                                 |
| ----------------------------------------------------- | -------------------------------------------------------------------------------- |
| Source / Channel / Campaign / Ad Set / Ad / Creative  | Campaigns table (expand ad set and creative rows)                                |
| Clicks                                                | Campaigns table + Overview                                                       |
| Installs (All / Attributed / Organic / iOS / Android) | Overview stat cards + Installs column                                            |
| App re-engagement                                     | Campaigns → **Retargeting** view (Reengagements column)                          |
| Sign-ups / Conversion                                 | Sign-ups and Conversion columns; user list in the campaign drawer                |
| Activation / custom events                            | Custom event columns; [Events](https://dashboard.linkrunner.io/dashboard/events) |
| Purchase / Revenue / ROAS                             | Revenue, ROAS, Paying Users, Daywise Revenue columns                             |
| Retention (D1, D7, …)                                 | Rolling and Classic Retention columns                                            |

Most of these are columns on the Campaigns table. Use **Edit Columns** to choose which ones show, including per-event and cost-per-event columns:

![Edit Columns panel on the Campaigns table with metric and per-event columns](https://docs.linkrunner.io/images/web-to-app/edit-columns.png)

Custom and payment events received from the SDK are listed under **Events settings**, along with the ad networks each is mapped to:

![Events settings page listing received events and their ad network mappings](https://docs.linkrunner.io/images/web-to-app/events-settings.png)

> **Note:**
>
> Website page views and channel breakdowns are attribution inputs that feed the campaign numbers above; they are not a standalone report in the dashboard today.

## Troubleshooting

**App opens the store even though it is installed?** Deep linking is not verified. Check [Deep Linking Setup](https://docs.linkrunner.io/features/deep-linking-setup) and confirm your domain's `assetlinks.json` and `apple-app-site-association` are saved in Linkrunner.

**Deep link is null after install?** Confirm deferred deep linking is enabled on the campaign, and that you read `deeplink` from `getAttributionData` after `init` completes. See [Deferred Deep Linking](https://docs.linkrunner.io/features/deferred-deep-linking).

**Events or revenue not showing for a user?** They are only stored for users registered through [`signup`](https://docs.linkrunner.io/sdk/react-native#user-identification-required). Register the user, then re-send the event.

**Re-engagement not recorded for an installed app?** Make sure `handleDeeplink` runs on both cold start and warm start with the opened URL.

## Related guides

- [Deep Linking Setup](https://docs.linkrunner.io/features/deep-linking-setup)

Open installed apps directly from web links

- [Deferred Deep Linking](https://docs.linkrunner.io/features/deferred-deep-linking)

Carry context across the install

- [Meta Web to App](https://docs.linkrunner.io/ad-networks/meta-web-to-app)

Run Meta web-to-app ads with CAPI

- [Event Capture](https://docs.linkrunner.io/api-reference/event-capture)

Track conversions and activation events

- [Revenue Tracking](https://docs.linkrunner.io/api-reference/revenue-tracking)

Capture payments and measure ROAS

**Need help?** Contact <support@linkrunner.io>
