HollieMc Posted January 24, 2022 Share Posted January 24, 2022 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
tuanphan Posted January 25, 2022 Share Posted January 25, 2022 Hi. Your code is script code, you need to add it to Settings > Advanced > Code Injection > Footer (or Header) You see the errror because the Custom CSS box for CSS code only. HollieMc 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment