---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ads.yandex.com/helpcenter/en/monetization/adfox/pixel.md
  - https://ads.yandex.com/helpcenter/ru/monetization/adfox/pixel.md
  - https://ads.yandex.com/helpcenter/zh/monetization/adfox/pixel.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ads.yandex.com/helpcenter/zh/llms.txt

# 第三方系统的像素

广告主可以使用另一个系统中的展示和点击链接来跟踪 Adfox 版位。

## 点击链接 {#click}

它用于计算用户的点击次数并重定向到广告主的网站。要开始计数，请在添加横幅时将点击链接粘贴到 **Transition URL** 字段中。

## 展示链接 {#impression}

### 步骤 1. 准备展示链接 {#step-1}

用于计算横幅展示次数。
在大多数第三方系统的展示链接中，都有一个参数需要替换为随机数，以减少统计差异。在 Adfox 中，随机数由 `%system.random%` 宏生成。


#### 第三方系统链接示例 {#examples}

以下是在 Adfox 横幅中插入链接时使用的最常见第三方系统链接的示例，其中使用宏替换来实现随机化：


{% cut "AdRiver" %}


将 `%system.random%` 添加到 `rnd` 变量中。

**展示链接**

```
http://ad.adriver.ru/cgi-bin/rle.cgi?sid=*&ad=******&bt=**&pid=******&bid=******&bn=******&rnd=%system.random%
```

**点击链接**

```
http://ad.adriver.ru/cgi-bin/click.cgi?sid=*&ad=******&bt=**&pid=******&bid=******&bn=******&rnd=%system.random%
```


{% endcut %}

{% cut "DoubleClick" %}


将 `%system.random%` 添加到 `ord` 变量中。点击链接保持不变。

**展示链接**

```
http://ad.doubleclick.net/ad/N****.******.********/********;sz=1x1;ord=%system.random%?
```

**点击链接**

```
http://ad.doubleclick.net/clk;*********;********;t
```


{% endcut %}

{% cut "MediaMind" %}


将 `%system.random%` 添加到 `ord` 变量中。

**展示链接**

```
http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=*&c=*&mc=imp&pli=*&PluID=*&ord=%system.random%&rtu=-1&pcp=$$TOKEN$$
```

**点击链接**

```
http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=tf&c=*&mc=click&pli=*&PluID=*&ord=%system.random%
```


{% endcut %}

{% cut "Gemius" %}


将 `[TIMESTAMP]` 替换为 `%system.random%`：

**展示链接**

```
http://gdero.hit.gemius.pl/_%system.random%/redot.gif?id=*/fastid=*/stparam=*
```

点击链接将不做任何更改地插入（不随机化）。


{% endcut %}

{% cut "Weborama" %}


将 `%system.random%` 添加到 `a.ra` 变量中。

**展示链接**

```
https://wcm-ru.frontend.weborama.fr/fcgi-bin/dispatch.fcgi?a.A=im&a.si=***&a.te=***&a.he=1&a.wi=1&a.hr=p&a.ra=%system.random%
```

**点击链接**

```
https://wcm-ru.frontend.weborama.fr/fcgi-bin/dispatch.fcgi?a.A=cl&a.si=***&a.te=***&a.ra=%system.random%&g.lu=
```


{% endcut %}

{% cut "Adfox 作为第三方系统" %}


将 `%system.random%` 添加到 `pr` 变量中。

**展示链接**

```
//ads.adfox.com/******/getCode?p1=****&p2=****&ptrc=*&pfc=****&pfb=*****&pr=%system.random%
```

**点击链接**

```
//ads.adfox.com/******/goLink?p1=****&p2=****&p5=*****&pr=%system.random%
```


{% endcut %}


### 步骤 2. 在横幅中设置展示链接 {#step-2}

展示链接位置取决于给定广告系列的展示次数计数方法。

#|
|| **展示次数计数方法** | **模板** | **展示链接设置方法** ||
|| **Loading a banner** |

HTML App Mobile Banner

HTML App Mobile Interstitial

Image App Mobile Banner

Image App Mobile Interstitial

|

在横幅参数中，在 **Tracking pixel link** 字段中添加链接。

||
||

|

Media Native

Media Native Deeplink

|

在横幅设置的 **Events** 选项卡上，在 **Transition URL** 字段中添加事件 1、2 和 3 的链接。

||
||

|

App Native Slider

Video Native

|

在横幅设置的 **Events** 选项卡上，在 **Transition URL** 字段中添加跟踪事件的链接。

||
|| **Impression (IMS)** | 任意 | 在横幅设置的 **Events** 选项卡上，在 **Transition URL** 字段中添加 **Impression (IMS)** 事件的链接。||
|| **Viewable impression (IMS)** | 任意 | 在横幅设置的 **Events** 选项卡上，在 **Transition URL** 字段中添加 **Viewable Ad impression (IMS)** 事件的链接。||
|| **Viewable impressions, 2 seconds** | 任意 | 在横幅设置的 **Events** 选项卡上，在 **Transition URL** 字段中添加 **Viewable impressions, 2 seconds** 事件的链接。||
|#



<!-- source: zh/monetization/_includes/support.md -->
[联系支持部门](../../support/contact){.button}


<!-- endsource: zh/monetization/_includes/support.md -->
