Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Ouibounce Exit-Intent Modal

118 sites Security covered Drupal 10–11
View on drupal.org

This module allows you to display any Drupal block in a modal window when a visitor is about to leave your site. It integrates with the Ouibounce JavaScript library to trigger the modal.

Ouibounce: A small library enabling you to display a modal before a user leaves your website.

With this drupal module, you can embed any kind of block into the Ouibounce modal window.

Drupal 9/10

Versions

4.x

3.x

Do not use this for new projects. 3.x will be deprecated soon.
It used block plugins as basis, but didn't implement the settings form required to use (bit) more complex blocks, like webform. See #3358189: Render block entities, not plugins unless all plugin settings can be configured for details.
3.x does not support fetching the library via composer.

Installation

Ouibounce library

With composer and asset-packagist:

composer require bower-asset/ouibounce
or
composer require npm-asset/ouibounce

Manual installation:
  • Download Ouibounce library from here
  • Place the folder inside the "/libraries" folder

Module

  • Install "Ouibounce Exit Modal" module
  • Go to blocks, and place "Ouibounce Block" into your content area, and configure it. In contrast to Drupal 7 there's no global settings page anymore.

Dependencies

Drupal 7

Installation

  • Download Ouibounce library from here
  • Uncompress the downloaded file, and copy the "build" folder into "/sites/all/libraries/ouibounce" folder.
  • Install "Ouibounce Exit Modal" module as described here: Installing modules (Drupal 7)
  • View the status report at admin/reports/status to check that Ouibounce library is installed correctly.
  • Visit "/admin/config/user-interface/ouibounce-exit-modal" to adjust the settings
  • Select a block you want to display in the modal, and save changes.
  • Go to blocks, and place "Ouibounce Exit Modal" block into your content area.

Dependencies

Alternative modules

Support

☕️buy a coffee

Depends on

Dependencies of the latest stable release

  • block Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Nov 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
4.0.1 Stable 10–11 Jan 29, 2025
4.0.0 Stable 9–11 Nov 28, 2024