Binom Documentation

К навигации

Events

For each click in the tracker you can assign up to 10 different events in the form of numerical values. You can pass them from anywhere using GET-parameters event1-event10:

  • 1. From the traffic-source in the campaign link:
                                        
                                            http://tracker.com/click.php?key=IOson9pb03i2p&token1={token1}&token2={token2}&event1=0&event2=10
                                        
                                    
  • 2. From landing through pixel
                                            
                                                <script>
    var o = document.createElement("img");
    o.src='http://tracker.net/click.php?event1=1';
    </script>
  • 3. From the landing by the offer link, by the exit points tacking or by the tokens update:
                                        
                                            http://tracker.com/click.php?lp=1&event1=1&event2=10
    http://tracker.com/click.php?event1=1&event2=10
  • 4. From the offer network in the postback link:
                                        
                                            http://tracker.com/click.php?cnv_id={sub1}&payout={cost}&cnv_status={status}&event1=1&event2=10
                                        
                                    

If necessary, values within one event can be updated or added.
&event1=50 - update the value of the first event to a value of 50;
&add_event1=50 - add the value of 50 to the current value of the first event.
You can add both positive and negative values; both integer and fractional. You can also add time in seconds.

Pay attention, if you use E-commerce or subscriptions, schemes in your campaigns, then you can not use events 1-5 or 5-8, respectively.

Examples


ADDING THE PERCENTAGE OF MOBILE BOTS

This example is relevant only for mobile traffic.
In order to track the number of bots on your landing in the <body> section, the following code should be placed:

                                    
                                        <script>
if (typeof(window.orientation)=="undefined")
{
var o = document.createElement("img");
o.src='http://tracker.net/click.php?event9=0';
}
else
{
var o = document.createElement("img");
o.src='http://tracker.net/click.php?event9=1';
}
</script>
where instead of tracker.net you need to specify your tracker’s domain (and the folder, if the tracker is not in root folder).
In the tracker settings, you need to create a new column (Settings - Stats settings - Columns - Add custom column) ) with the following settings:

You can use any free event, not necessarily event9.
As a result, you can use this metric in any report:

For example, here you can see the distribution of the percentage of bots on the quality of sites in Popads:

SCROLL USING USERS DISPLAY

This can be useful if you use long landings, which, hypothetically, the user should read to become a conversion. With the help of information on the percentage of scrolls, you can understand how interesting your landing is, amount of "live" traffic on particular publisher, etc.

Place the following code on your landing:

                                        
                                            <script type="text/javascript">
var scroll = 0;
window.onscroll = function(){
if( scroll != 1 ){
scroll = 1;
var o = document.createElement("img");
o.src = "http://tracker.net/click.php?event1=1";
} } </script>
where instead of tracker.net you need to specify your tracker’s domain (and the folder, if the tracker is not in root folder).
In the tracker settings, you need to create a new column (Settings - Stats settings - Columns - Add custom column) ) with the following settings:

Result:

Reporting to the tracker after spending N seconds on the landing

Using this script, you can see the percentage of people who spent on the landing, for example, 10 seconds.

                                    
                                        <script>
function pushToTrackerViaImage(){
var pushURL = 'http://tracker.net/click.php?event7=1';
var img = document.createElement('img');
img.src=pushURL;
img.style.display='none';
document.body.appendChild( img );
}
function pushAfterTimeout(timeout){
setTimeout(pushToTrackerViaImage, timeout*1000);
}
var TIMEOUT_IN_SECONDS = N;
pushAfterTimeout(TIMEOUT_IN_SECONDS);
</script>

where instead of tracker.net you need to specify your tracker’s domain (and the folder if the tracker is not in root directory), and instead of N, the number of seconds.

In the tracker settings, you need to create a new column (Settings - Stats settings - Columns - Add custom column) with the following settings:

SHEAR of BACKFIX leaves

If you use the backfix script to the offer, then in the LP CTR metric in the tracker you can see the percentage of backfix-leaves. To see the "real" CTR in this case, you can easily derive the percentage of outputs by backfix. Just add the parameter &event10=1 to your link http://tracker.com/click.php?lp=1. As a result, the backfix script will look like this:

                                    
                                        <script type="text/javascript">
! function () {
var t;
try {
for (t = 0; 10 > t; ++t)
history.pushState({}, "", "#");
onpopstate = function (t) {
t.state && location.replace("http://tracker.net/click.php?lp=1&event10=1") }
} catch (o) {}
}();
</script>
And in the settings of the columns (Settings - Stats settings - Columns - Add custom column) add the following metric: