Jump to content

Third-party Code Injection is breaking Image and Summary Blocks (Constant Contact)

Recommended Posts

For years I have used code from Constant Contact to display their newsletter sign-up forms on my workplace's Squarespace website (www.puppetshowplace.org). This is done by adding code into the footer custom code section. As of this morning, this is causing key parts of the site not to load, specifically overlap image blocks and all images in summary blocks. (attached are screenshots of what the problem looks like)

I removed my site-wide header and footer code injections and narrowed it down to the Constant Contact code being the problem.

<!-- Begin Constant Contact Active Forms -->
<script> var _ctct_m = "eea3068bca4b8e0ec4a8ed32bc05bc10"; </script>
<script id="signupScript" src="//static.ctctcdn.com/js/signup-form-widget/current/signup-form-widget.min.js" async defer></script>
<!-- End Constant Contact Active Forms -->

I also tried removing the code block for the form itself from the webpage, and keeping the footer code injection, but the problem persisted.

I also removed custom CSS just in case, but that did not impact anything.

For now I have removed the problem code so that our site renders correctly, except for the missing newsletter sign-up forms.

Any ideas what's going on? I chatted with Constant Contact support and they were of no help.

Screen Shot 2024-06-06 at 11.05.28 AM.png

Screen Shot 2024-06-06 at 11.06.48 AM.png

Link to comment
  • Replies 2
  • Views 203
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

I've had lots of clients report similar problems and I can see people on Reddit reporting missing images, login fields and other blocks.  They aren't using Constant Contact. 

On that basis I think the problem might not have been caused by your Constant Contact code.

I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
I remember when it was all wild prairies round these here parts. 🐃🤠
Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written.
That reminds me.. ..you might want to check out my
Squarespace template finder or have a look at my other Squarespace tips
Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. 
If you're looking for a Squarespace developer 
Book a chat or Drop me a line - first meeting is always free  

 

Link to comment
1 hour ago, colin.irwin said:

I've had lots of clients report similar problems and I can see people on Reddit reporting missing images, login fields and other blocks.  They aren't using Constant Contact. 

On that basis I think the problem might not have been caused by your Constant Contact code.

Okay interesting. It only seems to happen for me when I add the Constant Contact code, so maybe there is something about it that other code also shares? 

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.