# Integração de Postback

**Vá para Atalhos » Postback**

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

* O Offer18 gera automaticamente uma URL Global de Postback padrão.
* Postbacks específicos por Oferta / Anunciante podem ser gerados nesta seção.

***

### Postback Global **(S2S)**&#x20;

{% hint style="info" %}
É sempre recomendável que os usuários do Offer18 coordenem com o parceiro anunciante para garantir que todos os parâmetros e macros sejam implementados corretamente.
{% endhint %}

URL de Exemplo da Oferta &#x20;

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

\
**Exemplo de Postback Global (S2S)**&#x20;

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

***

### Pixel de Imagem

A integração por pixel de imagem depende completamente dos cookies do navegador.

{% hint style="info" %}
Quando o pixel de imagem está configurado, não há necessidade do parâmetro \&tid=.
{% endhint %}

**Exemplo de pixel de imagem**

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

***

### Pixel iframe

A integração por pixel iframe depende completamente dos cookies do navegador.&#x20;

{% hint style="info" %}
Quando o pixel iframe está configurado, não há necessidade do parâmetro \&tid=.
{% endhint %}

**Exemplo de pixel iframe**

{% code overflow="wrap" %}

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

{% endcode %}

***

#### **Lista de Macros de Postback**

<table data-header-hidden><thead><tr><th width="213.78571428571428">Nome da Macro</th><th width="206.18978837756129">Parâmetro no postback</th><th width="315.2">Descrição</th></tr></thead><tbody><tr><td><strong>Nome da Macro</strong></td><td><strong>Parâmetros</strong> </td><td><strong>Descrição</strong></td></tr><tr><td>TID</td><td>tid</td><td>Para receber um valor único de Click ID sendo passado na URL da Oferta</td></tr><tr><td>Eventos</td><td>event</td><td>Será usado para receber valores de Evento (instalação, cadastro, etc.)  </td></tr><tr><td>Adv Sub1 <strong>-</strong> Adv Sub5</td><td>adv_sub1 <strong>-</strong> adv_sub5</td><td>Receber valor adicional do Anunciante </td></tr><tr><td>Venda</td><td>sale</td><td>Recomendado para uso em Campanha CPS (&#x26;sale=000)</td></tr><tr><td>Pagamento</td><td>payout</td><td>Recomendado para uso em Campanha CPA (&#x26;payout=000)</td></tr><tr><td>Moeda</td><td>currency</td><td><p>Código de moeda de 3 dígitos</p><p><span data-gb-custom-inline data-tag="emoji" data-code="1f517">🔗</span><a href="/pages/5da7e1e6e768d5a41f8ae646a7778aca0e16dc13#currency"> Ver Moedas</a></p></td></tr></tbody></table>

***

### **Google Tag Manager**

Quando o Cliente deseja colocar um pixel através do Google Tag Manager. Recomenda-se usar o modelo do Google Tag Manager disponível na conta do usuário

**Exemplo de Postback GTM**

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

{% file src="/files/5e742a4a60d646e89e6f95662193cf570b1af751" %}

***

Tutorial em vídeo - Como configurar o modelo do Google Tag Manager.

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


---

# Agent Instructions: 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/pt/rede/integracao-de-postback.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.
