Configuration page of Drupal Cloudflare IP Geolocation Modal module

This Cloudflare IP Geolocation Modal module allows site administrators to create and configure one or more modal dialogs to display modals to site visitors originating from configured countries. This module requires the use of Cloudflare IP Geolocation to target modals for specific countries of the originating request.

Cloudflare can include the country code of the visitor's IP (in ISO 3166-1 Alpha 2 format) with each request between Cloudflare and the upstream origin web server. This allows site administrators to capture their visitor's IP location in server logging and/or application logic.

The module allows site administrators to configure the modal content (dialog title, message and a call-to-action button text and destination URL), a target country, and configure which paths the modal will be displayed. Additionally, a weight can be assigned to each modal to determine a priority if there are multiple modals configured to display on overlapping paths.

Supporting organizations: 

Project information

Releases