The all-in-one solution for anyone looking to create a beautiful website.

Squarespace is a hosted solution of a website builder - whether you need simple pages, striking galleries, a professional blog, or an online store, it's all included within Squarespace website. Everything is mobile-ready right from the start.

The integration is achieved by placing a sale tracking code into special sections of Squarespace interface. You can track order ID, subtotal and customer email. Unfortunately product ID is not available.


Sale tracking code

Log into your Squarespace.com store's Admin Page and navigate to Settings> Advanced> Code Injection.

Place this code into the Order Confirmation Page section:

<script id="pap_x2s6df8d" src="http://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
	var sale = PostAffTracker.createSale();

That's it. Save your work and you are done.

Here is a list of all available variables in case you wanted to use it in the sale tracking:

  • {orderId} - the unique ID of the confirmed order
  • {orderSubtotal} - the subtotal of the confirmed order
  • {orderSubtotalCents} - the subtotal of the confirmed order, in cents
  • {orderGrandTotal} - the grand total of the confirmed order
  • {orderGrandTotalCents} - the grand total of the confirmed order, in cents
  • {customerEmailAddress} - the customer's email address, as it was entered in the "Billing Info" section

Don't forget to integrate your site with the click tracking code - you can place the click tracking code into the Footer section in Code Injection.