SaaSquatch Help Center

A quickstart guide for setting up your referral program on your Squarespace website

This guide outlines the basic steps needed to leverage your existing Squarespace website to run your referral program.

Additional information about our drag-and-drop installation solution can be found in our Referral Program Install Guide for Marketers.

Installing the Code Snippet

In order to display the widget and trigger when you want to convert the referral you need to add the SaaSquatch code snippet to your Squarespace pages.

Code snippets can be added to your Squarespace website using the Code Injection field.

To add the Referral SaaSquatch Code Snippet to your Squarespace website:

  1. In the Home Menu, click Settings, click Advanced, and then click Code Injection.

    Squarespace Code Injection Setting

  2. Place the SaaSquatch Code Snippet in the Footer Field:

    Code Snippet Template:

    <script>!function(a,b){a("squatch","https://d2rcp9ak152ke1.cloudfront.net/assets/javascripts/v2/squatch.min.js",b)}(function(a,b,c){var d,e,f;c["_"+a]={},c[a]={},c[a].ready=function(b){c["_" + a].ready =  c["_" + a].ready || [];c["_" + a].ready.push(b);},e=document.createElement("script"),e.async=1,e.src=b,f=document.getElementsByTagName("script")[0],f.parentNode.insertBefore(e,f)},this);squatch.ready(function(){squatch.init({tenantAlias:"YOUR_TENANT_ALIAS_HERE"});squatch.widgets().createCookieUser({});});</script>
    

    Note: Make sure to replace YOUR_TENANT_ALIAS_HERE with your test tenant alias when you paste the following Tracking Script code snippet onto your the webpage. You can find your Tenant Alias on the install page inside the SaaSquatch portal

    Example:

    Squarespace code snippet in footer

  3. Click Save at the bottom of the page.

Program Configuration

Before launching your referral program you will need to configure where to display the widget and when to trigger converting completing a referral. This configuration can be done in the SaaSquatch Portal.

A compelte walkthrough of this process can be found in our Integration Configuration Article

What's next?

Congratulations on setting up your Referral Program. Although this is super exciting, this is also just the beginning of growing your userbase and revenue. We recommend diving deeper into the world of Referral Programs and our platform by reading these documents:

Find about more about the amazing configuration options available in the Portal in our Using Referral SaaSquatch article.

Learn more about how to protect your referral program against unwanted referral activity by reading up about our Security Management System.

Our Saas guide provide details about how to take your referral program to the next level and integrate it with your product.