Jump to content

ariellebrown

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by ariellebrown

  1. Hello @creedon and @MayaViolet I'm hoping you can help me with the issue you are speaking to above. I'm currently using a flodesk pop-up that is embedded in my Squarespace website which is a Hayden Template (version 7.0). However, I only want the pop-up to "pop up" on my homepage. I'd love to figure out how to "Or, alternatively, you could choose to inject flo-desk's form code into specific page headers for the pages you'd like it to show up on, rather then the entire site header code injection. Lmk if you need more guidance!" as you mentioned @MayaViolet, but I'm a bit confused about how to do that. Could you guide me through this process? For reference, this is my site's homepage URL: https://www.ariellebrown.com (this is where I want the pop-up to show up) And this in particular is the sales page where I want there to be NO pop-up: https://www.ariellebrown.com/holy-desire Here is the code that is currently in my Squarespace header section: <script> (function(w, d, t, 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 e = d.createElement(t); var h = '?v=' + new Date().getTime(); e.async = true; e.src = s + h; f.parentNode.insertBefore(e, f); })(window, document, 'script', 'https://assets.flodesk.com/universal.js', 'fd'); </script> <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: '61e21afe4cfe7529d668aba0' }); </script> In all honesty I don't know what all of that code is. It's been a long time since I put that code in there, because here is the code specifically for the flodesk pop-up: <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: '61e21afe4cfe7529d668aba0' }); </script> Any help you can provide me would be so appreciated.
×
×
  • 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.