This feature is available on all Goodshuffle Pro Plans.
If you're using Squarespace (or any other website builder that allows custom JavaScript in the header), you can automatically redirect visitors to a different page a few seconds after they submit a Wishlist form.
⚠️ Important: This method does not work on Wix websites, as Wix does not allow the necessary custom JavaScript injection.
Step 1: Open Your Squarespace Code Injection Settings
To access where you’ll insert the redirect code:
Log in to your Squarespace account.
Go to Pages → Custom Code → Code Injection.
Alternatively, navigate to the area where you originally pasted the Goodshuffle Pro website integration code when you first set it up.
Step 2: Add the Redirect Script to the Header
In the Header section, below any existing Website Integration code, paste the following JavaScript:
<script> document.addEventListener("gspro-wishlist.submit-complete", function() { setTimeout(function() { window.location.href = 'https://www.YOURWEBSITEURL.com/'; }, 4000); }); </script>
What to Edit in the Code
https://www.YOURWEBSITEURL.com/
Replace this with the full URL of the page you want users to be redirected to. Be sure to include thehttps://wwwprefix—omitting this can cause the redirect to fail on some sites.4000(milliseconds)
This number controls the delay (in milliseconds) before the redirect happens.4000= 4 seconds. You can change this to any value you'd like!
Need Additional Support? Click the blue chat bubble in the bottom corner of your screen to message our support team—we’re happy to help!
