# Form loading delay for exit intent

**URL:** <https://forum.mautic.org/t/form-loading-delay-for-exit-intent/17988>\
**Category:** Product Support\
**Created:** [February 1, 2021, 11:48pm UTC](https://forum.mautic.org/t/form-loading-delay-for-exit-intent/17988 "2021-02-01T23:48:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ill13](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ill13/32/4403_2.png) [@ill13](https://forum.mautic.org/u/ill13)\
**Post date:** [February 1, 2021, 11:48pm UTC](https://forum.mautic.org/t/form-loading-delay-for-exit-intent/17988/1 "2021-02-01T23:48:21Z")

</div>

**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)

---

<div class="post-metadata">

**Author:** ![ill13](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ill13/32/4403_2.png) [@ill13](https://forum.mautic.org/u/ill13)\
**Post date:** [February 2, 2021, 7:17pm UTC](https://forum.mautic.org/t/form-loading-delay-for-exit-intent/17988/2 "2021-02-02T19:17:01Z")

</div>

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!
