# Memberstack Integration
URL: /docs/integrations/memberstack
Description: Track affiliate referrals with Memberstack membership sites

# Setup

Memberstack is an easy way to set up a membership site with Webflow and Stripe. PromoteKit integrates seamlessly with Memberstack to track affiliate referrals.

<iframe
  width="100%"
  style={{ aspectRatio: '16/9' }}
  src="https://www.youtube.com/embed/mW1O_SVjwoc"
  title="Memberstack integration setup"
  frameBorder="0"
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
  allowFullScreen
/>

> **Note:** Both affiliate links and promo codes work with Memberstack. Promo codes
  require no special setup.

## Setup Steps

  1. ### Get the PromoteKit Script
   
       1. Go to your PromoteKit dashboard
       2. Navigate to **Setup → Step 4 (PromoteKit Integration)**
       3. Select **Memberstack**
       4. Copy the provided script
  2. ### Add to Your Site
   
       Paste the script into your Memberstack site's `<head>` section.
  3. ### Publish and Confirm
   
       1. Publish your site
       2. Return to PromoteKit and click **Ok, I've completed this**

> **Note:** Referrals will only be tracked in Stripe **live mode**. Test mode referrals
  won't appear in your dashboard.

## Promo Codes

Our [promo codes integration](/docs/affiliate-promo-codes) also works with Memberstack with no special setup steps required. Just make sure you have promo codes enabled in your Stripe Checkout configuration.