Form loading delay for exit intent

Your software
My Mautic version is: 3.2.5
My PHP version is: 7.3.23
My Database type and version is: 10.3.27-MariaDB-cll-lve

Your problem
My problem is:

When calling a form on ‘exit intent’ or ‘Visitor intends to leave’ using a form created in segments, with a modal popup created in Channels | Focus Items, by the time the form has been displayed, the user has closed the page.

Is there a way to mitigate this?

NOTE: The site with the exit intent popup runs WP 5.6 and Mautic is installed on the same CPanel account.

However I also have this exact issue with a separate and completely independent WP/ Mautic server combo. All sites load very fast with no CDN using litespeed as the server

These errors are showing in the log:

No errors

Steps I have tried to fix the problem:

Copied javascript locally to web server (in root folder)

I was able to come up with a workaround for my purposes:

Using Elementor Pro,

  • Install the WP Mautic plugin
  • Create a new popup
  • Add the shortcode widget to the new popup
  • Insert [mautic type="form" id="1"] . Change id value as needed.
  • Set Elementor triggers/conditions as needed

I would prefer not having to use third party plugins, however a temporary solution is better than no solution!