Jump to content

Syntax Error on line 1 - Mailchimp code

Recommended Posts

Site URL: https://holliemcmanus.com/

Good afternoon,

I wonder if anyone can help me.
I have entered the custom code from mailchimp, so the popup banner appears when people visit my website. It was working for ages, but I've just noticed it's started being a bit hit and miss and would only work when accessed from my phone. I also now have a 'Syntax on line 1' error.
I have recently added a hidden page on my site for links, so I have a linktree on my instagram profile, I wonder if this has efffected it somehow ? ( I get the pop up when I click on my linktree)
I am clueless when it come to code!

This is the code:

<script id="mcjs">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/249a2220e1797ed766c0c23fd/5313b3f479977208f3e4691d7.js");</script>

Thank you for any help you can give 🙂

Hollie

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.