Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
danbrown

Embed Flodesk form on Squarespace Cover Page

Question

5 answers to this question

Recommended Posts

  • 0

@tuanphan

HEADER

<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>

 

INLINE CODE

<div id="fd-form-5d71c89d1b644c000f7e9d6a"></div>
<script>
  window.fd('form', {
    formId: '5d71c89d1b644c000f7e9d6a',
    containerEl: '#fd-form-5d71c89d1b644c000f7e9d6a'
  });
</script>

Share this post


Link to post
  • 0

Hmm - tried this but still not quite working for me.

When I added it, the form pops up quickly but then 'hides' behind the cover - I can see it below (see attached).

Any ideas?

image.thumb.png.25f072352ae8e9ca9ed24cde402a4d22.png

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...