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

# Deep Links

> Deep links are links that redirect the user directly to a specific part of the mobile app, instead of just opening the home screen. They are essential for marketing campaigns, UTM tracking, and direct navigation within the app.

# Deep Links React Native and Flutter

The **Nemu React Native SDK** and **Nemu Flutter SDK** already automatically consume the React Native and Flutter **`Linking`** API to capture:

* The URL that opened the app
* URLs received while the app is already running

No additional code is needed to handle deep links.

For this to work, **native app configuration is required**, as the SDK **does not register deep links in the operating system**.

***

## What the SDK does

* Captures URLs via `Linking`
* Extracts UTMs and `nemu_*` parameters
* Persists the session origin
* Associates events sent with the captured origin

***

## What needs to be configured in the app

### Android

Configure an `intent-filter` in `AndroidManifest.xml` for the domain or scheme used by the app.

```xml theme={null}
<intent-filter>
  <action android:name="android.intent.action.VIEW" />
  <category android:name="android.intent.category.DEFAULT" />
  <category android:name="android.intent.category.BROWSABLE" />
  <data android:scheme="https" android:host="app.yourdomain.com" />
</intent-filter>
```

### iOS

Configure **Universal Links** (Associated Domains) for the domain used by the app.

```txt theme={null}
applinks:app.yourdomain.com
```

The `apple-app-site-association` file must be available on the configured domain.
