Jump to content

Java Script Not working

Go to solution Solved by paul2009,

Recommended Posts

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

Hello,

 

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

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.