Home Integration Methods OptimizeMember API (WordPress module)

OptimizeMember API (WordPress module)

OptimizePress is the new way to create high converting landing pages, sales pages and membership portals.

The integration method uses OptimizeMember API to communicate with built-in plugin. You can track sales, recurring sales and refunds. You can automatically create an affiliate account for the new registering customer. It is also possible to use Lifetime Commissions.
1
Modify registration form
This will save a tracking value for every new member. The tracking value will be used for every sale notification. Thanks to this, Post Affiliate Pro will be able to recognize who is the referring affiliate and which campaign to use to compute commissions.

Before we start with setup, you have to enable OptimizeMember plugin in your Post Affiliate Pro first. Set a secret word - it will be used for communication between OptimizeMember and Post Affiliate Pro.

The first step is to create an additional (optional) field in your OptimizeMember registration form (General Options> Registration/Profile Fields) and name it 'visitorID' (the same for unique field ID).
The next step is to set a custom script in Footer Design section of General Options> Login/Registration Design. Please insert this code there:
This code will make sure the parent affiliate info (a cookie value) is stored in this field, and the field itself is hidden from the form.
2
Payment tracking
Navigate to your OptimizeMember admin, to API / Notifications> Payment Notifications and use this notification URL (use the same secret word here as you've set in the plugin):
Save your changes.
3
Refund tracking
To track refunds and automatically mark commission as refunded when payment is refunded, you have to navigate to your OptimizeMember admin, to API / Notifications> Refund/Reversal Notifications and use this notification URL (set the secret word there):
Save your changes.
4
Register affiliates
As you can see in the plugin configuration, there is a checkbox for affiliate registrations. In case you want to create an affiliate account for every new member, you have to check the checkbox in the plugin and then, in your s2Member administration navigate to API / Notifications> Signup Notifications and set this URL there:
Save your changes.
Do not forget to integrate your WordPress page with the click tracking code.