Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Javascript issues with Active Campaign Form Embed



Site URL: https://www.itsbrandbabe.com/contact

I am having a redirect issue with an Active Campaign embed I have on my website. I think it has to do with conflicting javascript code within the embed and Squarespace.

I was testing for error messages on my form. If you have any form of error and try to click submit on the form, it will redirect the entire page to a new window, within my active campaign account rather than staying on my website.

I've attached a video of what it should look like, but what is actually happening below.


Thank you in advance for the help! ūüôŹ Been trying to debug this for days and have no clue where to even look!


Link to comment
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

It's an Ajax issue. I wrote a guide that explains the issue and suggests alternative solutions.

In summary, the JavaScript has not been written to work with Squarespace's Ajax page loader. If you land directly on the contact page, it will work. if a visitor lands on any other page and then navigates to the contact page, it won't.

Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital,¬†building¬†the features that Squarespace didn't include‚ĄĘ. Our mini-extensions allow you to¬†pick dates in any format, show¬†prices in other currencies, take orders without payment or improve your cart.¬†I value¬†honesty, integrity, transparency and respect ‚ô•.¬†Links in my posts may refer to SF Digital products or may be affiliate links.

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