---
metadata:
  - name: generator
    content: Diplodoc Platform v5.55.2
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
  - href: en/monetization/adfox/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://ads.yandex.com/helpcenter/en/llms.txt

# Pixels of third-party systems

The advertiser can track Adfox placements using links to the impression and click in another system.

## Click link {#click}

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

## Impression link {#impression}

### Step 1. Prepare an impression link {#step-1}

Used to count banner impressions.
In most impression links of third-party systems, there is a parameter where you need to substitute a random number to reduce statistical discrepancies. In Adfox, a random number is generated by the `%system.random%` macro.


#### 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 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 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 "Adfox as a third-party system" %}


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

**Impression link**

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

**Click link**

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


{% endcut %}


### Step 2. Set an impression link in the banner {#step-2}

The impression link location depends on the impression count method for a given campaign.

#|
|| **Impression count method** | **Template** | **How to set an impression link** ||
|| **Loading a banner** |

HTML App Mobile Banner

HTML App Mobile Interstitial

Image App Mobile Banner

Image App Mobile Interstitial

|

In the banner parameters, add the link in the **Tracking pixel link** field.

||
||

|

Media Native

Media Native Deeplink

|

On the **Events** tab in the banner settings, add the link in the **Transition URL** field for events 1, 2, and 3.

||
||

|

App Native Slider

Video Native

|

On the **Events** tab in the banner settings, add the link in the **Transition URL** field for the tracked event.

||
|| **Impression (IMS)** | Any | On the **Events** tab in the banner settings, add the link in the **Transition URL** field for the **Impression (IMS)** event. ||
|| **Viewable impressions (IMS)** | Any | On the **Events** tab in the banner settings, add the link in the **Transition URL** field for the **Viewable Ad impression (IMS)** event. ||
|| **Viewable impressions, 2&nbsp;seconds** | Any | On the **Events** tab in the banner settings, add the link in the **Transition URL** field for the **Viewable impressions, 2&nbsp;seconds** event. ||
|#



<!-- source: en/monetization/_includes/support.md -->
[Contact support](https://ads.yandex.com/helpcenter/en/support/contact.md){.button}


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