Every popup you build in OptiMonk is made for mobile from the start. It is one responsive design that adapts to phones, and you can check and fine-tune the mobile view in the editor. Whether it actually shows on a phone is decided by the trigger's device setting — and new triggers run on both desktop and mobile by default.

All six triggers can run on mobile:

  • On exit-intent

  • After a delay (X seconds)

  • After scrolling (X% of the page)

  • On click (a specific element)

  • After inactivity (X seconds without activity)

  • On a JavaScript event


Set a trigger to run on mobile

  1. Open Campaigns in the left menu and click the campaign you want to edit.

  2. Open the Settings tab. The first section is When will the popup show up.

  3. Click an existing trigger's card to edit it, or click Add trigger and pick one from the list.

  4. In the dialog, under On devices, check the Mobile switch. It is on by default for every new trigger, together with Desktop. Your popup shows on phones while Mobile is on — either on its own, or together with Desktop. Switch Desktop off if you want a trigger to run on phones only.

  5. Click Save in the dialog, then Save changes at the bottom of the section.

💡 Triggers are combined with OR — the campaign fires when any of them triggers. So one campaign can use exit intent on mobile and a delay on desktop at the same time.

On click and On a JavaScript event work slightly differently: they have no single device switch, because each CSS selector row and each event name row carries its own Desktop / Mobile toggle. One selector can be mobile-only while the next is desktop-only.

You can also just ask for it in chat — for example "show this on mobile too" — and the settings panel updates as you talk.


How do I show a campaign only to mobile (or only to desktop) visitors?

The trigger's device switch decides on which devices a trigger runs. To limit the whole campaign to one kind of device, add a targeting rule:

  1. Open the campaign's Settings tab.

  2. Under Who should see the popup, click Add new rule and pick Other visitor attributes.

  3. In the condition row, choose Device, then is or is not, and then Desktop or Mobile.

  4. Click Save in the rule window, then Save changes in the bar at the bottom of the page.

The rule card then reads, for example, Device is Mobile.


The mobile version of the popup

A popup is one responsive design for desktop and mobile. In the editor, the header shows Shared design: desktop + mobile, and the monitor / phone icons at the top switch between the two views. The size dropdown next to them lets you preview the current view at different screen sizes.

What changes where:

  • Text, images, colours and fonts change in both views at once.

  • Sizes (font size too), spacing and position change only in the view you are editing — so you can make the headline smaller on phones without touching desktop.

While you edit the desktop view, a small Mobile preview on the canvas shows how the popup looks on a phone. Click it to switch to the mobile view.

Does anything stick out on a screen size?

The editor's top bar also tells you whether every element fits the popup at the preview screen sizes. A green tick means No overflow on the viewport matrix. If something doesn't fit, you see a warning with the number of affected screen sizes instead, for example 2 viewport.

  1. Click the warning. The list opens with this note: These elements don't fit the popup at the given screen size. Click one to jump to it — usually a smaller font size, a shorter copy or a smaller image fixes it.

  2. Under each screen size (for example 390×844) you see the elements that don't fit, and where — for example sticks out on the right by 12px or cut off by the popup's bottom edge by 8px.

  3. Click an element. The canvas switches to that screen size and selects the element, so you can fix it right there.

When saving, you are also warned if the change caused overflow, for example: Saved, but overflow appeared on 2 viewports (…) - consider undoing or fixing.

💡 Older popups that still have a separate desktop and mobile version work a little differently: a text edit is carried over to the other view automatically, and a message tells you so, with an Undo button. If an edit could not be carried over, you get a warning and a Sync button instead.

💡 Popups in this app come in two formats: card (a centered popup over a dimmed background) and fullscreen. Sidebars, nanobars and sticky bars are not available here.


The six triggers on mobile

1. On exit-intent

The trigger shows the popup when a visitor is about to leave your site without converting — on both desktop and mobile.

2. On click

This one may need a little CSS and HTML knowledge, because you have to identify the clickable element in your site's source.

Use it to show the popup when a visitor taps a particular part of your page — a box, a link, a banner. At that point the popup behaves like a mini landing page. Enter any CSS selector: an element name, a class, an ID, or a combination:

  • a — any link element

  • div.container > a — any link that is a child of a DIV with the CSS class container

  • table > a.delete — any link with the delete class that is a child of a table element

  • #container — an element with the id container

  • #container > * — any element that is a child of the element with the id container

A tap on a child element also triggers the campaign when the child sits inside a matching element.

Note: frequency caps do not apply to this trigger — a click always shows the campaign as long as the targeting rules match.

3. After scrolling

Shows the popup once the visitor has scrolled down at least X% of the page (1–100). This catches active visitors. On a blog, for example, you can sign up readers who scrolled at least 50% of the post — they are enjoying it, so there is a good chance they want to hear about the next one.

4. After inactivity

Shows the popup to visitors who have been inactive for at least X seconds — no taps, no scrolling. Set it to 1 second or more.

5. After a delay

Shows the popup to visitors who have been on the page for at least X seconds. Set it to 0 and it becomes an entry popup, appearing the moment the visitor lands — the card then reads Immediately.

6. On a JavaScript event

Shows the popup after the visitor completes an action none of the other triggers cover. Enter the name of a DOM event you fire from your own code — for example user_login when a registered visitor signs in:

document.dispatchEvent(new Event('user_login', { bubbles: true }))