How to setup Fortune3 Affiliate Program



Ecommerce website builder and shopping cart software of fortune3 can helps you build and design your ecommerce website in no time. Fortune3 offers you the best solutions to sell your products online from your own exclusive storefront. Discover the most features of online shopping cart, Fortune3 provides you with all the tools for your business to open online store and succeed. Fortune3 is an award-winning ecommerce platform and shopping cart software since 2001 and tens of thousands people trusted Fortune3. Fortune3 can work with over 45 payment gateways and it can integrate with Amazon and eBay. All of the above Fortune3 supports multilinguals.

Steps

Login to Fortune3 admin panel and go to Marketing -> Tracking code/Analytics and add following code in “Conversion Code to be executed when orders are approved” 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:{subtotal}/transaction:{orderid}" 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.