Redirect to a Thank You Page After Purchase in Squarespace

Marketing your business can be tricky so we are always looking for new ways to advertise our business and make the most out of the visitors that find there way to our website. One thing that you may find out is that it is way easier to market to an audience that already knows who you are and is interested in what you provide.

So, your marketing should not end when someone purchases a product or service. It is a good idea to find a way to connect with your customers and give them a reason to come back for more!

For example, after someone makes a purchase on your Squarespace Website, wouldn’t it be great to have them sign up for your email list or to show them featured products? Maybe you want to provide them with a discount code for their next purchase?

Unfortunately, after your customers complete their purchase they are automatically redirected to an Order Confirmation Page that you cannot edit. What if I told you, you could use a bit of code to redirect them to a different page…. one that you have complete control over!

In this video, I show you how to redirect your customers to a Thank You page after that have completed a checkout on your Squarespace Website. All the code used in the video is provided below.

 
 

The following code is used in the video.

Redirect After a Given Amount of Time

<meta http-equiv="refresh" content="10;URL='/thank-you'" />

Redirect Immediately

<meta http-equiv="refresh" content="0; url='/thank-you'"></meta>
<style>#_confirmationpage {position:fixed; top:0; left:0; width:100%; height:100%; background:#fff; z-index:2147483646;}</style>
<div id="_confirmationpage"></div>
 

UPDATE: February 2023

As of February 2023, Squarespace has added an Order Status Page. If you are using a Physical, Digital, or Service Product copy the code provided in this video and place it in the box for the Order Status Page instead of the Order Confirmation Page.

 
 
Rebecca Grace

Rebecca Grace is a Squarespace CSS Expert and Website Designer.

https://rebeccagracedesigns.com
Previous
Previous

5 Mistakes to Avoid When Adding Code To Your Squarespace Website

Next
Next

Resize Product Images for Mobile in Squarespace