> For the complete documentation index, see [llms.txt](https://docs.smartbot-vk.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smartbot-vk.ru/moduli/istochniki-perekhodov.md).

# Источники переходов

Из данной статьи вы узнаете, что такое «источники перехода», и как их использовать.

Модуль «Источники перехода» незаменим, чтобы оценить эффективность вашей рекламы и просто видеть, откуда приходят новые пользователи. Включите модуль и перейдите туда.

![](/files/-M77FzeWpZYH2CzgxFU5)

Сперва нужно сгенерировать ссылку, которую вы будете распространять, и через которую пользователи попадут в вашу группу.

![](/files/-M77G3Hr63jdlsIRkcv0)

Пропишем для нее параметры «ref» и «ref\_source». В них будет храниться информация о том, откуда пришел пользователь.

![](/files/-M77G9mExYzuOh0jbV_q)

Данные параметры абсолютно произвольны и созданы для вашего удобства.

Например, если вы проводите рекламную кампанию в WhatsApp, укажите «рекламная\_кампания» в поле «ref», а в поле «ref\_source» — «whatsapp».&#x20;

![](/files/-M77GFEGlIW5k5uhGKUu)

Получившаяся ссылка автоматически ведет в ЛС вашей группы. Вы можете тут же сократить ссылку при помощи встроенного сервиса [vk.cc](https://vk.cc).

Заданные параметры «ref» и «ref\_source» будут теперь видны в разделе «Пользователи». Их можно использовать не только для отслеживания источника, но и в качестве переменных.

![](/files/-M77GNY_Rg49u1jjl8k3)

Теперь вы знаете, как применять модуль «Источники перехода»!


---

# 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://docs.smartbot-vk.ru/moduli/istochniki-perekhodov.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.
