Jump to content

Preserve query params on redirect

Recommended Posts

  • 2 weeks later...
  • 2 weeks later...

Also having this issue, when going from www to non-www redirect:

www.foo.com/?gclid=TeSter-123 should go to foo.com/?gclid=TeSter-123, but strips it down to foo.com during the 301 redirect.

Is there any solution through the Squarespace editor somehow or is Developer Mode required to fix it?

Link to comment
  • 3 months later...
  • 3 weeks later...
  • 6 months later...
  • 1 year later...

Hi y'all,

After having the same issue I reached out to Squarespace support and received the following workarounds:

  1. If you use the www version of a link, such as www.yourlink.com vs. yourlink.com, it will prevent the parameters from being stripped.
  2. Another option would be to use "#" instead a "?" when creating the utm tracking.

We implemented #1, and it's been working seamlessly. Hope this helps!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • 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.