Veronique9753 Posted November 21, 2022 Posted November 21, 2022 I had header code for a pop-up from Flodesk (to sign up for my newsletter) on my site. It seems like it's now broken. Can anyone help me fix it!? Pasting the code below. Huge thanks to anyone who might be able to help figure out a solution! <script> (function(w, d, t, h, s, n) { w.FlodeskObject = n; var fn = function() { (w[n].q = w[n].q || []).push(arguments); }; w[n] = w[n] || fn; var f = d.getElementsByTagName(t)[0]; var v = '?v=' + Math.floor(new Date().getTime() / (120 * 1000)) * 60; var sm = d.createElement(t); sm.async = true; sm.type = 'module'; sm.src = h + s + '.mjs' + v; f.parentNode.insertBefore(sm, f); var sn = d.createElement(t); sn.async = true; sn.noModule = true; sn.src = h + s + '.js' + v; f.parentNode.insertBefore(sn, f); })(window, document, 'script', 'https://assets.flodesk.com', '/universal', 'fd'); </script> <script> window.fd('form', { formId: '619e4bca117f2e0a9bdc585f' }); </script>
Ziggy Posted November 21, 2022 Posted November 21, 2022 Hi @Veronique9753 Can you share your website and the page that this is located on? Do you have the Squarespace business plan? Have you altered the code or is that exactly as you got it from Flodesk? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
LayilUmbralux Posted March 4, 2023 Posted March 4, 2023 Hello I am also having this problem. I had a functioning Flodesk popup at one point, and I'm not sure when it stopped working. I have SS's native popups disabled; do we know if there's a conflict? I haven't found mention of one online in a quick search. I set it up using Flodesk's instructions, and I have the code where it should be on SS, but when I reload my site, there's no popup, and hasn't been for a while. I thought maybe I had turned it off at one point, but there doesn't seem to be an option for that. My website is www.studioumbralux.com if you want to see. Pop-ups are meant to load on the Home page. I have a Squarespace business plan (pre-update), from 2021. Any help would be greatly appreciated! Here's my code (Fd is at the end). Perhaps I've installed it wrong? <!-- Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '171242645205849'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=171242645205849&ev=PageView&noscript=1" /></noscript> <!-- End Facebook Pixel Code --> <meta name="google-site-verification" content="ut5lK0KD7Bl_ADaD0CF719r3IDpbfxQAJRRLYzvhzo8" /> <script> (function(w, d, t, h, s, n) { w.FlodeskObject = n; var fn = function() { (w[n].q = w[n].q || []).push(arguments); }; w[n] = w[n] || fn; var f = d.getElementsByTagName(t)[0]; var v = '?v=' + Math.floor(new Date().getTime() / (120 * 1000)) * 60; var sm = d.createElement(t); sm.async = true; sm.type = 'module'; sm.src = h + s + '.mjs' + v; f.parentNode.insertBefore(sm, f); var sn = d.createElement(t); sn.async = true; sn.noModule = true; sn.src = h + s + '.js' + v; f.parentNode.insertBefore(sn, f); })(window, document, 'script', 'https://assets.flodesk.com', '/universal', 'fd'); </script> <script> window.fd('form', { formId: '613bbf0d7accb4c021020549' }); </script>
paul2009 Posted March 4, 2023 Posted March 4, 2023 @Veronique9753 Your code appears to be working fine. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide 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. Buying a coffee is generous but optional.
paul2009 Posted March 4, 2023 Posted March 4, 2023 1 hour ago, LayilUmbralux said: I am also having this problem. I had a functioning Flodesk popup at one point, and I'm not sure when it stopped working. @LayilUmbralux Your code seems to be working fine too. Did this help? Please give feedback by clicking an icon below ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide 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. Buying a coffee is generous but optional.
LayilUmbralux Posted March 5, 2023 Posted March 5, 2023 Oh! Interesting. Well that's good to know. I had tried it in incognito, figuring that would default it, but I guess it still knows not to show it to me. I'll have to tweak my settings. Thank you!
LeahMaria Posted March 13, 2023 Posted March 13, 2023 Hi Folks, I'm a code novice. I recently created a Mailchimp pop-up form (newsletter subscription) for my website landing page. The domain for page is www.finickyheart.com which directs to a page on my website www.spinsterproduction.com. Is it possible for a pop-up code to work on a PAGE vs a home page of a website? Also, am I right to understand I simply copy and paste code into header on that page? Does it need to be any special format or changed in a way I'm not understanding? Appreciate any feedback or advice, Leah 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/d490339cc231b3a722376c29e/196f62c276a6eefc51d7c097c.js");</script>
LeahMaria Posted March 14, 2023 Posted March 14, 2023 Hi Folks, I'm a code novice. I recently created a Mailchimp pop-up form (newsletter subscription) for my website landing page. The domain for page is www.finickyheart.com which directs to a page on my website www.spinsterproduction.com. Is it possible for a pop-up code to work on a PAGE vs a home page of a website? Also, am I right to understand I simply copy and paste code into header on that page? Does it need to be any special format or changed in a way I'm not understanding? Appreciate any feedback or advice, Leah 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/d490339cc231b3a722376c29e/196f62c276a6eefc51d7c097c.js");</script>
tuanphan Posted March 16, 2023 Posted March 16, 2023 On 3/14/2023 at 4:14 PM, LeahMaria said: Hi Folks, I'm a code novice. I recently created a Mailchimp pop-up form (newsletter subscription) for my website landing page. The domain for page is www.finickyheart.com which directs to a page on my website www.spinsterproduction.com. Is it possible for a pop-up code to work on a PAGE vs a home page of a website? Also, am I right to understand I simply copy and paste code into header on that page? Does it need to be any special format or changed in a way I'm not understanding? Appreciate any feedback or advice, Leah 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/d490339cc231b3a722376c29e/196f62c276a6eefc51d7c097c.js");</script> Just add the code to Page Header (Page where you want to popup work with) 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment