# How to Create a Link

> Create a link in the dashboard and set its path, data, social preview, redirects and tracking.

Source: https://docs.grovs.io/docs/links/create-link

Before you start, pick the right environment (**Production** or **Test**) in the dashboard header. For mobile links, integrate the SDK and set your project's redirects in [Project setup](https://docs.grovs.io/docs/getting-started/project-setup).

### 1. Open the link form

Go to **Links → Dynamic Links** and click **Create Link**.

### 2. Choose a path and name

In **Details**, enter a custom path such as `/summer-sale`. Paths must be unique within the project.

Add a link name (internal only) and optional tags to organize and filter links.

### 3. Pick the link type

**Quick Link**

Use for general links, or when your ad platform isn't listed.

**Link for Ad Platform**

Use to track ad performance from Google Ads, Meta Ads (Facebook and Instagram), LinkedIn or TikTok Ads.

### 4. Set the social preview

In **Social Media Preview**, set the title, description and image shown when the link is shared. Empty fields use the project defaults from [Project setup](https://docs.grovs.io/docs/getting-started/project-setup).

### 5. Add data

In **Data**, add key-value pairs your app or website receives. Keys and values are unrestricted.

- Open a section: `section: profile`
- Pass a coupon: `coupon: 25OFF`

### 6. Override redirects

In **Redirects**, choose a behavior for **iOS**, **Android** and **Desktop**:

| Option              | Behavior                                                                      |
| ------------------- | ----------------------------------------------------------------------------- |
| **Default**         | Uses the project's redirect rules.                                            |
| **Redirect to Web** | Always sends the user to a web URL.                                           |
| **App or Fallback** | iOS and Android only. Opens the app, or a fallback URL if it isn't installed. |

On iOS and Android, also choose the preview page:

| Option                | Behavior                                                                                               |
| --------------------- | ------------------------------------------------------------------------------------------------------ |
| **Default**           | Uses the project's preview setting.                                                                    |
| **Show preview page** | Shows a branded screen with your app logo and name before redirecting. Improves deep-linking accuracy. |
| **Skip preview page** | Redirects straight to the app or fallback URL. May reduce deep-linking accuracy.                       |

### 7. Add tracking parameters

In **Tracking**, set the campaign **Source**, **Medium** and **Campaign**. This is campaign data for Google Analytics, Google Play and the App Store.

### 8. Create the link

Click **Create**. Use the link in ads, social posts, emails or anywhere else.
