Paid Memberships Pro is a powerful WordPress membership plugin that helps you create and manage membership sites, online courses, and subscription businesses. If you're using Paid Memberships Pro and want to grow through affiliate marketing, AffiliateBase provides seamless integration.
This comprehensive guide will walk you through everything you need to know about setting up an affiliate program with Paid Memberships Pro, from adding the tracking script to tracking membership sign-ups through Stripe webhooks.
Whether you're selling premium content, online courses, or subscription memberships, an affiliate program can help you acquire new members while rewarding your partners for successful referrals.
Follow these steps to integrate AffiliateBase with Paid Memberships Pro:
Add the Tracking Script
<script>(function(w,r){w._abq=w._abq||[];w[r]=w[r]||function(){(w[r].q=w[r].q||[]).push(arguments)}})(window,'affiliatebase');</script>
<script async src="https://cdn.jsdelivr.net/npm/affiliatebase-tracking@1/src/index.js" data-org-id='YOUR_ORG_ID'></script>
Add via functions.php (Alternative)
// Add to your theme's functions.php
add_action('wp_head', function() {
?>
<script>(function(w,r){w._abq=w._abq||[];w[r]=w[r]||function(){(w[r].q=w[r].q||[]).push(arguments)}})(window,'affiliatebase');</script>
<script async src="https://cdn.jsdelivr.net/npm/affiliatebase-tracking@1/src/index.js" data-org-id='YOUR_ORG_ID'></script>
<?php
});
Connect Your Stripe Account
Test Your Integration
// Visit your site with a test affiliate link:
// https://yoursite.com?via=test123
// Open browser console and check:
console.log(window.affiliatebase_referral); // Should show "test123"
Why Use AffiliateBase with Paid Memberships Pro?
AffiliateBase is the perfect solution for Paid Memberships Pro site owners who want powerful affiliate tracking.
Simple Script Installation
Add a single script tag to your WordPress site. No complex plugin configuration required.
Multiple Payment Gateway Support
Works with Stripe, PayPal, and other payment gateways supported by Paid Memberships Pro.
Subscription Lifecycle Tracking
Tracks subscription renewals, upgrades, and downgrades. Affiliates receive commissions for recurring revenue.
Multiple Membership Levels
Support for different commission rates based on membership tiers.
WordPress Native
Works with your existing WordPress setup. No additional plugins required.
Affiliate Dashboard
Give your affiliates a professional dashboard to track their performance and generate links.
Frequently Asked Questions
Does AffiliateBase work with Paid Memberships Pro?
How are subscription renewals tracked?
Does it work with Stripe and PayPal?
Can I set different commission rates for different membership levels?
What tracking parameters does AffiliateBase support?
Do affiliates get their own dashboard?
Related Platform Guides
Create an Affiliate Program with Restrict Content Pro
Complete guide to setting up an affiliate program with Restrict Content Pro. Track membership sign-ups, renewals, and upgrades using AffiliateBase.
Create an Affiliate Program with Next.js
Complete guide to setting up an affiliate program in Next.js. Step-by-step integration with code examples and best practices for Next.js developers.
Create an Affiliate Program with Nuxt
Complete guide to setting up an affiliate program in Nuxt. Step-by-step integration with Nuxt 3, server routes, and composables for Vue developers.
Create an Affiliate Program with WordPress
Complete guide to setting up an affiliate program in WordPress. Step-by-step integration with WordPress themes, plugins, and WooCommerce for any WordPress site.
Create an Affiliate Program with Webflow
Complete guide to setting up an affiliate program in Webflow. Step-by-step integration with Webflow CMS, custom code, and forms for no-code developers.
Ready to Launch Your Paid Memberships Pro Affiliate Program?
Get started with AffiliateBase today and start growing your membership site through affiliate marketing.