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.
- 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.