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 and the Stripe affiliate program guide.
Follow these steps to integrate AffiliateBase with Memberstack:
Add the Tracking Script
Add the AffiliateBase tracking script to your website. For Webflow, go to Site Settings > Custom Code > Head Code. For other platforms, add to your site's header.
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>Keep Your Memberstack Checkout Buttons
For Memberstack on Webflow, use your existing checkout buttons. The AffiliateBase tracker automatically connects to Memberstack’s DOM checkout, so no second AffiliateBase snippet or custom checkout handler is required.
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.
Use the same Stripe account that handles your Memberstack payments.
Test Your Integration
Open the setup-test link from AffiliateBase, then follow the tracking verification checklist through checkout. Confirm the referred visit and checkout attribution in AffiliateBase; a referral ID in the browser alone does not confirm a credited payment.
// 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 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 Webflow
Add affiliate tracking to a published Webflow site, pair it with a supported Stripe checkout, and verify referral 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.
Create an Affiliate Program with Outseta
Compare Outseta’s documented affiliate integration path with AffiliateBase requirements for Stripe referral IDs, checkout, and verification.
Ready to Launch Your Memberstack Affiliate Program?
Get started with AffiliateBase today and start growing your Memberstack membership site through affiliate marketing.