All features

On click

Open your popup when a visitor clicks a button, link or banner on your site.

What it is

On click, in plain words.

Most popups decide for themselves when to appear. A click-triggered popup waits for the visitor to ask. They click ‘Get 10% off’, ‘Size guide’ or ‘Join the waitlist’, and the popup opens like a small landing page.

You tell OptiMonk which elements to watch with a CSS selector: an ID like #cta-button, a class like .promo-banner, or a combination. A click on anything inside a matching element counts too, so an icon inside your button works.

Because the visitor asked for it, On click ignores frequency limits: the popup opens on every click, as long as the campaign's targeting matches. The element's normal action, like following a link, is held back so the popup can open instead.

Each selector has its own Desktop / Mobile switch, so a button can open the popup on phones and a different element on desktop.

When to use it

Where it pays off.

A sign-up form behind a button.

Put a ‘Join our newsletter’ button in your footer or header. A click opens the sign-up popup, and the page stays clean.

A size guide or extra details.

Link ‘Size guide’ on product pages to a popup with the chart, so shoppers don't leave the page to find it.

A banner that opens an offer.

Point a homepage banner at a popup with the full offer and a code, instead of sending people to another page.

Waitlists and back-in-stock.

A ‘Notify me’ button on a sold-out product opens a popup that collects the email address.

Key benefits

Why it earns its place.

01

Shown only when asked for.

Visitors open it themselves, so it never feels like an interruption.

02

Any element on your site.

Buttons, links, images, banners: anything a CSS selector can point to, including what's inside it.

03

Opens every time.

Frequency limits don't apply, so the popup is there whenever a visitor clicks.

How it works

Set it up in a minute.

  1. 1
    Step 1

    Find the element's selector

    On your site, right-click the element and choose Inspect to see its ID or class, or ask your developer.

  2. 2
    Step 2

    Add the trigger

    On the campaign's Settings tab, under When will the popup show up, click Add trigger and pick On click. Enter the CSS selector and set Desktop / Mobile. Use Add another selector for more.

  3. 3
    Step 3

    Save

    Click Save, then Save changes. The assistant can set it too, if you tell it the exact element, like “open it when someone clicks #size-guide”.

Settings & limits

Good to know.

You provide the selector.

The assistant won't guess one. Give it the exact selector or element.

Up to 20 selectors.

Any one of them opens the popup. A selector that isn't valid CSS is rejected when you save.

The link doesn't navigate.

The element's default action is held back so the popup can open. Don't use it on links that must still work.

Frequency limits don't apply.

The popup opens on every click. Targeting rules still decide who can open it.

Questions, answered.

Step-by-step setup lives in the Help Center guide.

OptiMonk monk meditating in lotus pose

Try On click
on your own store.

Free to start. No credit card.