Criteo’s performance display technology delivers personalised recommendations (via banners) to a user, based on intent data such as products they have previously viewed or purchased.
Infinity’s integration with Criteo enables clients to link phone calls back to the Criteo activities that drove the call, giving them a more complete view of the impact of their Criteo campaigns.
When an end user who has clicked a Criteo link visits that site and makes a subsequent phone call, we will record that call as an offline event and pass it into Criteo, so clients are able to link phone calls back the Criteo activity that helped drive the call and see the full impact of their Criteo activity.
Setting up your Criteo integration is a simple process with just two steps:
- Adding the JavaScript
- Configuring the Integration in Infinity
The first step is to update the Infinity JavaScript snippet on your web pages to include the Criteo code. Then you can configure the integration and determine what data you’d like to send into Criteo.
Step 1 - Adding the JavaScript
- In order for us to capture the user ID of the Criteo visitor, we need to add some Criteo-specific code to the Infinity JavaScript on your website, to capture the cookies.
- The code will capture the Criteo User ID as a custom variable.
- To update the JavaScript snippet, Log in to the Infinity Portal, navigate to the Admin section, select Tracking Settings and JavaScript.
- Select the Criteo integration using the checkbox in Step 1 of the JavaScript generator. This will add the Criteo script to the Infinity code, an example is shown below
This will add the code needed for the Criteo integration into the code generator box. Then simply copy and paste the updated code onto your website pages, you can click copy to clipboard in the top right corner of the code generator to help you.
<!-- Criteo Infinity Integration -->
<script type="text/javascript">
function ictCriteoIntegration() {
// This URL includes Infinity's Criteo GUM ID, please do not modify
_ictt.push(['_dropScriptTag', 'gum.criteo.com/sync?c=320&r=2&a=1&j=ictSetCriteoUserId']);
};
function ictSetCriteoUserId(data) {
if (data.hasOwnProperty('userid')) {
_ictt.push(['_setCustomVar', ['criteoUserId', data.userid]]);
}
}
</script>
<!-- Criteo Infinity Integration End -->
<!-- Infinity Tracking Code v1.20
Copyright Infinity 2018
www.infinitycloud.com -->
<script type="text/javascript">
var _ictt = _ictt || [];
_ictt.push(['_setIgrp','XXXX']); // Installation ID
_ictt.push(['_enableGAIntegration',{'gua':true,'ga':false}]);
_ictt.push(['_includeExternal',[{'from':'window','to':'ictCriteoIntegration','as':'criteoUserId'}]]);
_ictt.push(['_enableAutoDiscovery']);
_ictt.push(['_track']);
(function() {
var ict = document.createElement('script'); ict.type = 'text/javascript'; ict.async = true;
ict.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'ict.infinity-tracking.net/js/nas.v1.min.js';
var scr = document.getElementsByTagName('script')[0]; scr.parentNode.insertBefore(ict, scr);
})();
</script>
<!-- Infinity Tracking Code End -->
The revised code should be placed just before the closing </head>
tag element within each page of the website as this will allow for the fastest execution.