---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://www.yandex.com/support/adfox/en/banners/pixel.md
  - https://www.yandex.com/support/adfox/ru/banners/pixel.md
  - href: en/banners/pixel.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://www.yandex.com/support/adfox/en/llms.txt

# Pixels of third-party systems

Advertisers can use third-party system pixels in Adfox to track impressions and clicks on advertising materials. To do this, add an impression link and click-through link — provided by a third‑party system (for example, a verifier) — to your banner.

{% note info %}


A verifier is an ad measurement system. Note that in the documentation and interfaces of third‑party systems, impression links and click-through links may also be referred to as **verifiers** or **verifier links**.

{% endnote %}


## Click-through link {#click}

It is used for counting the user's click-throughs and redirecting to the advertiser's site. To start counting, paste the click-through link in the **Transition URL** field when adding a banner.

## Impression link {#impression}

To count banner impressions, a pixel link is used. In the banner parameters, paste the link in the **Tracking pixel link** field. Keep in mind that a link inserted this way is invoked when rendering a banner.

To invoke a pixel link when an impression becomes viewable (for example, if an ad campaign uses the **Viewable impression, Yandex** impression count method):

1. In the banner settings, go to **Events**.
1. Find the **Viewable impressions, 2 seconds** event.
1. Paste the link in the **Transition URL** field.


{% note info %}

For sites with the HTTPS protocol, all installed links to pixels must support the HTTPS protocol. The click-through link can have any protocol.

{% endnote %}


**Sample impression link for a site with the HTTPS protocol**

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

In most impression links of third-party systems, there is a parameter where you need to substitute a random number to reduce statistical discrepancies. A discrepancy of up to 15% is considered acceptable. For mobile devices, this value may be slightly higher.


{% note info %}

In Adfox, a random number is generated by the `%system.random%` macro. You need to replace the number already specified in the links with `%system.random%`.

{% endnote %}


## Sample third-party system links {#examples}

Here are examples of the most common third-party system links with macro substitution for randomization used when inserting a link in the Adfox banner:


{% cut "AdRiver" %}


Add `%system.random%` to the `rnd` variable.

**Impression link**

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

**Click link**

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


{% endcut %}

{% cut "DoubleClick" %}


Add `%system.random%` to the `ord` variable. The click-through link remains unchanged.

**Impression link**

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

**Click link**

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


{% endcut %}

{% cut "MediaMind" %}


Add `%system.random%` to the `ord` variable.

**Impression link**

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

**Click link**

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


{% endcut %}

{% cut "Gemius" %}


Replace `[TIMESTAMP]` with `%system.random%`:

**Impression link**

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

The click-through link is inserted without changes (it is not randomized).


{% endcut %}

{% cut "Weborama" %}


Add `%system.random%` to the `a.ra` variable.

**Impression link**

```
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%
```

**Click link**

```
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 "TargetAds" %}

Add the `rnd` parameter with the `%system.random%` value to the link.

**Impression link**

```
https://eye.targetads.io/view/pixel?pid=123&cn=123&pl=123&rnd=%system.random%
```

{% endcut %}



{% cut "Adfox as a third-party system" %}


Add `%system.random%` to the `pr` variable.

**Impression link**

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

**Click link**

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

{% endcut %}


<!-- source: en/_includes/feedback.md -->
## Contact support


<a href="en/form"> <!--ссылка, куда ведет кнопка. Если внутренняя ссылка, пишем без .md и .html --> 
  <span class="button">Send an email</span> <!--текст на кнопке--> 
</a>



<!-- source: en/_includes/styles/button.md -->

<!-- endsource: en/_includes/styles/button.md -->
<!-- endsource: en/_includes/feedback.md -->


