Referral Program for Squarespace

Referral Program for Squarespace

Launching Referral Program for Squarespace is very simple with InviteReferrals. If you are not signed up with InviteReferrals already, you’ll need to do so. Sign up for free now !!. There are 2 code integrations that need to be done.

A. Javascript widget code to show referral campaign popup

B. Tracking Pixel integration : To track referral sales

A. Integrate Small Javascript Code to show InviteReferrals Referral Widget

Follow these steps to add InviteReferrals integration code to your store:

1. Login to Squarespace and go to “Settings -> Advanced”.

Referral Program for Squarespace

2. Click “Code Injection”.

Referral Program for Squarespace

3. Copy InviteReferrals integration code

Get your InviteReferrals integration code from the documentation section -> Javascript code. First login to the site and then copy   the code so that the secret keys are already prefilled.

InviteReferrals Integration code

4. Paste InviteReferrals integration code in footer and save it.

Referral Program for Squarespace

B. Integrate Tracking Pixel to track Referral Conversions

Follow these steps to add tracking pixel at checkout page:

1.  Go to “Settings -> Advanced -> Code Injection”.

2.  Add the InviteReferrals tracking pixel under “Order Confirmation Page”.

Get your InviteReferrals tracking pixel from the documentation section -> Referral Tracking Pixel. First login to the invitereferrals site and then copy the static tracking pixel so that the secret keys are already prefilled.

Also replace the following two variables in the tracking code you have copied:

a) Replace {Unique tracking number like orderID or customerID} with {orderId}

b) Replace {email address of customer} with {customerEmailAddress}

Sample tracking pixel code :

<img style="position:absolute; visibility:hidden" src="{orderId}&email={customerEmailAddress}" />

InviteReferrals Tracking Pixel

Thats it! Your Referral Program for Squarespace is ready. You can customize anything from the admin panel. No code changes are needed on your Squarespace store.

Aman Gupta

Co-founder, The product guy at inviteReferrals. Ensures that the best industry practices are built right into your customer referral program.