Exit-Intent Trigger

Exit-Intent Trigger is available in Pro
Unlock this and dozens of other powerful features by upgrading to EngageBox Pro.
Unlock this feature

The "Exit Intent" Trigger fires when the visitor intends to leave the page by tracking the mouse movements. Below you can find how to set up a popup with the "Exit Intent" trigger, all supported settings for this trigger, as well as how to trigger it with the JavaScript Events API.

How to create an exit intent popup in Joomla

To set up your popup to trigger on Exit Intent go to your popup settings > Behavior Tab > Trigger Section and apply the following settings:

  • Under the Trigger section, select Exit Intent.
  • Set the minimum time in milliseconds after the trigger will fire on the Minimum Time setting.
  • Set whether to fire the trigger once or unlimited times on the Firing Frequency setting.

engagebox trigger on exit intent settings

Trigger Settings

Below, you can find all configurable settings when you choose the "Exit Intent" Trigger.

Setting Value Description
Trigger Exit Intent Fires when the visitor intends to leave the page
Minimum Time 1000 By default, the popup won't fire in the first second to prevent false positives, as it's unlikely the user will be able to exit the page within less than a second. If you want to change the amount of time that firing is surpressed for, you can pass in a number of milliseconds to timer.
Firing Frequency Once Per Page Configure the fire frequency of this trigger per page.

Once Per Page: The trigger will fire only once per page.

Unlimited: The trigger will fire whenever the event occurs on the page.

Does Exit Trigger work on mobile devices?

Yes, but it works in a different way. Given that mobile devices are touch-based, mobile exit is not based on mouse movement. Instead, there are distinct actions and signals EngageBox uses to anticipate when the visitor is about to leave.

Signal 1: Scroll Up

On most phones including iPhones and Android phones, the URL bar disappears when you scroll down. To type in a new URL to leave the page you’re on, you have to scroll up a little. When this happens, it's a good indicator that the user is exiting.

The key here is to find the right amount of scroll up. If it’s too sensitive, it will trigger as soon as the user scrolls up a little. On the other hand, if it’s not sensitive enough, your popup will never appear.

Signal 2: Back Button Pressing

Coming Soon.

Alternative exit signal using the Idle trigger

Another indicator the user is exiting is when they appear to be idle (not doing anything) on your website. EngageBox can detect when the user is not interacting with your page for a specific amount of time using the Idle Trigger. The point here is to use the Exit trigger only for desktop users and target mobile users with Idle trigger.

To learn how to target visitors based on their device they are using, visit the Device Condition.

Some users may don't find this solution super relevant as not interacting with a page doesn't mean the user is about to exit. However, ecommerce retailers have found this lack of action usually means the user is about to abandon the cart and by triggering an exit offer at just the right time can win the customer back.

Use Cases

Open popup when the user intends to leave your page

A use case for this trigger would be to provide an offer to your users when you detect they are leaving your page in order to try to convert them back to customers.

Frequently Asked Questions

How to Trigger using JavaScript

Using the JavaScript Events API v2, you can configure any popup to be triggered using the "Exit Intent" Trigger. Below you can find a JavaScript snippet:

EngageBox.onReady(function() {
    // Get box instance
    const box = EngageBox.getInstance(5);

    box.bindTrigger('onExit', {
        exit_timer: 5000
        firing_frequency: 2
    });
});

You can read more on the JavaScript Events API documentation, Exit Intent Trigger.

Exit-Intent Trigger is available in Pro
Unlock this and dozens of other powerful features by upgrading to EngageBox Pro.
Unlock this feature
Last updated on Sep 9th 2025 14:09