> For the complete documentation index, see [llms.txt](https://docs.tgshop.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tgshop.io/osnovnye-nastroiki/marketingovye-instrumenty/referalnaya-programma.md).

# Реферальная программа

В этой инструкции вы узнаете, как подключить реферальную программу для покупателей в своем магазине

Запустите процесс привлечения новых клиентов, не требующий вашего участия. При активации настроек реферальной программы, у всех пользователей вашего магазина в ЛК покупателя появляется раздел **Пригласи друга за промокод**, а также после оплаты заказа в вашем магазине. Покупатель в 1 клик может поделиться уникальной ссылкой со скидкой с другом в Telegram -> друг оплачивает заказ со скидкой -> Пригласивший получит сообщение о покупке друга и мотивацию, чтобы продолжать приглашения.&#x20;

<div><figure><img src="https://149468416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLo474ql7jgpwSAeS8WAS%2Fuploads%2FLpvEG3bY362ktFeaVS6x%2FIMG_6076.PNG?alt=media&amp;token=bcf04fa6-3681-4cdb-8043-6cc559b67677" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://149468416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLo474ql7jgpwSAeS8WAS%2Fuploads%2FsONSkBW1Sl33mwDOqTiZ%2FIMG_6077.PNG?alt=media&amp;token=b85ad05b-a9f2-4ad5-9137-a0cfb5a7aea3" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://149468416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLo474ql7jgpwSAeS8WAS%2Fuploads%2FRhAjDqpskNPqj47FXstf%2FIMG_6078%20(2).PNG?alt=media&amp;token=5a8b41bb-9256-4b84-8e21-93327258c738" alt="" width="375"><figcaption></figcaption></figure></div>

<div><figure><img src="https://149468416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLo474ql7jgpwSAeS8WAS%2Fuploads%2Fiki3x43hRIb92KThKpCe%2FIMG_6079.PNG?alt=media&amp;token=1aa8f49c-432a-49e2-9d2c-2eda6a7d355b" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://149468416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLo474ql7jgpwSAeS8WAS%2Fuploads%2FoCJGOL8yaYyAj1IFTiVf%2FIMG_6073.PNG?alt=media&amp;token=801ef8d2-3264-428b-8588-e4e727f11534" alt="" width="375"><figcaption></figcaption></figure></div>

### Возможности реферальной программы:&#x20;

1. Гибкая настройка правил получения вознаграждения для пригласившего и приглашенных пользователей: скидка в процентах или фиксированную сумма, минимальный заказ и срок действия промокода, а также ограничения на применение для товаров со скидкой.&#x20;
2. Настройка ограничения по сроку для применения промокода для пригласившего пользователя (защита от фрода).&#x20;
3. Система автоматически генерирует реферальные ссылки для каждого пользователя в магазине, а также уникальный промокод.&#x20;
4. Аналитика по пригласившим / приглашенным пользователям, количестве заказов, сумме заказов.&#x20;

{% hint style="warning" %}
**Важно:** функционал реферальной программы нельзя подключить к магазину, у которого стоит интеграция с внешними системами лояльности, например, с Maxma.&#x20;
{% endhint %}

{% hint style="warning" %}
**Важно:** действие реферальной программы распространяется на все типы оплат, в том числе и на "свой способ оплаты", то есть будет работать и с пост-оплатой.
{% endhint %}

### Настройка реферальной программы&#x20;

1. Перейдите в раздел Настройки и выберите вкладку Реф. Программа
2. Настройте скидку для пригласившего пользователя (реферера)&#x20;

<div align="left"><figure><img src="https://149468416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLo474ql7jgpwSAeS8WAS%2Fuploads%2FUt7W4HluYr8mhSCpxDiu%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202026-01-15%20%D0%B2%2017.32.22.png?alt=media&amp;token=da555d8a-a449-43dd-8903-4149a6b26ab5" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
Не забудьте настроить срок начисления скидки после покупки для того, чтобы исключить фрод со стороны покупателей (например, 7 дней или 14 дней).&#x20;
{% endhint %}

3. Настройте скидку для приглашенного пользователя (реферала)&#x20;

<div align="left"><figure><img src="https://149468416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLo474ql7jgpwSAeS8WAS%2Fuploads%2FaBbCTQGAOhLff3nriuwv%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202026-01-15%20%D0%B2%2017.32.39.png?alt=media&amp;token=11bf1098-db06-4a8b-b9d9-9b3a201d698d" alt="" width="375"><figcaption></figcaption></figure></div>

4. Сохраните настройки&#x20;
5. Включите тогл "реферальная программа" для ее активации в вашем магазине для покупателей&#x20;

<div align="left"><figure><img src="https://149468416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLo474ql7jgpwSAeS8WAS%2Fuploads%2FhVJWN8nB8eqZqpab6KV8%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202026-01-15%20%D0%B2%2017.32.51.png?alt=media&amp;token=561b3865-8704-40ff-bba4-d0e57c82df4a" alt="" width="365"><figcaption></figcaption></figure></div>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.tgshop.io/osnovnye-nastroiki/marketingovye-instrumenty/referalnaya-programma.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
