Get started with Refgrow in 3 steps
Set up a Refgrow affiliate program on your website in minutes to grow your business with affiliates. Here is how to get started.
1. Install tracking script
Add the tracking script to the <head> section of your website:
<script
src="https://scripts.refgrowcdn.com/latest.js"
data-project-id="YOUR_PROJECT_ID"
async defer>
</script>YOUR_PROJECT_ID with your actual project ID from the Refgrow dashboard.2. Add affiliate dashboard
Embed the affiliate dashboard into your website so affiliates can track their performance and earnings. Alternatively, you can use the hosted Affiliate Portal instead of embedding a widget.
Option 1: With user email (Referral Program)
Use this when you know the user's email address (e.g., they are already logged in):
<div id="refgrow"
data-project-id="YOUR_PROJECT_ID"
data-project-email="user@example.com">
</div>
<script src="https://scripts.refgrowcdn.com/page.js" async defer></script>Option 2: Without user email (Affiliate Program)
Use this when users need to enter their email to access the dashboard:
<div id="refgrow"
data-project-id="YOUR_PROJECT_ID">
</div>
<script src="https://scripts.refgrowcdn.com/page.js" async defer></script>3. Track user registrations (optional)
If your business has a registration step before purchase, add this tracking call after successful user signups:
Refgrow(0, 'signup', 'user@example.com');user@example.com with the actual user's email address.4. Connect payment provider
Choose your payment provider to automatically track purchases and calculate commissions:
Stripe
Most popular payment processor with webhook-based tracking.
- One-time payments
- Subscriptions
- Automatic tracking
LemonSqueezy
Perfect for digital products, services and SaaS businesses.
- Digital products
- Subscriptions
- Built-in tracking
Paddle
Global payment processor with subscription management.
- Global payments
- Subscription handling
- Tax compliance
Polar
Subscription platform for creators and developers.
- Creator subscriptions
- GitHub integration
- Developer-friendly
Next steps
Set up payouts
Configure automatic payouts for your affiliates.
Need help?
If you need help, please contact us at support@refgrow.com.