# Outseta Integration
URL: /docs/integrations/outseta
Description: Track affiliate referrals with Outseta membership platform

# Setup

Outseta is an all-in-one membership platform that includes CRM, subscription billing, and authentication. PromoteKit integrates with Outseta to track affiliate referrals.

## Setup Steps

### 1. Add the PromoteKit Script

1. Go to your PromoteKit dashboard
2. Navigate to **Setup - Step 4 (PromoteKit Integration)**
3. Select **Outseta**
4. Copy and add the PromoteKit script to your site

### 2. Add the Signup Tracking Script

Add the following script to your member signup page. This listens for Outseta signup events and passes the customer's email and Stripe token to PromoteKit:

```html
<script>
Outseta.on(
  'signup',
  (account) => {
    window.promotekit.refer(
      account.PersonAccount[0].Person.Email,
      account.PaymentInformation.CustomerToken
    )
  }
);
</script>
```

### 3. Publish and Confirm

1. Publish your website
2. Return to PromoteKit and click **Ok, I've completed this**

**Note:** Referrals will only be tracked in Stripe **live mode** during testing.