Jump to content

Java Script Not working

Go to solution Solved by paul2009,

Recommended Posts

Site URL: http://www.jennydrew.com/bookbonus



I wonder if anyone can help. I am looking to add a small bit of custom javascript to a section of one page of my website. It's just an email opt in box from Kartra. I tried to add it in, they told me I had to upgrade my package so I did when I went back the opt in form was showing up. I deleted it because i wanted to move it to another part of the page and now it won't work. Driving me mad, squarespace said it looked like incomplete code, can anyone tell me if this is incomplete?

<div class="kartra_optin_containerd3d9446802a44259755d38e6d163e820"></div><script src="https://app.kartra.com/optin/OlPouNLxbylF"></script>

Any help with this much appreciated!

Screenshot 2022-06-24 at 19.58.17.png

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

Top Posters In This Topic

Popular Days

  • Solution
23 minutes ago, JennyDrew said:

I am looking to add a small bit of custom javascript to a section of one page of my website.

This isn't JavaScript, it is HTML 🙂

Check that you've added the code to a Code Block where you have:

  • selected HTML
  • toggled Display Source to off

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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.