How to setup XING Events (Amiando)Affiliate Program


XING Events (Amiando), headquartered in Munich, Germany is a pioneer startup company for online event management since 2006. Amiando deals in business and entertainment events in following languages English, Spanish, German and French. Just 75 employees and Amiando has been awarded prizes for its innovative products. By the time, Amiando has become a leading software-as-a-service platform for professionals. Over 180,000 event organizers worldwide use amiando, including prestigious names.

Steps

Step 1 - Landing Page

Add following code before </body> in your landing page (i.e index.html or landing.html) if required
<script>
  var sd = 'YOUR-OSI-URL';
  var resource = document.createElement('script');
  resource.src = "YOUR-OSI-URL/track.js";  
  var script = document.getElementsByTagName('script')[0];
  script.parentNode.insertBefore(resource, script);
</script>


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

Step 2 - Sales Page

Create your thank you/sales page i.e sales.php on your web hosting. This file needs to be PHP. Add following code before </body>
<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:<?php echo $_POST['paymentValue']/100; ?>/transaction:<?php echo $_POST['paymentId']; ?>" 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.

You must upload this file on SSL server i.e HTTPS:// or https://
I.e https://YOUR-WEBSITE-URL.com/sales.php

Step 3 - XING Events (Amiando) Events

Login to XING Events (Amiando), go to “Events” tab and edit the event. Select “Integration” from the menu. Scroll down to “Ticket Shop Callback” and choose “IFrame” method. Add your sales page in URL field i.e
https://YOUR-WEBSITE-URL.com/sales.php