How to setup a 1&1 eshop Affiliate Program



1&1 eShop is ecommerce solution starting at just $4.99/month by 1&1 Internet, Ltd. (www.1and1.co.uk), a global leader in web hosting providers. You can easily create your own professional online store secured by SSL certificates with 1&1 eShop Designer in just few clicks. 1&1 eShop combines advanced features with full mobile and social media support to address powerful ecommerce trends and fulfils the most demands of online retailers.

Steps

We can track order total, transaction ID, customer email and currency. Our interest items are order total and transaction ID.

Go to this section in their software: eBusiness -> 1&1 E-Shop -> Settings -> Cart settings -> Texts -> Affiliate Tracking Code section

And add following code in affiliate tracking code section
<script async>
    function hideIF() {    
        document.getElementById('IF').style.visibility = '';
    }
    function getSaleInfo() {
        document.getElementById('st_code').style.visibility = 'hidden';
        document.getElementById('st_code').innerHTML='<iframe src="YOUR-OSI-URL/sales/salejs/amount:#OrderTotalAmountGross/transaction:#OrderNumber" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">';
   }
   window.onload = getSaleInfo;
</script>
<div id="st_code"></div>


Change ‘YOUR-OSI-URL’ with your OSI URL.

Save changes, the site just has been integrated successfully.