Connect the Post Affiliate Pro (PAP) marketing platform to your membership funnel. This Add On includes the following key features:
- Automated Sale Tracking: Automatically track conversions from affiliates managed through Post Affiliate Pro.
- Works With Your PAP Campaigns: Sales are credited to the affiliate, campaign, and channel from the visitor’s affiliate link.
- Tracks Affiliate Clicks and Visitor IDs: Sets cookies for click and visitor tracking on your site.
- Captures Membership Sale Data: Sends the order total, order code, membership level, and affiliate ID to PAP for each paid order.
- Recurring Payment Tracking: Renewal payments are credited to the affiliate who referred the member.
- Failsafe Mode: If your PAP API connection is down, checkout keeps working. Administrators see an error message on the site, and members see nothing.
Table of contents
How It Works
Once installed, the Post Affiliate Pro Integration Add On:
- Connects to your Post Affiliate Pro account using the login details you add to
wp-config.php. - Registers a click with PAP when a visitor arrives from an affiliate link, and saves the affiliate, campaign, channel, and visitor ID in a cookie for 90 days.
- Sends each paid membership checkout to PAP as a sale. The sale includes the order total, the order code, and a product ID based on the membership level name (for example, a level named “Gold Membership” is sent as
gold-membership). - Saves the affiliate ID and the campaign, channel, and visitor IDs on the order. You can see and edit them in the Affiliate ID and Affiliate SubID fields when you edit an order in Memberships > Orders.
- Sends later paid orders for the same member, such as subscription renewals, to PAP for the same affiliate.
Free checkouts and orders with a $0 total are not sent to PAP.
Installation
You must have the Paid Memberships Pro plugin installed and activated to use this Add On.
- Navigate to Memberships > Add Ons in the WordPress admin.
- Locate the Add On and click “Install Now“.
- Or, to install this plugin manually, download the .zip file above.
- Upload the compressed directory (.zip) via the Plugins > Add New > Upload Plugin screen in the WordPress admin.
- Activate the plugin through the Plugins screen in the WordPress admin.
Settings
This Add On doesn’t have a settings page. After you install and activate it, add your Post Affiliate Pro details to your site’s wp-config.php file, above the line that reads /* That's all, stop editing! */:
define( 'URL_TO_PAP', 'https://youraccount.postaffiliatepro.com/' );
define( 'PAP_LOGIN', 'you@example.com' );
define( 'PAP_PASS', 'your-pap-password' );
- URL_TO_PAP: The URL of your Post Affiliate Pro account, ending with a slash.
- PAP_LOGIN: The email address you use to log in to Post Affiliate Pro.
- PAP_PASS: Your Post Affiliate Pro password.
- PAP_ACCOUNT: Optional. Add
define( 'PAP_ACCOUNT', 'your-account-id' );only if your Post Affiliate Pro account ID is something other thandefault1.
Your Post Affiliate Pro URL must have a valid SSL certificate. The Add On verifies the certificate on every API request, so a self-signed or expired certificate stops click and sale tracking.
Once connected, you can create links in Post Affiliate Pro as you normally would. The Add On will automatically track clicks and sales made through your PMPro-powered membership site.
Upgrading From Version 0.3 or Earlier
Older versions asked you to type your settings into the plugin file, pmpro-post-affiliate-pro.php. Updating the Add On replaces that file, which erases those settings and stops tracking without any warning.
If you edited the plugin file before, add your URL_TO_PAP, PAP_LOGIN, and PAP_PASS constants to wp-config.php as shown above after you update. Add PAP_ACCOUNT too if you changed it from default1.
Works with the free Paid Memberships Pro plugin. No paid plan needed. Create a free account or log in to download it and read the documentation.