Adding Our Tracking Code

Influence Network Tracking Code - Developers Guide

Influence Network Tracking Code

The influence network tracking code is a unique and proprietary software that allows us to accurately track and monitor the success of brand campaigns across the platform. One of the key features of the software is the ability to place a monetary value on conversions, allowing you to gain an accurate picture of the quality of your conversions as well as a monetary amount. Impression tracking is done automatically and will remember users in between visits to your website, so a conversion that is made 2 weeks after an initial website visit can still be tied back to a unique user.

Guide

We have two versions of the tracking code depending on what access you have to your website.

JS Tracking

The Javascript tracking is a more advance tracking method which is better for Single Page Applications and allows for custom firing.

Pixel Tracking

You just need to embed our unique pixel onto all pages of your website.

Impressions

All the pages that you want to track the campaigns impressions on, need to load the following pixel (hotlinked)

<img src="https://inf.do/pixel.png">

Conversions

We also need a variant of this pixel on the cart conversion success page:

<img src="https://inf.do/pixel.png?conversion=100">

The conversion value should be the cart value in pennies. So, the above example would be £1.

JS Tracking

Add the following code to your website

<script src="https://static.inf.do/inf.js"></script>

Impressions

Impressions are automatically triggered on page load. However, if your application is single page you will need to trigger subsequent page loads with the following code.

Inf.impression();

Conversions

Conversions need to be triggered manually. Please provide the conversion value as an integer of pennies the following example is £1.

Inf.conversion(100);