Amiando is an award-winning event management software for online ticketing and event registration.

1.

Create the integration file and upload it to a server reachable via HTTPS

You have to create a .php file, e.g. paptracking.php to which you place the following code:

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript">
</script>

<script type="text/javascript">
var sale = PostAffTracker.createSale();
sale.setTotalCost('<?php echo @$_POST['paymentValue']/100;?>');
sale.setOrderID('<?php echo @$_POST['paymentId'];?>');
sale.setData1('<?php echo @$_POST['ticketEmail0'];?>');
PostAffTracker.register();
</script>

and then you must upload that file to a server so that it is available via a secure URL (HTTPS://).

E.g. https://my_domain.com/paptracking.php

NOTE:  Your Post Affiliate Pro installation must be available via HTTPS:// !

If you wanted to track some more details about the purchased event, you can check at

http://developers.amiando.com/index.php/Tracking_Webhooks

all the available HTTP_POST parameters.

2.

Define the integration URL in your amiando events

So, once the integration file is created and available via a secure URL it is time to define that URL in the desired amiando events that you wish to track via Post Affiliate Pro (network). 

So, after you logged in to amiando, in the "Events" tab edit the desired event, select "Integration" menu item when editing the event, scroll down to "Ticket shop callback" where you choose "Iframe"  method of integration and into the URL field you enter the  secure URL leading to your integration file.  In our example above it was:

_https://my_domain.com/paptracking.php_

That's it. From now on the affilaite-referred purchases of integrated events will be tracked by Post Affiliate Pro (network).


Do not forget to integrate your website with the click tracking code of your Post Affiliate Pro  (network) that can be found in the merchant panel at Tools > Integrations > Clicks tracking.