Click tracking (tracking clicks, tags)
Click analytics using Google Analytics
Analytics of clicks using Yandex.Metrica

Click tracking (tracking clicks, tags)

In order to track the activity of incoming visitors, you can use click tracking.
To do this, special macros are used that are inserted into the target URL of the ad.

Format :

user label = [adhub value]

Available values:

AdHub can tell the user the following values:


[site_id] & nbsp; - site number in the system (site id).
[ad_id] & nbsp; - unique ad id.
[camp_id] & nbsp; - ad campaign id.


[country] - two-letter country code.
[bid] & nbsp; - bid, cost per click.
[click_id] & nbsp; - unique click id.

Example :

If we want to pass all three values to the target url, then the link in the ad will look like this:<<<<<<<<<<<<<<<<<<<<<< another another only /? /?

where sid , cid , aid are the names of user variables, which can be any.

It is not necessary to use all macros in one link at the same time, you can use them separately, as well as install in any order.

Result :

AdHub will convert this link automatically when the ad is clicked, and will send the user to url:

Parsing the link on the client side:

On your site, you can install a click tracker, or receive the transmitted values yourself, using a simple construction:

Getting variables

Click Analytics with Google Analytics

An example of using AdHub tags for Google Analytics.

Generating a link for the ad in the format: [site_id ]&utm_content= [ad_id ]&utm_campaign= [camp_id]

Go to the "Sources" section:

GA campaign

In the "Sources" section, & nbsp; in Google Analytics, you must select:

  • Main parameter "Source or channel".
  • Additional parameter "Ad Content".

This combination will give statistics for ad-ad pairs:

Google Analitycs tags


Thus, by analyzing transitions, you can identify sites that transmit the most convertible traffic, and cut off transitions from sites that do not bring the expected result. Further, using filters (black and white lists), you can block or, on the contrary, add certain webmasters' sites to your favorites, and thereby get the necessary traffic

Click analytics using Yandex.Metrica

Yandex.Metrica has a similar scheme of work with Google Analytics and supports the UTM (Urchin Tracking Module) labeling standard.

This link provides official information from Yandex in this regard.

Macros for links in the AdHub system are configured similarly to Google Analytics, the same tags are used, no fundamental differences from & nbsp; no.

Analytics of received clicks in Yandex.Metrica can be done in the section "Sources - & gt; Tags":

Yandex Label Metric

In this example, a traffic report has been generated with the site_id of sites in the AdHub system.

If you need analytics by goals, then the algorithm is as follows:

1. Create a new goal in the "Goals" section.

Goals in the metric

Goal in the metric

2. We track the achievement of goals in the section "Sources - Tags - Goals".

Goals in the metric


If you do not need additional parameters to track traffic, such as site ID, ad ID, etc. use a simple option by adding only one from = adhub:

tag to the ad link

In this case, your reports in Yandex.Metrica will look like this:

Metric from

21 april 2021