Create your affiliate marketing program with Squarepsace


Affilae is an affiliate marketing software, integrates directly with Squarespace.

We helping marketers grow their online businesses with the right affiliates partnerships.

Create & run your own affiliate marketing program in minutes, track, reward (based on multiple commission schemes) and analyze their performance to do the right decisions.

Discover Affilae today!
Our affiliate marketing software




Please, follow these steps: 

Before starting: if you are using our redirect tracking method, please go directly to step two.


Track clicks


The following script must be placed on all pages in the <header> tag.

To do this in Squarespace, got in the Squarespace editor, and select Settings => Advanced => Code Injection

And then, add it to the header code box.

  Important! This script is an example, you must copy-paste the code in your account: Configuration menu at the bottom of the page.

<-- Affilae Tag --> 
<script type="text/javascript">
    var _ae = {
      /* PROGRAM_ID must be changed */
      'pid': 'PROGRAM_ID'
    (function () {
      var element = document.createElement('script'); element.type = 'text/javascript'; element.async = true;
      element.src = '//';
      var scr = document.getElementsByTagName('script')[0]; scr.parentNode.insertBefore(element, scr);


Track sales


When you want to track sales for affiliates in Squarespace, you need to add a conversion tag to your thank you page that passes through the ORDER ID and SALE AMOUNT tax excluded.

So, on the same page find the “Order Confirmation Page” box and copy-paste in the following code:

In this code, you only need to replace the value KEY with the key of the conversion code you can find in the “config” menu. (Green button “conversion code”).

<img src="{{KEY}}&id={orderId}&amount={orderSubtotal}&payment=online&customer={{CUSTOMER_ID}}&cv={SUB_ID}&voucher={{VOUCHER_CODE}}" style="display: none;" width="0" border="0" height="0">



Now, you have to test a conversion before starting – follow our guideline: Test tracking.

Need help? Contact us!