How to redirect your client to a different page once a purchase is made on Squarespace.
This tutorial will show you how to redirect your client to a different page, such as a ‘thank you’ page once a purchase is made on your Squarespace website.
Complexity: Easy
Step 1
To achieve this on your Squarespace site, simply add the following JavaScript below to Settings > Advanced > Code Injection > Order confirmation page and then save your changes.
<script> var timer = setTimeout(function() { window.location='/PAGE-URL' }, 0); </script>
Also, replace PAGE-URL with the url of the page you wish your client to be directed to.

If you have any questions or need any help with your Squarespace website design, you can book a 1:1 consultation.
All work in this guide is provided ‘as-is’. Other than as provided this guide makes no other warranties, expressed or implied, and hereby disclaims all implied warranties, including any warranty of fitness for a particular purpose.
If you require professional advice, you can book our consultation services.

We work with small and medium-sized businesses to help create a professional online presence. We provide a one shop full-service design studio in London, United Kingdom.