As mentioned with in our 'Can I use Snapppt with my store?' article - Snapppt can be used with any platform: after all, it's simply a set of code snippets that you can paste into any website, blog or store. There is no official Snapppt integration with Squarespace, but see the following for pointers:

Installing the conversion code
To track sales through Squarespace, within our Snapppt account, you'll want to use the 'Code injection' feature, and will want to start with their corresponding help article. For the conversion code, you'll want to enter your Snapppt code snippet into the 'Order confirmation page' field:

Important, you'll want to swap out the 'liquid variables' from your Snapppt order variables, to use the values and syntax that Squarespace supports. Thus, you'll want to use you'll want to change this:

<script>
window.snapppt_order_number = '{{ order_number }}';
window.snapppt_order_total = '{{ total_price }}';
window.snapppt_order_currency = '{{ shop.currency }}';
window.snapppt_account = "XXXXX";
</script>
<script src="//snapppt.com/conversion-tracker.js" defer></script>

To this:

<script>
window.snapppt_order_number = '{ orderId }';
window.snapppt_order_total = '{{ orderGrandTotal }}';
window.snapppt_account = "XXX";
</script>
<script src="//snapppt.com/conversion-tracker.js" defer></script>

Note that you will have your own snapppt_account ID (rather than the XXX), and that it appears Squarespace does not make the currency available, so this has been removed in the updated code snippet (although it wouldn't matter if you leave it). Any other questions? Do let us know!

Did this answer your question?