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

1 Log in to your Refgrow dashboard
2 Click on "Add New Program" to create your first affiliate program
3 Set your referral percentage and other program details
4 Configure your payment integration (Stripe or LemonSqueezy)

Integration

To add the affiliate program to your website, follow these steps:

With User Authentication

Recommended

If your website has user authentication, use this code and dynamically set the user's email:

HTML
<div id="refgrow" data-project-id="YOUR_PROJECT_ID" data-project-email="user@example.com"></div>
<script src="https://refgrow.com/js/page.js"></script>
Replace "user@example.com" with the actual user's email when rendering your page

Without User Authentication

If you don't have user authentication or want to use the referral page's built-in authentication, use this code:

HTML
<div id="refgrow" data-project-id="YOUR_PROJECT_ID"></div>
<script src="https://refgrow.com/js/page.js"></script>
This will use the referral page's built-in authentication system

Conversion Tracking

Track signups and purchases in your application

1. Add Tracking Script

Add this script to your main page or where you want to track conversions:

HTML
<script src="https://refgrow.com/tracking.js" data-project-id="YOUR_PROJECT_ID"></script>
Replace YOUR_PROJECT_ID with your actual project ID

2. Track User Signups

Add this code to your registration success page or after successful user signup:

JavaScript
Refgrow(0, 'signup', 'user@example.com');
Replace 'user@example.com' with the actual user's email
Note: This step is required regardless of your purchase tracking method

3. Track Purchases

Choose how you want to track successful purchases:

JavaScript
// Add this code after successful purchase
Refgrow(99.99, 'purchase', 'user@example.com');
Replace 99.99 with actual purchase amount and user@example.com with customer's email
Best practices:
  • Add this code to your purchase success page
  • Make sure to pass the exact purchase amount
  • Use the same email as used during signup
Parameters Reference:
  • value: The monetary value (0 for signups, actual amount for purchases)
  • type: Conversion type ('signup' or 'purchase')
  • email: User's email address
Important Notes:
  • Always include the tracking script on your pages
  • Ensure user's email is available before tracking
  • Track signups regardless of purchase tracking method
  • Test tracking in development environment first

Frequently Asked Questions

Common questions about using Refgrow

Yes! You can try Refgrow for free to see how it works for your SaaS.

Integration is simple - just add our tracking script and widget code snippet to your website, and you're ready to go. We also provide detailed documentation for more advanced setups.

Absolutely! You can customize the design, reward structure, and other aspects to match your brand and business goals.

Yes, you can cancel or upgrade your subscription at any time from your dashboard.

No, there are no limits on how much your affiliates can earn through referrals.

We offer both manual and automatic payout options. For Pro and Enterprise users, we provide automatic bulk payouts through integrations with PayPal and Wise, making it easy to reward your affiliates. Users on the Starter plan can still process payouts manually. You can choose the method that best suits your needs and workflow.

Yes, we support integrations with Stripe and LemonSqueezy, as well as manual conversion tracking by calling the JS function.

Our system is flexible and supports two authentication scenarios. If your website already has a user authentication system, you can easily integrate our affiliate program by dynamically passing the user's email. Alternatively, if you don't have your own authentication or prefer a simpler setup, we provide a built-in authentication method specifically for the referral page. This allows you to choose the option that best fits your website's structure and needs.

Try Refgrow for free today

Turn referrals into your most valuable growth channel

Try Refgrow for Free