# 联盟全局回传

1. **前往** **推广合伙人 » 推广合伙人回调（Affiliate Postback）** &#x20;
2. **点击“添加全局回调（Add Global Postback）”**

![](https://2731110321-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ME6HkHUCzlM0Mu33Q9W%2F-MN7LB-xrEhiOGZx53cD%2F-MN7NZ1lHqTZ19X-G_-G%2FVeYR24DoeR.gif?alt=media\&token=b21f5bfc-d6f3-487c-a23f-cb1dc27e6f99)

3\. **前往添加全局回调按钮**&#x20;

![](https://2731110321-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ME6HkHUCzlM0Mu33Q9W%2F-MMsIB6TT6JAeumU8GNy%2F-MMsLA2GKQjjsy2ZSl-T%2F166a2354e6bbd72d0b7f5350782941e5.gif?alt=media\&token=117ff762-b60e-41fe-8013-aefd1209cc36)

***

### 添加全局 S2S（服务器到服务器回调）  <a href="#step-4-a-add-global-s2s-server-to-server-postback" id="step-4-a-add-global-s2s-server-to-server-postback"></a>

<table data-header-hidden><thead><tr><th width="150"></th><th></th></tr></thead><tbody><tr><td><strong>回调参数</strong></td><td><strong>描述</strong></td></tr><tr><td>{aff_click_id}</td><td>向推广合伙人发送点击 ID</td></tr><tr><td>{sub_aff_id}</td><td>向推广合伙人发送子推广合伙人 ID</td></tr><tr><td>{aff_sub1}</td><td>推广合伙人在广告链接中发送的附加信息</td></tr><tr><td>{aff_sub2}</td><td>推广合伙人在广告链接中发送的附加信息</td></tr><tr><td>{aff_sub3}</td><td>推广合伙人在广告链接中发送的附加信息</td></tr><tr><td>{aff_sub4}</td><td>推广合伙人在广告链接中发送的附加信息</td></tr><tr><td>{aff_sub5}</td><td>推广合伙人在广告链接中发送的附加信息</td></tr><tr><td>{payout}</td><td>通过回调向推广合伙人传递付款金额（Payout）</td></tr><tr><td>{event_token}</td><td>在回调中向推广合伙人传递事件令牌（Event token）</td></tr><tr><td>{currency}</td><td>在回调中传递货币格式</td></tr><tr><td>{random}</td><td>在回调中向推广合伙人传递随机值</td></tr><tr><td>{adv_sub4}</td><td>由客户的广告主传递的附加信息</td></tr><tr><td>{adv_sub5}</td><td>由客户的广告主传递的附加信息</td></tr></tbody></table>

![](https://2731110321-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ME6HkHUCzlM0Mu33Q9W%2F-MMsIB6TT6JAeumU8GNy%2F-MMsNfQ4OmhoAXM6RfCd%2Fc6f66a478515e71ef131a9a04b95ab64.gif?alt=media\&token=c1a71a24-c58b-4aa2-927d-e20206eaf65b)

{% hint style="info" %}
使用 **高级设置** 当推广合伙人的回调在 HTTP 头中需要特定值且使用 **GET/POST** 方法并在 **POST** 主体中包含数据时。此功能允许您根据推广网络的要求配置自定义头并在请求主体中包含所需参数（例如表单数据或 JSON）。
{% endhint %}

***

### 添加全局图片像素&#x20;

将图片像素/像素代码作为全局像素放置给推广合伙人时，管理员用户必须确保只放置像素 URL，而不要包含其他内容。\
例如，图片像素&#x20;

```
<img src="https://image-pixel.code.example.com/pixel?id=1" width="0" height="0"/>
```

![](https://2731110321-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ME6HkHUCzlM0Mu33Q9W%2F-MMsIB6TT6JAeumU8GNy%2F-MMsO1V7i7NenR2e8rgM%2F8b0a9f7a86a1543b0b437a2b46bfefda.gif?alt=media\&token=c375e9c5-6c85-45ca-aa7f-b5193c9f1234)

***

### 添加全局 iframe 像素 &#x20;

当用户从推广合伙人处获得 iframe 像素代码作为全局像素时，只需将代码原样复制并粘贴到回调 URL 字段中。

![](https://2731110321-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ME6HkHUCzlM0Mu33Q9W%2F-MMsO_xLy-1Y8NLAe69i%2F-MMsPQjNvGA9cvKoNHqR%2Fc42ea666fbb7db7280d31d38aa43d625.gif?alt=media\&token=9adef849-aa10-4d4d-997a-8e5cb8ec934f)


---

# 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/zh/wang-luo/lian-meng-cheng-yuan/lian-meng-quan-ju-hui-chuan.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.
