Usage

Creating Popups

Navigate to Leads in the control panel sidebar to create and manage popups. Each popup is a Craft element with full element index support — including drafts, statuses, and search.

Auto-Inject Mode

By default, Leads automatically injects active popups on all frontend pages. No template changes are required — publish a popup and it appears wherever its targeting rules match.

Manual Control

For more control, disable auto-inject and render popups yourself with Twig:

{# Render all active popups #}
{{ leadsPopups() }}

{# Render a specific inline form #}
{{ leadsInline("newsletter-signup") }}

{# Query popups programmatically #}
{% set popups = craft.leads.popups.popupType("modal").all() %}

Triggers & Targeting

Each popup can be shown on a time delay, scroll percentage, exit intent, or click, and targeted to specific pages with URL pattern matching. Display frequency is capped per visitor with cookies. Configure these per popup in the control panel. See Configuration for global defaults.