Hi and seasons greetings to you.
We are going to do a trial with Criteo retargetting. I have implemented some of the tracking code required, but the final part involves tracking on the sale confirmation page. I know this page is a little complicated to amend. Basically I need to extract up to 3 product sales lines (Prod Ref, Qty and Price for each one). Here is what they actually ask for :
The conversion tag must be installed on the sales confirmation page.
You must populate the ID, Quantity, and Unit price for each purchased product. You must also populate a unique transaction identifier.
Please insert this tag at the bottom of your pages, just before </body>.
<script type="text/javascript" src="Loader URL" async="true"></script>
<script type="text/javascript">var CRITEO_CONF = [[{
pageType: 'confirmation',
'Transaction ID': 'Transaction Id',
'Product IDs': ['First item id', 'Second item id', 'Third item id'],
'Prices': ['First item price', 'Second item price', 'Third item price'],
'Quantities': ['First item quantity', 'Second item quantity', 'Third item quantity']
}], [7793,'pmo','','010',[[7724367, 7724368]],
{'Transaction ID':['t',0], 'Product IDs':['i',1], 'Prices':['p',1], 'Quantities':['q',1]}]];
if (typeof (CRITEO) != "undefined") { CRITEO.Load(false); }
</script>
Could any advise how to place and populate this script in the confirmation page so it gives this data ?
Any help appreciated.
Jez
We are going to do a trial with Criteo retargetting. I have implemented some of the tracking code required, but the final part involves tracking on the sale confirmation page. I know this page is a little complicated to amend. Basically I need to extract up to 3 product sales lines (Prod Ref, Qty and Price for each one). Here is what they actually ask for :
The conversion tag must be installed on the sales confirmation page.
You must populate the ID, Quantity, and Unit price for each purchased product. You must also populate a unique transaction identifier.
Please insert this tag at the bottom of your pages, just before </body>.
<script type="text/javascript" src="Loader URL" async="true"></script>
<script type="text/javascript">var CRITEO_CONF = [[{
pageType: 'confirmation',
'Transaction ID': 'Transaction Id',
'Product IDs': ['First item id', 'Second item id', 'Third item id'],
'Prices': ['First item price', 'Second item price', 'Third item price'],
'Quantities': ['First item quantity', 'Second item quantity', 'Third item quantity']
}], [7793,'pmo','','010',[[7724367, 7724368]],
{'Transaction ID':['t',0], 'Product IDs':['i',1], 'Prices':['p',1], 'Quantities':['q',1]}]];
if (typeof (CRITEO) != "undefined") { CRITEO.Load(false); }
</script>
Could any advise how to place and populate this script in the confirmation page so it gives this data ?
Any help appreciated.
Jez
Comment