---
metadata:
  - name: generator
    content: Diplodoc Platform v5.48.2
alternate:
  - https://yandex.com/support/taxi-distr/en/code-integration.md
  - https://yandex.com/support/taxi-distr/ru/code-integration.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/taxi-distr/en/llms.txt

# Generating links

After activation, you'll receive an email.

The tracking code will appear in your [account](https://distribution.yandex.ru/v2/products/) under the **Products** section.

## Link to Yandex Go ride requests {#order}

You can only track ride requests using a tracking code (CLID) of the **Link to request rides** type.

The widget constructor is found in the [Yandex Go Tools](https://distribution.yandex.ru/v2/taxi-tools/) section. The tracking code you need is inserted there automatically.

If you're already using the widget without a tracking code, find `data-ref=` in its code and replace the value with the tracking code.

```xml
<div class="ya-taxi-widget" data-use-location="true" data-app=”3” data-redirect="1178268795219780156" data-size="s" data-theme="normal" data-title="Get there by taxi" data-point-b="37.636823,55.745017" data-ref="YOUR-TRACKING-CODE" data-description="" data-proxy-url="https://{app}.redirect.appmetrica.yandex.com/route?start-lat={start-lat}&start-lon={start-lon}&end-lat={end-lat}&end-lon={end-lon}&ref={ref}&appmetrica_tracking_id={redirect}"></div></html>
```

If you're using a regular link, enter the tracking code in `ref=`.

```xml
https://3.redirect.appmetrica.yandex.com/route?end-lat=55.745017&end-lon=37.636823&ref=YOUR_TRACKING_CODE&appmetrica_tracking_id=1178268795219780156
```

To work with the widget, use the parameters `data-app="3"` and `data-redirect="25395763362139037"`.

After entering the tracking code, open the link on a desktop computer and go to the Yandex Go website. In the browser's address bar, find `ref=` and make sure these two points are true:

- The value is your tracking code (type: **Link to request rides**).

- There's only one parameter in `ref=`.

<!--
## Link to the Yandex Go app {#app}

You can only track ride requests using a tracking code (CLID) of the **Link to the Yandex Go app** type. Use a link to one of verticals, based on your region.

To integrate your tracking code in a link, create the link using this template.

#### Taxi {#taxi}

```
https://yandex.go.link/?adj_t=i6qgxe_vlce30&adj_campaign=CLID_Placement&adj_adgroup={CLID}_{VID}_{ID}
```

Where:

{% list tabs %}

- For adj_campaign

  1. `{CLID}` — your tracking code.

  2. `{Placement}` — well-known name of the placement or network.

- For adj_adgroup

  1. `{CLID}` — your tracking code.

  2. `{VID}` — numeric ID that denotes an ad placement in the `1-999` format.

  3. `{ID}` – optional ID for the additional segmentation.
 	
{% endlist %}

{% note warning %}

Don't pass unique IDs such as `click_id` and `gaid\idfa` in the `adj_creative` parameter.

{% endnote %}

For example, if the partner AdDistributor buys advertising in the InMobi network the final link would look like this:

```
https://yandex.go.link/?adj_t=i6qgxe_vlce30&adj_campaign=7654321_InMobi&adj_adgroup=7654321_12_threeinarow.apk&adj_creative=8877665544_hype1
```	

Only use this link to attract new app users. When creating links, you can only use the advertising materials available on the **Deeplink Generator** tab.

#### Generating links to other Yandex Go tariffs {#other}

#|

|| **Tariff** | **Addition to the link** ||
|| **Together** tariff | `/route?tariffClass=combo` ||
|| **Intercity** tariff | `/intercity_main?start_geo_area=current_a` ||
|| **Cargo** tariff | `/route?vertical=delivery` ||

|#

An example of the link for the **Intercity** tariff

```
https://yandex.go.link/intercity_main?start_geo_area=current_a&adj_t=i6qgxe_vlce30&adj_campaign=7654321_InMobi&adj_adgroup=7654321_12_threeinarow.apk&adj_creative=8877665544_hype1
```

## Link to the Yandex Pro app {#yandex-pro}

You can only track ride requests using a tracking code (CLID) of the **Link to the Yandex Pro app** type.

To integrate your tracking code in a link, create the link using this template:

```
https://pro.go.link/screen/main?adj_t=1k7m69s8_1kz8j250&adj_campaign={CLID}_{Placement}&adj_adgroup={CLID}_{VID}_{ID}
```

Where:

{% list tabs %}

- For adj_campaign

  1. `{CLID}` — your tracking code.

  2. `{Placement}` — well-known name of the placement or network.

- For adj_adgroup

  1. `{CLID}` — your tracking code.

  2. `{VID}` — numeric ID that denotes an ad placement in the `1-999` format.

  3. `{ID}` – placement ID that is assigned by the network which is specified in the `adj_campaign` parameter.
 	
{% endlist %}

{% note warning %}

Don't pass unique IDs such as `click_id` and `gaid\idfa` in the `adj_creative` parameter.

{% endnote %}

For example, if the partner AdDistributor buys advertising in the InMobi network the final link would look like this:

```
https://pro.go.link/screen/main?adj_t=1k7m69s8_1kz8j250&adj_campaign=7654321_InMobi&adj_adgroup=7654321_12_threeinarow.apk&adj_creative=8877665544_hype1
```	

Only use this link to attract new app users. When creating links, you can only use the advertising materials available on the **Deeplink Generator** tab.
-->


