Referral Program Quickstart
End to end guide for setting up a Growth Automation referral program.
This guide is designed to provide a basic step-by-step process for implementing a referral program using SaaSquatch's Growth Automation Platform. The example reward structure featured in this guide will consist of a Get $20 for the Referrer only upon completion of a purchase
event by the Referred User.
🔗 What will you need?
We recommend having the following resources available before proceeding to make implementation as smooth and quick as possible:
- The ability to add a tracking script (similar to Google Analytics) on your webpage. A script will be provided for insertion within the code of your site.
- Access to a SaaSquatch project and user account. If you are not already set up, contact our Sales Team to schedule a product demo with you.
- A plan for how your users will interact with your referral program.
- The ability to indicate to the SaaSquatch system when a purchase has been made via either an API call or use of javascript.
🔗 New to Referral Programs and Growth Automation?
SaaSquatch has a wide selection of articles, case studies and eBooks available to help you learn all about referral programs and how to make them work for you.
Check out our Referral Program 101 and Growth Automation 101 articles if you are not sure where to start!
🔗 Setup your Referral Program
Follow these steps below to create, configure, and install your referral program.
🔗 Create your Test Referral Program
Once logged in, you can begin to create and configure a referral program:
- Log into your SaaSquatch account and ensure that you are in your Test tenant. In the upper left-hand corner of the site should be your company name and "Test" (eg. "Bob Co. Test"). If it says Live, click on your displayed company name and select the Test tenant from the drop down menu.
- On the Program page, click either the "Create New" (top-left) or "Create a Program" (center-bottom) button.
- You will be taken to the 'Create New Program' screen where you can choose the type of Growth Automation program you would like to build.
- For the purposes of this guide, choose "Referral Program" by clicking the 'Select Program' button below it.
- The next page will outline the details of setting up a Referral Program. Read through this page and click the 'Create this Program' button at the bottom.
- Next you will need to enter a Program Name and Program ID (used for accessing the program through either squatch.js or an API call). While this program name and ID can be anything you choose, make sure to take note of the ID as it will need to be referenced later.
- Lastly, you will be taken to the configuration page for your program.
🔗 Configure your Test Referral Program
Before a program can launch, the program's rules, rewards, widgets and emails must be configured.
🔗 Set up your Rules, Rewards and Landing Page
- Rules provide the parameters within which interlocking parts of your program (such as Conversion) will be triggered. For this example, we will set it to convert on 'First Purchase' with no minimum purchase value, no maximum number of rewards and no reward for the Referred User.
- The Referrer and Referred Reward sections allow you to specify what is rewarded when the referral satisfies the Rules configured. For this example, we will set the 'Referrer Reward' to 20 Dollars and ignore the 'Referred Reward' as it will not be available for selection if step #1 was followed correctly.
- Specify your Landing Page. This is the page that your users will be sent to when they click on a valid sharelink.
- Customize your Design and Messaging. While custom copy is not required to launch your program, we strongly recommend reviewing the emails, widgets and social media messaging you plan to use to ensure that the messaging and brand are to your standards.
🔗 Integrate SaaSquatch with your site
- Obtain the Tenant Alias and API Key for your Test tenant by clicking on Settings (rightmost option) in the top navigation bar.
- As using Signed Requests is recommended to send data securely, please review this page to ensure proper implementation.
- Review the squatch.js guide for instructions on how to install the proper scripts onto your site and ensure that the referral information is captured correctly.
- If you are planning to display a Referral Widget on your site to engage users, please review the "Referral Widget" section of this guide to learn how to incorporate the interactive user panel into your page(s).
- We also highly recommend creating a webhook subscription so that your site/service can be notified whenever a referral is completed and a user is rewarded.
- Obtain the Tenant Alias and API Key for your Test tenant by clicking on Settings (rightmost option) in the top navigation bar.
- Review this page to learn how to authenticate your API calls to SaaSquatch.
- If you plan to include a SaaSquatch generated Referral Widget, please review this guide for instructions on incorporating the widget into your site page(s) with JavaScript.
- We also highly recommend creating a webhook subscription so that your site/service can be notified whenever a referral is completed and a user is rewarded.
🔗 Send SaaSquatch some test data
- To ensure everything runs smoothly after launch, we recommend Identifying a few users via Squatch.js to the SaaSquatch system.
- Once these users have been created, attempt to send a few
purchase
events via a Squatch.js event call for these users. - Review these users by clicking on the Participants tab in the portal to ensure that all details and events have been captured successfully.
- To ensure that everything runs smoothly after launch, we recommend Identifying a few users via the Create a User and Account API call.
- Once these users have been created, attempt to send a few purchase events via the Track User Event API Call
- Review these users by clicking on the Participants tab in the portal to ensure that all details and events have been captured successfully.
🔗 Launch and Complete Test Referral Loops
- Return to the referral program you've created by clicking on Programs at the top of the portal and clicking on the 'View/Manage Program' button.
- Review your "Rules", "Rewards" and "Messaging" a final time before clicking on the Launch button in the upper right-hand corner.
- Once your program is launched, you should run a couple of referral loops to ensure everything converts and fulfills as expected:
- Identify a new user (using Squatch.js)
- Attribute them to another user (using Squatch.js)
- Convert the referral with a purchase event (using Squatch.js)
- Confirm fulfillment by reviewing the users in the portal, or reviewing the webhook sent to you.
- Attempt to debit the user's reward balance using either bulk reward redemption, or directly from the portal.
- Identify a new user (using the Create a User and Account API Call)
- Attribute them to another user (using the Apply a Referral Code API Call)
- Convert the referral with a purchase event (using the Track User Event API Call)
- Confirm fulfillment by reviewing the users in the portal, reviewing the webhook sent you, or using the List Reward Balances API Call).
- Attempt to debit the user's reward balance using either the Debit a Reward Balance API call, Bulk Reward Redemption, or directly from the portal.
🔗 Transfer Program to your Live Tenant
By now you should have confirmed that the program is set up as you would like and your mechanisms for creating users and attributing referrals are working. With the testing portion done, you can now proceed with setting up and launching your live program:
- Transfer the program into the live tenant.
- Switch over to the live tenant and create a new program.
- Populate the new program with the same rules, rewards and settings from the test program.
- Update all your squatch.js and API calls to use the live tenant's alias and API Key.
- Test it.
- Perform one last referral loop using the live tenant's program and details.
- Launch the live program!
🔗 Import Your Existing Users
For maximum impact, we recommend importing your existing users using our Bulk User Import feature.