The integration of Zenler is divided into two main steps. The first is to make sure you track (even a zero) commission for registration. This is to ensure an affiliate is linked with a customer. The second step then is to create a webhook notification from Zenler to Post Affiliate Pro notifying about a new order.
1. Lead/Registration tracking
As mentioned this step is necessary to create a relation between customer and affiliate. To make use of it, enable Lifetime Commissions plugin. The code to track a customer with their email is below. You will have to make sure the value loading fits your site (element ID or class name, etc…).
2. Data notification
When you have a form integrated you can connect your Zenler sales to PAP. You have to do this with any course or bundle that you want to track. Edit the course or bundle and navigate to Automation section. Click the Edit Automation Rules button on right and add a new rule. The action would be “Send a webhook”. This is your webhook URL:
When done you just have to enable Zenler plugin in your Post Affiliate Pro merchant panel and do not forget to add click tracking code to your pages.