Integrations

Integrating with Squarespace

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 to start: if you are using our redirect tracking method, please go directly to step two.

 

Step 1 – 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 on the header code box.

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

<script type="text/javascript">
var _ae = {
'pid': YOUR_PROGRAM_ID,
'advertiserFirst': 21600, // 15 days in mins
'allowSiteUnder': false,
'allowIframing': false
};

(function() {
var element = document.createElement('script'); element.type = 'text/javascript'; element.async = true;
element.src = '//static.affilae.staging1.kaizen-developments.com/ae-v3.2.js';
var scr = document.getElementsByTagName('script')[0]; scr.parentNode.insertBefore(element, scr);
})();
</script>

 

Step 2 – 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”).

<iframe src="https://lb.affilae.staging1.kaizen-developments.com/?key=KEY&id={orderId}&amount={orderSubtotal}&payment=online&customer={customerEmailAddress}" frameborder="0" width="1" height="1"></iframe>

 

 

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

Need help? Contact us!