Our tracking software will allow you to track sales and manage your Squarespace affiliate marketing program
LeadDyno offers a very simple integration with Squarespace, making it incredibly easy to get an affiliate program going for your online Squarespace shop.
Easy Squarespace Setup
Set up your SquareSpace affiliate marketing program with LeadDyno. Our tracking software will allow you to track sales and manage your SquareSpace affiliate marketing program.
More Than Affiliate Tracking
Start tracking clicks, leads, sales as well as other marketing campaigns for your SquareSpace storefront in your LeadDyno dashboard.
Automate Your Marketing
Customers can be the best affiliates. Automatically invite customers who make a purchase on your store to join your SquareSpace affiliate program.
In this article
Requirements
The SquareSpace integration requires that you're subscribed to the Business or Commerce plan.
Configuring Your Squarespace Site
To integrate SquareSpace and LeadDyno, you will need to add LeadDyno tracking code to your SquareSpace site via the Code Injection settings page in two places.
From your SquareSpace store visit Settings - Advanced.
Then click on Code Injection.
You will now add the LeadDyno tracking code to every page of your website. To get the code, visit the Account - Utilities section, click on the Get Javascript button, and then click Copy Code.
Paste the LeadDyno tracking code in the section entitled Footer:
The next step is to add the following code to the Order Confirmation Page and the Order Status Page:
<script type="text/javascript" src="https://static.leaddyno.com/js"></script>
<script>
LeadDyno.key = "YOUR_PUBLIC_KEY";
LeadDyno.recordPurchase("{customerEmailAddress}",
{
purchase_code: {orderId},
purchase_amount: {orderSubtotal}
}
);
</script>
Where your public key (from the code above) is substituted for YOUR_PUBLIC_KEY
above and click Save.
At this point, your SquareSpace shop will be fully integrated with LeadDyno, which will track the source of all incoming leads, including affiliates and tracking campaigns.
Enabling AutoApprove (Optional)
Because purchase information is coming from the LeadDyno javascript library, purchases must be approved before affiliate commissions are generated. If you find this a hassle and want to simply automatically approve purchases, you can enable “AutoApprove” of purchases by clicking the “AutoApprove” button on the Reporting - Purchases screen in LeadDyno:
Limitations / Known Issues
We recommend disabling express checkout options (such as Google Pay, ShopPay, AmazonPay) as the purchases made through express checkout will get tracked, but the affiliate referral most likely won't. This is due to the fact that the express checkout forms are hosted by iframe elements that can't be penetrated by Javascript, so the LeadDyno code can not interact with it and ensure that the lead is tracked when the purchase is made.