Replies: 0
Hello,
I’ve built a newsletter pop-up form with Mailjet integration on a client’s new website. The client has multiple mailing lists that users can choose to sign up for with a checkbox. Since the Mailjet integration only allows for a single list to be selected per form, my solution was to create a few hidden forms, one for each mailing list, that are conditionally submitted based on the checkbox selection once the main newsletter form has been submitted.
Now I noticed each of these forms is loading a separate instance of admin-ajax.php, so we have 7 or 8 of these per page. We’re seeing some occasional lag on page load in dev tools, I thought it might be related. Is there a way we can avoid this?
Thanks