Generic Integration

1. Enter in the code of the web where you want to have the affiliate program and paste this into the header:

<script type="text/javascript" src="https://[FILIATLY CLIENT URL]/integration/general_integration"></script> 
<script type="text/javascript">

AffTracker.setWebsiteUrl( "WebsiteUrl" );
AffTracker.generalClick( "general_code" );

</script>

Note: [FILIATLY CLIENT URL] is not the domain of your website, it's your Filiatly space. You can see it when you log in to Filiatly.
Example: https://cliente.filiatly.com

 

2. On the page where the conversion ends, paste this code so that we can track the affiliate's sale. Example: Thank you page or successful order.

<script type="text/javascript" src="https://[FILIATLY CLIENT URL]/integration/general_integration"></script> 
<script type="text/javascript">

AffTracker.setWebsiteUrl( "WebsiteUrl" );
AffTracker.add_order({

order_id : "OrderId",
order_currency : "OrderCurrency",
order_total : "OrderTotal",
product_ids : "ProductIDs" })

</script> 

Note: [FILIATLY CLIENT URL] is not the domain of your website, it's your Filiatly space. You can see it when you log in to Filiatly.
Example: https://cliente.filiatly.com

 

Your integration is ready! Try creating a commission to validate if the integration is working. Do you have any doubt? We are here to help you.