Hello !
We really need help please. We start our business, and we have to send our orders data (Order number, price, discount value...) to a third company (affiliate management).
This third company send us a script to paste on the "ThankYouPage" (after checkout):
-------------------------------------------------------
<!-- <webgains tracking code> -->
<script language="javascript" type="text/javascript">
(function(w,e,b,g,a,i,n,s){w['ITCVROBJ']=a;w[a]=w[a]||function(){
(w[a].q=w[a].q||[]).push(arguments)},w[a].l=1*new Date();i=e.createElement(b),
n=e.getElementsByTagName(b)[0];i.async=1;i.src=g;n.parentNode.insertBefore(i,n)
})(window,document,'script','https://analytics.webgains. io/cvr.min.js','ITCVRQ');
ITCVRQ('set', 'trk.programId', '280215');
ITCVRQ('set', 'cvr', {
value: 'totalPrice',
currency: 'EUR',
language: 'fr_FR',
eventId: '1059855',
orderReference : 'number',
comment: '',
multiple: '',
checksum: '',
items: '',
customerId: '',
voucherId: 'discount',
location: document.referrer
});
ITCVRQ('conversion');
</script>
<!-- </webgains tracking code NG> -->
-------------------------------------------------------
We have to replace ID of "value", "order reference" and "voucherId" to they receive orders data.
But it doesn't work.. How we could get value of the order price in this script?
Please Help us, we don't want to loose that luck for our company..