> For the complete documentation index, see [llms.txt](https://support.morozovpimnev.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.morozovpimnev.ru/amocrm/peredacha-_ga-gclid-_ym_uid-yclid.md).

# Передача \_ga, gclid, \_ym\_uid, yclid

#### \_ym\_uid

\_ym\_uid (уникальный идентификатор пользователя, Yandex Client ID)

#### \_ga

\_ga (уникальный идентификатор пользователя, Google Analytics 4)

#### **Метка yclid**

**yclid (Yandex Click Identifier, Yandex Click ID)** - специальная метка с уникальным номером клика в Яндекс.Директе, которая добавляется в конец ссылки рекламного объявления и позволяет связывать визиты в Метрике с кликами по объявлению.

#### **Метка gclid**

**gclid (Google Click Identifier, Google Click ID)** - схожая по функционалу с Яндексом метка с уникальным номером клика в Google Рекламе, которая также добавляется в конец ссылки рекламного объявления и позволяет связывать сеансы в Google Analytics с кликами по объявлению. При использовании параметра gclid можно также импортировать сложные конверсии (онлайн и офлайн) в Google Ads.

<div data-full-width="true"><figure><img src="/files/Vsnli8PV4qaurMU9AKvf" alt=""><figcaption></figcaption></figure></div>

Для передачи \_ga, gclid, \_ym\_uid, yclid нужно в сете настроек сопоставить их с вашими полями в AmoCRM

\_ga, \_ym\_uid - берется стандартно из куки сессии пользователя

gclid, yclid - для передачи меток нужно для начала сохранить их в куки, для этого нужно подключить js скрипт, он находится в `/hostcmsfiles/amocrm/script.js`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.morozovpimnev.ru/amocrm/peredacha-_ga-gclid-_ym_uid-yclid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
