Modal vs Popup vs Overlay: What's the Difference?
What separates a modal, a popup and an overlay, how to make a modal accessible, and which one an online store should use when.
Fifteen popup best practices for online stores, grouped by timing, targeting, design, mobile and testing, with benchmarks from OptiMonk data.
In short
Popup best practices come down to four choices: when the popup appears, who sees it, what it asks for and how it works on a phone. Wait for a signal of interest, show one offer, make closing easy, build a separate mobile version and A/B test against no popup.
You've seen the popup that jumps in before the page has even loaded, and you've probably closed the tab because of it. Yet a well-run popup converts about one visitor in nine, and the best ones convert far more. The gap between the two isn't the colors or the font. It's a handful of decisions made before anyone sees the popup.
Popup best practices come down to four of those decisions: when the popup appears, who sees it, what it asks for and how it behaves on a phone. Get them right for the visitor and the conversions follow. That's also what popup UX best practices are really about: respect the visit first, then ask.
Below are 15 rules in five groups: timing, targeting, design, mobile and testing. Each says why it works for the visitor and how to set it up, followed by the common mistakes and how OptiMonk applies these website popup best practices by default. If you want to see what the rules look like in a finished design, browse the Popup Library for ideas from real store styles.
Popup best practices are the rules that keep a popup useful instead of annoying: show it after the visitor has engaged, to the visitors it fits, with one clear offer, a short form and an obvious close button. On mobile, use a smaller, separate version. Then test each change against a no-popup control.
The first three groups cover when, who and what. Mobile gets its own section because a phone changes all three, and the last group proves what works on your own traffic. These popup tips apply whatever you sell. Layout questions, like how big a popup should be on a desktop screen, are covered in our guide to website popups.
Across OptiMonk's data, the average popup converts at 11.09%. The top 10% of popups average 42.35%. Those numbers come from our popup statistics, and they're higher than many store owners expect.
For comparison, Klaviyo's help center tells its users to aim for a submit rate of about 3% or higher for signup popups. Both numbers can be true at once, because the use case changes everything. In our data, cart abandonment popups (exit intent shown to visitors with items in the cart) convert at 17.12%, while simple newsletter popups with no incentive convert at 5.10%.
So judge your popup against others of the same kind. A newsletter popup at 6% may be doing well; a cart exit popup at 6% has room to grow. The rules below are how you close that gap.
Timing is where most popups lose visitors. Nielsen Norman Group's research on popups puts it plainly: never show a popup before users can glean value from your site. The four rules in this group are about earning the moment. For timing settings by visitor type, see our guide on when to show a popup for each visitor.
A first-time visitor who gets a popup before the page loads has no reason to trust you yet. Give them a moment with your content first: show the popup after they've scrolled part of the page, spent some time on it or viewed a second page.
If you'd rather not interrupt at all, put the offer on the page instead. A button or link like "Get 10% off" can open the popup with an on click trigger, so visitors see it only when they ask for it. In OptiMonk, an on click popup shows whenever it's clicked and the targeting matches, even if the visitor has already reached the frequency limit.

Exit intent shows the popup when a visitor is about to leave: the cursor heads for the tab bar on desktop, or a similar signal on a phone. You don't interrupt anyone who's still browsing, and you get one last chance with people you were about to lose.
It works best when there's something at stake. Shoppers with items in their cart are the clearest case, which is why cart abandonment popups have the highest average conversion rate in our data. Remind them what they're leaving behind, and if you offer an incentive, make it about finishing this order.

Seeing the same popup on every page view turns a good offer into noise. Set a limit per visitor, a wait between two appearances, and stop showing the popup once the visitor has converted.
OptiMonk's defaults for a new campaign already do this: at most one appearance per visitor, at least one hour between appearances, and no more appearances after a conversion. You can also stop it after the visitor closes it. If you want a second chance with people who weren't ready, raise the limit a little and space the appearances a few days apart rather than a few minutes.
Two popups stacked on top of each other make a site look disorganized, and each one costs the visitor another click to get rid of. NN/g lists stacked popups among the most problematic trends it found. Decide which message matters most on each page and let the others wait for another page or another visit.
If you run several campaigns, give them a shared ceiling. OptiMonk's User Experience Protector is an account-wide cap on how many campaigns a single visitor sees, with a Safe setting that puts the visitor's experience first and a Normal setting that balances it with reach.
The same popup shown to everyone is relevant to almost no one. A first-time visitor, a loyal customer and a shopper with a full cart want different things. Segmenting by behavior is the fastest way from a generic popup to personalized popups.
New visitors don't know your products yet. A welcome offer works, but so does a single question or a short quiz: "What are you shopping for?" Their answer tells you what to show next.
Returning visitors already know you. Repeating the welcome offer wastes the moment. Show them the products they looked at last time, a new arrival in a category they browsed, or a reason to come back to an abandoned cart. Excluding subscribers also stops you from offering a first-order discount to people who've already ordered.
Relevance depends on where the visitor is. In a case study Unbounce published in 2017, Canvas Factory's discount popup converted at 0.18% on its blog and at up to 11% on its product pages: the same offer, shown to people in a very different mindset.
Think in terms of cold and hot visitors. Cold visitors are still exploring, so ask for an email in exchange for something useful, like a guide or a style quiz. Hot visitors are close to buying, so give them a reason to buy now. Traffic source and location help you tell them apart: visitors from a social ad may need an introduction, while visitors from a branded search already know you. If you ship internationally, show each country the shipping offer that applies to it.
Cart value and cart contents are the most precise signals a store has. If a shopper is just under your free shipping threshold, a popup can tell them how close they are. If the cart holds a product that pairs well with another, suggest the pair.
In OptiMonk, cart rules work on Shopify, WooCommerce and Magento, and the cart is detected automatically.
Design decides whether visitors read the offer or close it on reflex. The rules here are about clarity more than looks. For layouts, colors and dozens of examples, see our full guide to popup design best practices.
Before you design anything, decide what the popup is for: growing your email list, saving abandoned carts, selling a second item or getting feedback. A popup that tries to do two of those does neither well. Pick one goal, make one offer and give visitors one button to act on it.
Write the button in the visitor's voice. In our popup design report, which measured 952 Popup Library concepts made in the style of 379 real stores, 45% of the call-to-action buttons speak as the visitor, like "Get my discount". A real deadline sharpens the offer too: in our data, popups with a countdown timer average 14.41%, against 9.86% for those without. Seasonal offers give you that deadline naturally, and they keep a year-round discount from going stale.

Visitors decide in a glance whether a popup is worth reading. A short headline that states the benefit helps them decide fast. In the same design report, the median headline is four words long, and 80% of the headlines use five words or fewer. That's how popups are designed, not a performance score, but it's a useful length to aim for.
A popup should also look like it belongs to your site: your colors, fonts and logo, with a little of your brand's personality. A popup that looks borrowed from another site feels like an ad. OptiMonk's AI agent reads your brand from your site, so every popup starts in your colors, fonts and logo.
Every extra form field is one more reason to close the popup. Ask for an email address, and add a second field only if you'll really use it.
If you need more, split it up. A multi-step popup asks for the email first and the rest on a second step, after the visitor has already said yes. Or flip the order and start with an easy question, then ask for the email once the visitor has engaged. A quiz works the same way, and it also tells you what each subscriber wants.

A visitor who can't find the close button doesn't convert. They leave. Put a clear X in the corner, let a click outside the popup close it, and make sure it closes with the keyboard too, so every visitor can get out.
Keep the decline link respectful. "No thanks" or "Maybe later" is enough. Lines like "No, I'd rather pay full price" try to shame the visitor into saying yes. Unbounce calls this confirmshaming and lists it among the common website popup mistakes. It may win a click, but it costs trust.
Mobile is where popups are easiest to get wrong and where they can do best. In our data, popups convert at 11.07% on mobile and 9.69% on desktop. A phone isn't a worse place for a popup. It's a different place, and a desktop popup shrunk to fit doesn't respect that. For more examples, see our guide to mobile popups.
A desktop popup squeezed onto a phone usually breaks in small ways: the text wraps into a wall, the image pushes the button below the fold, and the close button lands out of thumb reach. Design the mobile version on its own.
On a phone, use fewer words than on desktop, a smaller image or none at all, and a larger font. Keep the button full width so it's easy to tap. Check the mobile version on a real phone before you switch it on, not only in a preview.
Timing deserves its own setting too. Visitors use a phone differently: they scroll faster, switch apps and leave with a swipe. Set the mobile trigger separately from the desktop one. For example, use exit intent on desktop and a short browsing delay or a scroll depth on mobile. In OptiMonk, every popup gets a separate mobile version, and exit intent works on both desktop and mobile.
On a small screen, a popup that fills the whole page hides everything the visitor came for. Google's guidance on intrusive interstitials says: "Don't obscure the entire page with interstitials." Interstitials that are legally required, like an age gate, are the exception. A smaller card at the bottom of the screen leaves the page visible and sits where thumbs already are.
A few mobile rules that make the difference:
These mobile popup best practices take minutes to apply and protect the visitors most likely to leave.
No best practice beats your own data. The last two rules are about checking what works on your traffic and following up with visitors you didn't win the first time. A/B testing is how you check.
Change one thing per test: the headline, the offer, the image or the popup type.
Also test against no popup at all. A control group that sees nothing tells you what the popup actually adds, not just which version wins. In OptiMonk you can test copy, offers, whole designs or different campaign types, keep a Control (no popup) group, and let the winner be declared automatically once the results are clear. The agent also suggests test ideas, and if you pick two concepts when you create a popup, OptiMonk runs them as an A/B test from the start.
Closing a popup doesn't always mean "no". Sometimes it means "not yet". Show a smaller reminder later in the visit or on the next visit, once, and don't show it again if they close it a second time.
Visitors who took a discount need a follow-up too. Some forget the code before they reach checkout. A short reminder popup on the cart page, showing their code, brings them back to the purchase. On Shopify, OptiMonk can give each visitor a unique code and apply it at checkout automatically, so there's nothing to copy or remember.
Most bad popups break one of the rules above. These five are the ones visitors notice first:
For the full list with examples, read about the 10 most common popup mistakes.
OptiMonk is an agentic popup builder for ecommerce stores. You describe the popup you want in one sentence, and the AI agent asks a few questions about your store, offer and moment. In about a minute it draws four concepts on brand, in your colors, fonts and logo. You pick one, and the agent builds it, writes the copy and builds a separate mobile version.
It also suggests the targeting: the trigger, the audience and how often the popup appears. The popup is created switched off, so you check those settings against the rules above and turn it on yourself.
After launch, the agent suggests A/B test ideas and compares each one to your current popup, with a no-popup control if you want one. Besides card and fullscreen popups, you can run quizzes, lucky wheels, scratch cards and countdowns. See how the agentic popup builder works step by step.
Show it at the right moment, to the right visitors, with one offer. Wait for a sign of interest such as a scroll or an exit, target by visitor type or cart, keep the form to one or two fields, and A/B test it against no popup.
Once per visitor is a safe default, and it's OptiMonk's default for new campaigns, with at least an hour between appearances and no repeats after a conversion. If you want a second chance, show it a couple of times, a few days apart, and stop once the visitor closes it.
A popup that covers the entire page and hides the content can. Google's guidance asks sites not to obscure the whole page with interstitials, apart from legally required ones like age gates. A smaller popup that leaves the content visible, or one that appears after the visitor has engaged, is a much safer choice.
Build a separate mobile version with shorter copy and a large button, cover only part of the screen, keep the close button within thumb reach and set a mobile trigger of its own. Then check it on a real phone before you turn it on.
One, two at most. An email address is usually enough. If you need a phone number or preferences too, use multi-step popups: ask for the email first and the rest on the next step.
Most online stores benefit from at least one, like a welcome offer or a cart exit popup. But a popup is a trade: it asks for attention in return for value. Our guide on when popups make sense helps you decide where they fit on your site and where they don't. These best practices for popups apply once you've made that call.
You don't need all 15 rules on day one. Pick the popup that matters most to your store, usually a welcome offer or a cart exit popup. Apply the four timing rules first, then measure it against a no-popup control for a couple of weeks.
Describe your first popup to the agent in one sentence. Create your free OptiMonk account: every new account starts with a 14-day trial, then a free plan with 5,000 pageviews a month.
Free to start. No credit card.

What separates a modal, a popup and an overlay, how to make a modal accessible, and which one an online store should use when.

50 CTA button texts for online stores and popups, grouped by the shopper's moment, plus what makes a button worth clicking.

40 website welcome message examples for online stores, grouped by situation and industry, ready to copy into a welcome popup.

