Title: Script support?
Last modified: September 30, 2019

---

# Script support?

 *  Resolved [korywoodard](https://wordpress.org/support/users/korywoodard/)
 * (@korywoodard)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/script-support/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscript-support%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Rafik](https://wordpress.org/support/users/rafikwp/)
 * (@rafikwp)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/script-support/#post-11984946)
 * 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](https://wordpress.org/support/users/korywoodard/)
 * (@korywoodard)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/script-support/#post-11999705)
 * Absolutely, you can see a test page here: [https://codedcreative.co/popup-anything-test/](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.
 *  [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * (@anoopranawat)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/script-support/#post-12013107)
 * 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](https://wordpress.org/support/users/korywoodard/)
 * (@korywoodard)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/script-support/#post-12014281)
 * 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>
       ```
   
 *  [Rafik](https://wordpress.org/support/users/rafikwp/)
 * (@rafikwp)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/script-support/#post-12016564)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/popup-anything-on-click_7aa8d3.svg)
 * [Popup Maker and Popup Anything - Popup for opt-ins and Lead Generation Conversions](https://wordpress.org/plugins/popup-anything-on-click/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-anything-on-click/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-anything-on-click/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-anything-on-click/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-anything-on-click/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-anything-on-click/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Rafik](https://wordpress.org/support/users/rafikwp/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/script-support/#post-12016564)
 * Status: resolved