• Resolved korywoodard

    (@korywoodard)


    I’m currently trying to input a script from my email marketing provider (Flodesk) so that when a reader clicks an image the popup plugin will open the opt-in form. Right now the image opens an empty page, but I can see within the Inspect Element in Google Chrome that there’s some code there. The head and body tags are empty, though.

    Does the plugin not support scripts? Or is this an issue with the way things are set up with my email marketing provider?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Can you please share your page URL we need to check the issue.
    Meanwhile, you can add your script any other place like simple in the page, is it working.

    Thanks

    Thread Starter korywoodard

    (@korywoodard)

    Absolutely, you can see a test page here: https://codedcreative.co/popup-anything-test/.

    I placed the script that should be displaying in the pop up below the image, so you can see it works.

    Hello,

    Please let me know what you adding in the popup like any JS script or any plugin shortcode.
    This script or shortcode is any plugin part or external script.
    It looks like your script is not initialized in the popup

    Thanks

    Thread Starter korywoodard

    (@korywoodard)

    Here’s what I’m adding:

    <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>
    <div id="fd-form-5d9157e6a9d16a000fc6fe2c"></div>
    <script>
      window.fd('form', {
        formId: '5d9157e6a9d16a000fc6fe2c',
        containerEl: document.querySelector('#fd-form-5d9157e6a9d16a000fc6fe2c')
      });
    </script>

    Hello,

    Sorry for the inconvenience this script will not work with our plugin.
    There is an initialization issue.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Script support?’ is closed to new replies.