> For the complete documentation index, see [llms.txt](https://knowledgebase.offer18.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.offer18.com/ru/set/integraciya-postbeka.md).

# Интеграция постбэка

**Перейдите в Shortcuts » Postback**

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

* Offer18 автоматически генирует стандартный глобальный URL постбэка.
* Специфичные для оффера / рекламодателя постбэки можно сгенерировать в этом разделе.

***

### Глобальный постбэк **(S2S)**&#x20;

{% hint style="info" %}
Рекомендуется пользователям Offer18 согласовать с партнёром-рекламодателем все параметры и макросы, чтобы убедиться, что они корректно реализованы.
{% endhint %}

Пример URL оффера &#x20;

```
https://example.o18.click/c?o=000&a=0000&aff_click_id={tid}
```

\
**Пример глобального постбэка (S2S)**&#x20;

```
https://example.o18.click/p?m=000&tid={aff_click_id}
```

***

### Пиксель изображения

Интеграция пикселя изображения полностью зависит от cookie браузера.

{% hint style="info" %}
Когда пиксель изображения настроен, параметр \&tid= не обязателен.
{% endhint %}

**Пример пикселя изображения**

```
<img src="https://example.o18.click/p?m=0000&t=i&gb=1" width="0px" height="0px">
```

***

### iframe пиксель

Интеграция iframe-пикселя полностью зависит от cookie браузера.&#x20;

{% hint style="info" %}
Когда iframe-пиксель настроен, параметр \&tid= не обязателен.
{% endhint %}

**Пример iframe-пикселя**

{% code overflow="wrap" %}

```
<iframe src="https://example.o18.click/p?m=0000&t=f&gb=1" width="0px" height="0px"></iframe>
```

{% endcode %}

***

#### **Список макросов постбэка**

<table data-header-hidden><thead><tr><th width="213.78571428571428">Название макроса</th><th width="206.18978837756129">Параметр в постбэке</th><th width="315.2">Описание</th></tr></thead><tbody><tr><td><strong>Название макроса</strong></td><td><strong>Параметры</strong> </td><td><strong>Описание</strong></td></tr><tr><td>TID</td><td>tid</td><td>Чтобы получить уникальный идентификатор клика, передаваемый в URL оффера</td></tr><tr><td>События</td><td>event</td><td>Будет использоваться для получения значений событий (установка, регистрация и т.д.)  </td></tr><tr><td>Adv Sub1 <strong>-</strong> Adv Sub5</td><td>adv_sub1 <strong>-</strong> adv_sub5</td><td>Получать дополнительное значение от рекламодателя </td></tr><tr><td>Продажа</td><td>sale</td><td>Рекомендуется использовать в CPS-кампаниях (&#x26;sale=000)</td></tr><tr><td>Выплата</td><td>выплата</td><td>Рекомендуется использовать в CPA-кампаниях (&#x26;payout=000)</td></tr><tr><td>Валюта</td><td>currency</td><td><p>3-значный код валюты</p><p><span data-gb-custom-inline data-tag="emoji" data-code="1f517">🔗</span><a href="/pages/c5cd60bf393cfe040df1d311d8c64cb375cfe4b3#currency"> Просмотреть валюты</a></p></td></tr></tbody></table>

***

### **Google Tag Manager**

Когда клиент хочет разместить пиксель через Google Tag Manager. Рекомендуется использовать шаблон Google Tag Manager, доступный в аккаунте пользователя

**Пример GTM-постбэка**

```
https://example.o18.click/p?m=0000&t=i&gb=1
```

{% file src="/files/60ea68b7a8a93e977fbf6ca0335f96ff19b86ed4" %}

***

Видео-урок - как настроить шаблон Google Tag Manager.

{% embed url="<https://www.youtube.com/watch?v=HoxeaniVsgM>" %}


---

# 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://knowledgebase.offer18.com/ru/set/integraciya-postbeka.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.
