Refer to the video below to help with installing your Universal Tracking and Conversion Pixels:
Before you can get data into your Keynes Digital account, you’ll first need to install the JavaScript tracking code on every webpage of your site. This code is unique and specific to your account.
Step 1 – Copy the JavaScript Tracking Code to Your Clipboard
Be sure to copy all the code, from <script> to </script>.
<script src="https://js.adsrvr.org/up_loader.1.1.0.js" type="text/javascript"></script>
<script type="text/javascript">
ttd_dom_ready( function() {
if (typeof TTDUniversalPixelApi === 'function') {
var universalPixelApi = new TTDUniversalPixelApi();
universalPixelApi.init("[ID]", ["ID"], "https://insight.adsrvr.org/track/up");
}
});
</script>
You’ll need to insert this code in thesection of every page for your site or app. We recommend placing it as high up in thesection as possible. You’ll want Keynes Digital to load first so that you can track any clicks or interactions with any plugins you may have.
Webpages load from top to bottom, and if a person leaves a page before it has finished loading, you run the chance of the tracking code not running. If the tracking code doesn’t run, Keynes Digital won’t know that a person ever visited the page. This can cause some discrepancies in your data, and placing the tracking snippet at the top of the page is the best way to avoid those discrepancies.
Step 2 – Insert the Tracking Code
We’ve copied our JavaScript tracking code and now we need to edit our website’s source code. To start, we’ll first locate the tag at the top, then make some space and paste in the tracking code. That’s all there is to it! After it is live on your server, Keynes Digital will automatically start tracking users.
Step 3 –Copy the Image Conversion Code to Your Clipboard
Step 4 – Dynamic Parameters (Required for return based goal)
Keynes Digital conversion tracking tags support up to 10 parameters that can be passed, as well as a revenue value and an order ID.
Below is an example of how to set up parameters to be passed in your tag.
Replace the curly bracketed values — for example, {OrderRef} — with the parameter you would like to pass:
<img height="1" width="1" style="border-style:none;" alt="" src="//insight.adsrvr.org/track/conv/?adv=1a51bfu&ct=0:7kykgzby&fmt=3&v={SaleAmount}&v f={Currency}&orderid={OrderRef}&td1={Param1}&td2={Param2}"/>
Below is an Example tag using Doubleclick Floodlight parameters:
<img height="1" width="1" style="border-style:none;" alt="" src="//insight.adsrvr.org/track/conv/?adv=1a51bfu&ct=0:7kykgzby&fmt=3&v=%pcost=!;&vf=%pu1=!;
&orderid=%pord=!;&td1=%pu2=!;&td2=%pu3=!?"/>
Notes:
Are your video assets ready for the TV screen? CTV Spec Check >