Not loading the form in the popup
-
Hi,
I want to have a sign up form included in a popup. This popup can be loaded on every page of the site so that users can subscribe pretty much from anywhere on the site. However, I don’t want the content of the form itself to be loaded because it loads a lot of unnecessary files.
I inserted a sign up form built with Memberpress with a shortcode in a popup.
Everything works smoothly when clicking on subscribe links and button, except that the popup loads all files of the form all the time, like Stripe and PayPal javascript files, even if users didn’t click to open the popup.As a consequence, I have more than 1.5Mb of files loaded on all pages and posts of the site that are not necessary since the user didn’t even click to subscribe, yet.
When the subscription popup is deactivated, all stripe.js files are gone for instance, that’s how I identified the root of the problem.
I don’t see a targeting condition that could work. Even from my menu and footer I want users the possibility to click to open a popup and subscribe. But I don’t want to load files and slow down the site and use data if visitors have not shown interest in subscribing.
Can you please help me on solving this issue, please?
Thank you very much.
Kind regardsThe page I need help with: [log in to see the link]
- The topic ‘Not loading the form in the popup’ is closed to new replies.