moebel.de tracking can be embedded in your Shopgate mobile shop using the tracking codes function.
Read Embedding a custom tracking code to learn more about the Shopgate tracking codes.
To set up moebel.de tracking, follow the steps below:
- Log in to your Shopgate Admin page.
- Click Settings from the menu bar, then select Tracking Tools.
- Locate the Tracking codes section, select All platforms and Checkout success page, then click +Add.
- An empty script editor will open. Paste the following tracking code.
// moebel.de tracking var itemliste=''; window._mo = window._mo || []; window._mo.push(['_key', 'XXXXXXXX']); window._mo.push(['_umsatz', sgData.order.amount.net]); window._mo.push(['_versandkosten', sgData.order.shipping.amount.net]); for (var i in sgData.order.products) { var prod = sgData.order.products[i]; if (prod.productNumber) { itemliste += prod.productNumber + ','; } else { itemliste += prod.uid + ','; } } window._mo.push(['_artikelliste',itemliste.substring(0, itemliste.length - 1)]); (function() { var mo = document.createElement('script'); mo.type = 'text/javascript'; mo.async = true; mo.src = 'https://sales1.moebel.de/asyndic.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(mo, s); })();
- Replace XXXXXXXX (line 4) with your moebel.de Key. Contact moebel.de if you have any question regarding your key.
That's it! You have successfully set up your tracking codes.
For a better understanding on the tracking codes function and all its options, please read Embedding a custom tracking code.