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

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.