Getting Started for Web
For web integration, start here once you've created your GrowSurf program.
Want AI help before you install GrowSurf? See Build with AI. An AI assistant that can take actions for you can create a draft program for you to review. When the draft is ready, return here to install it on your website.
Setting up a referral program? Follow Referral Program Workflow to track referrals, record the action that counts, and approve and send rewards.
Setting up an affiliate program? Follow Affiliate Program Workflow to connect referral tracking, commissions, refund handling, and payouts.
Step 1: Install the GrowSurf Universal Code onto your site
Get the GrowSurf Universal Code.
The GrowSurf Universal Code is what allows referrals to be tracked and credited properly.
It also shows the GrowSurf window and embeddable elements, where participants get their share link, share, and check their stats or the leaderboard.
The GrowSurf Universal Code is a snippet of JavaScript that you paste into the <HEAD> of your website.
To get your program-specific GrowSurf Universal Code, follow the Installation steps in the Program Editor until you get to the instructions page (see image below).

Step 2: Connect integrations or use the GrowSurf API
GrowSurf provides no-code integrations (such as Stripe, HubSpot, Salesforce) to track when referred leads successfully convert. You can also use our web/mobile SDKs or REST API to integrate with GrowSurf.
Client-side
Open/close the GrowSurf window, generate referral links, track referral attribution.
Client-side
Open/close the GrowSurf window, generate referral links, track referral attribution.
Client-side
Open/close the GrowSurf window, generate referral links, track referral attribution.
Server-side
Create new participants, trigger referrals, get program data, and get participant data from a secure environment.
Step 3: Send rewards automatically
Send rewards and sync data automatically by using an integration or by using Webhooks.
Step 4: Open the GrowSurf window
The GrowSurf window is a widget that opens from within your product. It is the central command center for your program participants to share their unique link, send invites, and track the status of their referrals. It is branded, customizable, and available via web and mobile SDKs.
Troubleshooting
To troubleshoot common issues during installation, check out Help Center - Installation articles or contact GrowSurf support.
Last updated
Was this helpful?