–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

Example:
europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.

Squarespace

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="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
	PostAffTracker.setAccountId('Account_ID');
	var sale = PostAffTracker.createSale();
	sale.setTotalCost('{orderSubtotal}');
	sale.setOrderID('{orderId}');
	sale.setData1('{customerEmailAddress}');
	PostAffTracker.register();
</script>

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.

Back to Integrations Create account for FREE
Learn about the Squarespace Affiliate Program's key details, campaign restrictions, rules, commissions, and more before you join.

Squarespace Affiliate Program

Learn about the Squarespace Affiliate Program's key details, campaign restrictions, rules, commissions, and more before you join.

Would you like to improve your affiliate software even more? Check out the InSales integration for Post Affiliate Pro.

InSales

Would you like to improve your affiliate software even more? Check out the InSales integration for Post Affiliate Pro.

Would you like to improve your affiliate software even more? Check out the 1ShoppingCart integration for Post Affiliate Pro.

1ShoppingCart

Would you like to improve your affiliate software even more? Check out the 1ShoppingCart integration for Post Affiliate Pro.

Learn about the Square Affiliate Program's key details, campaign restrictions, rules, commissions, and more before you join.

Square Affiliate Program

Learn about the Square Affiliate Program's key details, campaign restrictions, rules, commissions, and more before you join.

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.

×

Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call