Overview
This guide will walk you through how to add code to Squarespace in order to track activity in Everflow. For more info from Squarespace on where to place the code - [Click Here].
Please note that you must have a Commerce or Business account with Squarespace to complete this integration.
Step #1
In Everflow, navigate to Offers - Manage, and then click on the Offer you want to add to Squarespace. Confirm that Direct Linking is turned on and the Conversion Method is HTML Pixel / Cookie-based, then copy the Click Script from the Tracking card.
Step #2
In Squarespace, navigate to the Home Menu > Settings > Advanced > Code Injection, and paste the Click Script from Step #2 into the Header section.
Step #3
Plug your domain into the Conversion Script below, which should match the domain used in the Click Script:
<script type="text/javascript"
src="https://[[insert_your_trackingdomain]]/scripts/sdk/everflow.js"></script>
<script type="text/javascript">
EF.conversion({
aid: {insert_advertiser_id},
amount: {orderSubtotal},
order_id: {orderId},
parameters: {
'email': '{customerEmailAddress}'
}
});
</script>
Additionally, you need to replace {insert_advertiser_id}
with the Advertiser ID associated with the Offer. In this example, the Advertiser ID is 165
.
In this example, the script would look like this:
<script type="text/javascript"
src="https://[[insert_your_trackingdomain]]/scripts/sdk/everflow.js"></script>
<script type="text/javascript">
EF.conversion({
aid: 165,
amount: {orderSubtotal},
order_id: {orderId},
parameters: {
'email': '{customerEmailAddress}'
}
});
</script>
Step #4
In Squarespace, add the Conversion Script to the Order Confirmation Page section.
Step #5
After adding the code in Squarespace, click Save.
NEED HELP? OUR CUSTOMER SUCCESS TEAM IS HERE FOR YOU!
We've assembled a superstar team of industry veterans that are available around the clock to make sure that your issues are resolved and questions are answered. You can reach out any time in-platform via Chat or by emailing support@everflow.io.