Know what must work before you launch
Separate WordPress script installation from membership checkout attribution
- Best fit
- Teams evaluating AffiliateBase for a Paid Memberships Pro affiliate workflow.
- Checkout handoff
- The checkout path must receive the generated AffiliateBase referral ID.
- Proof required
- Complete one referred checkout and confirm the attributed sale and commission.
Follow the attribution evidence
Illustrative scenario · fictional values
-
Referred visit
?via=partner
AffiliateBase captures the visit and generates a referral record.
-
Checkout handoff
referral ID
The checkout must carry the generated identifier into Stripe.
-
Paid event
$99 paid
A supported Stripe event confirms the attributed payment.
-
Commission
$19.80 due
An eligible attributed sale creates the commission record.
-
Payout prep
Payout ready
Review the commission and prepare the next step with your payout provider.
This guide is for merchants running a program for their own Paid Memberships Pro site. The AffiliateBase tracking script can capture a visit on WordPress, but Paid Memberships Pro owns the membership checkout.
Using its Stripe gateway is not proof that the generated AffiliateBase referral ID reaches Stripe. Confirm whether your checkout can be customized; otherwise treat initial and recurring commission attribution as unverified.
For a same-page Stripe Payment Link or a custom Checkout Session, follow the Stripe setup guide and verify the full referral-to-commission path.
Follow these steps to integrate AffiliateBase with Paid Memberships Pro:
Add the Tracking Script
<script async src="https://app.affiliatebase.io/track.js" data-account-id="YOUR_ACCOUNT_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://app.affiliatebase.io/track.js" data-account-id='YOUR_ACCOUNT_ID'></script>
<?php
});
Connect Your Stripe Account
Test Your Integration
// Visit your site with a test affiliate link:
// Open the exact setup-test link shown in AffiliateBase.
// Open browser console and check:
console.log(window.AffiliateBase?.referral); // Should show a generated referral ID
Why Use AffiliateBase with Paid Memberships Pro?
Capture the visit on WordPress, then verify the plugin-controlled checkout separately.
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
Install AffiliateBase on WordPress, evaluate the Restrict Content Pro checkout boundary, and verify Stripe attribution and commissions.
Add an Affiliate Program to Next.js
Install affiliate tracking in Next.js, hand the generated referral ID to a server-created Stripe Checkout Session, and verify attribution.
Add an Affiliate Program to Nuxt
Load affiliate tracking in Nuxt, pass the generated referral ID to a server route, and verify a Stripe sale and commission.
Create an Affiliate Program with WordPress
Install AffiliateBase on WordPress, choose a supported Stripe checkout, and verify referral attribution without assuming WooCommerce or plugin compatibility.
Create an Affiliate Program with Webflow
Add affiliate tracking to a published Webflow site, pair it with a supported Stripe checkout, and verify referral attribution before launch.
Ready to Launch Your Paid Memberships Pro Affiliate Program?
Get started with AffiliateBase today and start growing your membership site through affiliate marketing.