Popup Trigger
Manually triggers MarketingPopup to open when clicked, ideal for subscribe or CTA buttons.
Popup Trigger is a click-to-open trigger for the MarketingPopup component. Place it anywhere on the page and connect it to a designed button; when that button is clicked, it opens the selected popup mode.
This is useful for subscription CTAs, newsletter links, or any button that should launch the popup on demand instead of relying on automatic delay or exit-intent triggers.
What it does
- Turns any connected button into a manual trigger for MarketingPopup.
- Opens the configured popup mode (Email Capture or Exit Intent) when clicked.
- Works alongside any automatic triggers you may have configured on MarketingPopup.
How to set it up
- Add MarketingPopup to the page or layout and configure its content and modes.
- Add AP_PopupTrigger to the same page.
- Connect your designed button component to the Button slot of AP_PopupTrigger.
- Set Mode to the popup mode you want to open (Email Capture or Exit Intent).
- Publish and test by clicking the button to confirm the popup opens as expected.
Key behaviours
- Requires a MarketingPopup instance on the same page or layout to function.
- Only opens the mode selected in the Mode control.
- Can be reused across multiple CTAs by placing multiple AP_PopupTrigger instances, each wired to different buttons or modes.