Jump to content

Form Submission Redirecting

Recommended Posts

I would like my subscriber form to redirect to a thank you page when a user completes the form successfully.

I tried adding the following script to my form but it did not redirect the user after they completed the form. It just displays the thank you message I entered for the form.

Here is a link to my site:https://phweb-feedback.squarespace.com/subscribe-success

I would like to use the subscribe-success page to help track forms completed using google tag manager and a Facebook pixel.

Any solutions available?

Link to comment
  • Replies 3
  • Views 2.5k
  • Created
  • Last Reply

@princesshouse I have used this snippet for clients before and it's worked beautifully.

First, edit your form and go to the Advanced tab. Put this in the Post-Submit HTML box. Enter this snippet:


<meta http-equiv="refresh" content="0; url=/page-slug/">

where the url= the /page-slug for your internal page. You'll need a different snippet if you want to do an external page. I can find that for you if you need it.

Link to comment
  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.