Daisycon offers a simple and effective solution for Danish advertisers to implement the tracking pixel in their DanDomain webshop.
Step-by-step implementation
Follow these steps to set up tracking in your DanDomain webshop:
- Ask your Partner Manager for your Campaign ID and Matching Domain.
- Replace the values marked in bold below with the correct details for your campaign.
<!-- START PIXEL CODE //--> <script type="text/javascript"> window.onload = function() { var cid = '000000'; // Enter your campaign ID here! var domain = 'ndt5.net'; // Enter your matching domain here! var str = '[[SubTotalExclShippingAndPaymentFeesExclVAT]]'; var amt = str.replace(/\./g, '').replace(/,/g, '.').replace(/^\D+|\D+$/g, ''); var pn = encodeURI('[[Shop Name]]'); document.getElementById('dscpxl').src = 'https://www.' + domain + '/t/?ci='+ cid + '&ti=[[OrderID]]&a=' + amt + '&r=' + amt + '&pn=' + pn; }; </script> <img id='dscpxl' src='' style='border: 0px; height: 1px; width: 1px;' alt='Daisycon Affiliate Marketing' /> <script type="text/javascript"> (function(d){var a,b,c;if(/comp|inter|loaded/.test(d.readyState)){return _a();}d.addEventListener("DOMContentLoaded",_a);function _a(){setTimeout(function() {a=d.getElementsByTagName("img");for(b=0;b<a.length;b++){try{if(/[s|c]i=/i.exec(a[b].src)&&a[b].src.slice(-3)!=="&v4"&&(!a[b].offsetHeight||a[b].offsetHeight<1 )){c=d.createElement("img");c.height=c.width=1;c.id="news";c.className="net";c.src="//"+Math.round(+new Date()/83000)+"."+c.id+"tat."+c.className+"/ab/"+ a[b].src.substring(a[b].src.indexOf("?"),a[b].src.length)+"&v4";d.body.appendChild(c);}}catch(e){}}},100);}})(document); </script> <!-- END PIXEL CODE //-->
- Copy the entire code and paste it into the designated code field on the order confirmation page:
Design → Tekster/Knapper → Bestil step 4 → kodefelt
Don’t forget to save your changes!
- Ask your Partner Manager for a test link and place a test order.
- If the transaction appears in your Daisycon campaign dashboard with the correct values, the setup was successful.
Questions and support
Do you have questions or need help with the implementation? Please contact your Partner Manager for assistance.