Know what must work before you launch
Track the landing page, then verify what MemberPress sends to Stripe
- Best fit
- Teams evaluating AffiliateBase for a MemberPress 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 site owners running a program for their own MemberPress memberships. WordPress can load AffiliateBase on the landing page, while MemberPress controls the membership checkout.
A Stripe gateway connection does not by itself pass AffiliateBase’s generated referral ID. Treat MemberPress checkout and renewals as unverified until a completed payment produces the expected referral, sale, and commission records.
If you can place a Stripe Payment Link on the tracked page or customize Checkout Session creation, use the Stripe guide. Otherwise choose an affiliate integration documented for your MemberPress stack.
Follow these steps to integrate AffiliateBase with MemberPress:
Add the Tracking Script
Add the AffiliateBase tracking script to your WordPress site. You can add it via your theme's header or using a header scripts plugin.
Use the pinned jsDelivr tracking URL for the latest published AffiliateBase release.
<script async src="https://app.affiliatebase.io/track.js" data-account-id="YOUR_ACCOUNT_ID"></script>Add via functions.php (Alternative)
Alternatively, add the script using WordPress hooks in your theme's functions.php file.
// 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
Pass the generated referral ID as client_reference_id to Stripe for accurate conversion tracking. Do not use the public ?via token.
Connect the Stripe account used by checkout, then verify that MemberPress actually supplies the generated referral ID.
Test Your Integration
Visit your MemberPress site with a test affiliate link and verify tracking is working.
// 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 IDWhy Use AffiliateBase with MemberPress?
Install referral tracking on WordPress, then verify the MemberPress checkout boundary separately.
Simple Script Installation
Add a single script tag to your WordPress site. No complex plugin configuration required.
Stripe Integration
A MemberPress Stripe gateway remains unverified until its checkout carries the generated referral ID and creates the expected records.
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 or products.
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 MemberPress?
How are subscription renewals tracked?
Can I set different commission rates for different membership levels?
Does it work with Stripe?
What tracking parameters does AffiliateBase support?
Do affiliates get their own dashboard?
Related platform guides
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 Paid Memberships Pro
Add site-level referral tracking, assess the Paid Memberships Pro checkout boundary, and verify Stripe sales and commissions.
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.
Ready to Launch Your MemberPress Affiliate Program?
Get started with AffiliateBase today and start growing your membership site through affiliate marketing.