How to Start with Refgrow
A step-by-step guide to setting up and managing your affiliate program
Getting Started
Welcome to Refgrow! This guide will help you set up and manage your affiliate program effectively.
Setting Up Your Referral Program
Follow these steps to set up your first affiliate program
Integration
Add the affiliate program to your website with a simple code snippet.
With User Authentication
RecommendedIf your website has user authentication, dynamically set the user's email:
<div id="refgrow" data-project-id="YOUR_PROJECT_ID" data-project-email="user@example.com"></div>
<script src="https://scripts.refgrowcdn.com/page.js"></script>Replace "user@example.com" with the actual user's email when rendering your page.
Without User Authentication
Uses the referral page's built-in authentication system:
<div id="refgrow" data-project-id="YOUR_PROJECT_ID"></div>
<script src="https://scripts.refgrowcdn.com/page.js"></script>Conversion Tracking
Track signups and purchases in your application
1. Add Tracking Script
<script src="https://scripts.refgrowcdn.com/latest.js" data-project-id="YOUR_PROJECT_ID"></script>2. Track User Signups
Refgrow(0, 'signup', 'user@example.com');Replace 'user@example.com' with the actual user's email. This step is required regardless of your purchase tracking method.
3. Track Purchases (Manual)
// Add this code after a successful purchase
Refgrow(99.99, 'purchase', 'user@example.com');Alternatively, connect Stripe or LemonSqueezy for automatic conversion tracking via webhooks.
Frequently Asked Questions
Common questions about using Refgrow