Verify the Memberstack-to-Stripe handoff
Add referral metadata automatically to Memberstack checkout on Webflow
- Best fit
- Memberstack sites using its DOM checkout and the same Stripe account connected to AffiliateBase.
- Checkout handoff
- AffiliateBase wraps purchasePlansWithCheckout and adds the generated referral ID to metadataForCheckout.
- Proof required
- Complete one referred checkout and confirm the attributed Stripe sale and commission in AffiliateBase.
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.
AffiliateBase automatically integrates with Memberstack’s DOM checkout on Webflow. Install the AffiliateBase tracking script on your site and keep your existing Memberstack checkout buttons.
Before Memberstack starts checkout, the AffiliateBase tracker adds the generated referral ID to metadataForCheckout.affiliatebase_referral_id. Checkout still continues without referral metadata if attribution is unavailable or takes too long.
Connect the same Stripe account used by Memberstack and complete the verification checklist. A referral ID in the browser proves only that tracking ran; the completed checkout confirms whether the payment was attributed. For custom SDK calls and other checkout paths, see the Stripe integration guide.
Follow these steps to integrate AffiliateBase with Memberstack:
Add the Tracking Script
<script async src="https://app.affiliatebase.io/track.js" data-account-id="YOUR_ACCOUNT_ID"></script>
Keep Your Memberstack Checkout Buttons
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 Memberstack?
Use your existing Webflow membership checkout to run an affiliate program.
Automatic Webflow Checkout Support
AffiliateBase adds the referral ID when Memberstack starts checkout from your existing Webflow buttons.
Simple Script Installation
Load the account-specific script on the published Webflow, Framer, or custom site and confirm it runs.
Stripe Integration
Process supported Stripe events only after the checkout carries the generated referral ID.
Subscription Lifecycle Tracking
Tracks subscription renewals, upgrades, and downgrades. Affiliates receive commissions for recurring revenue.
Affiliate Dashboard
Give your affiliates a professional dashboard to track their performance and generate links.
Real-Time Tracking
Track conversions in real-time as members join or upgrade.
Frequently Asked Questions
Does AffiliateBase work with Memberstack?
Does it work with Webflow and Framer?
How are membership sign-ups tracked?
What tracking parameters does AffiliateBase support?
Do affiliates get their own dashboard?
Related Platform Guides
Create an Affiliate Program with MemberPress
Install referral tracking on a MemberPress site, evaluate the plugin checkout handoff, and verify Stripe attribution before launch.
Create an Affiliate Program with Memberful
Evaluate affiliate tracking for Memberful memberships, including official integration options, Stripe prerequisites, and what must be tested.
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.
Ready to Launch Your Memberstack Affiliate Program?
Get started with AffiliateBase today and start growing your Memberstack membership site through affiliate marketing.