Referral SaaSquatch Help Center

A quickstart guide for leveraging Tealium iQ Tag Management to integrate a referral program into your website.

This guide outlines the basic steps needed to leverage your existing Tealium setup to run the SaaSquatch referral program on your website.

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

Create Hosted Code Snippet

Tealium requires that external javascript code snippets be hosted in order to be used as a tag.

Use the CDN of your choice to host the following code snippet as a .js file:

!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({});});

Note: Make sure to replace YOUR_TENANT_ALIAS_HERE in the above code snippet with the Tenant Alias which can be found on the install page in the Referral SaaSquatch portal:

How to create a SaaSquatch Tealium Tag

This section will explain in detail how to create a SaaSquatch Tealium Tag.

1. Add a New Tag

Log into your Tealium account and click on the "Add Tag" button.

2. Select Tag Type

Select the tag type Tealium Generic Tag. This will allow you to include a link to the hosted SaaSquatch code snippet that you created in the Create Hosted Code Snippet step.

Tealium Generic Tag

3. SaaSquatch Tag Configuration

To complete the setup of your SaaSquatch Tag Configure the Tag as follows:

  • Title - The name you would like to assign to your SaaSquatch referral program Tag
  • Type - Select the Script Tag type.
  • HTTP URL - Fill in the URL of the SaaSquatch code snippet you have placed on your CDN, e.g. mycdn.com/files/saasquatch-tag-snippet.js

    Tealium Tag Configuration

  • Click Finish

4. Publish SaaSquatch Tag.

To make use of your newly created SaaSquatch Tag you will need to publish it. Click the Save/Publish button from the top right of the Tealium Portal:

Save-Publish

Your existing use of Tealium could mean you have already included the Tealium code on your webpages.

If you have not already installed the Tealium code snippet it can be found by clicking the Code Center button in the Save/Publish popup:

Tealium Code Center

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.

Looking for something special?

Still couldn't find it?