This guide is for site owners using Memberstack for their own memberships. Memberstack supports custom site scripts and Stripe-powered plans, but those facts alone do not prove AffiliateBase checkout attribution.
Install AffiliateBase on the same Webflow, Framer, or custom site where visitors arrive. Then determine whether your checkout path can receive AffiliateBase’s generated referral ID. Memberstack’s Developer Hub documents its current site and API surfaces.
If checkout is not merchant-controlled, treat compatibility as unverified. If you create a supported Stripe Checkout Session yourself, use the Stripe guide and complete the verification checklist.
Follow these steps to integrate AffiliateBase with Memberstack:
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://app.affiliatebase.io/track.js" data-account-id='YOUR_ACCOUNT_ID'></script>
Use Stripe Payment Links or Buttons (If Using)
<!-- Keep Stripe checkout elements on the same page as the AffiliateBase script. -->
<a href="https://buy.stripe.com/xxxxx">Buy now</a>
<stripe-pricing-table
pricing-table-id="prctbl_xxx"
publishable-key="pk_live_xxx"
></stripe-pricing-table>
<!-- For custom or redirected Stripe-hosted links, opt in explicitly. -->
<a data-affiliatebase href="https://link.payment/xxxxx">Buy now</a>
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?
Treat the site script and Memberstack checkout as separate compatibility checks.
Works with Webflow & Framer
Perfect for Memberstack users building on Webflow or Framer. Track conversions across your no-code stack.
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.
Ready to get started?
Get started with AffiliateBase today and start growing your Memberstack membership site through affiliate marketing.
Start for freeFrequently 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.