Pop-up Best Practices That Don’t Hurt SEO or Annoy Shoppers

Pop-ups have a reputation problem, and most of it is earned: offers that cover the page the moment it loads, close buttons the size of a grain of rice, the same discount three times in one visit. Yet a well-timed pop-up is still one of the simplest ways for a small store to collect email addresses or answer a hesitant shopper’s question. This guide covers what Google actually says about pop-ups and search, then the practical rules on timing, size, closing, layout and honesty that keep them on the useful side of the line.

Updated

The two costs of a bad pop-up

A pop-up can cost you in two places. The first is search: Google has said since 2016 that pages where content isn’t easily accessible on arrival from mobile search may not rank as highly, and its current documentation still asks site owners to avoid intrusive interstitials. The second is the shopper. Someone who lands on a product page and has to fight an overlay before they can see the price has a worse first impression of your store, whether or not search rankings ever move.

The good news is that the same habits address both. A pop-up that waits for the right moment, takes a reasonable amount of space and closes easily is one that search guidance and shoppers both tolerate.

What Google says about pop-ups

Google’s position has been set out in three places. It helps to read them together, because each one adds a piece.

  1. The 2016 announcement. In August 2016, Google announced that “after January 10, 2017, pages where content is not easily accessible to a user on the transition from the mobile search results may not rank as highly.” The post stressed that this was “just one of hundreds of signals” and that “a page may still rank highly if it has great, relevant content.”
  2. The interstitials documentation. Google’s current page, “Avoid intrusive interstitials and dialogs,” defines interstitials as overlays on the whole page and dialogs as overlays on part of the page, and says intrusive ones “make it hard for Google and other search engines to understand your content, which may lead to poor search performance.”
  3. The page experience documentation. Google’s page experience guide includes “Do your pages avoid using intrusive interstitials?” in its self-assessment questions. Its FAQ adds that Core Web Vitals are used by ranking systems, while “beyond Core Web Vitals, other page experience aspects don’t directly help your website rank higher,” though they “can make your website more satisfying to use, which is generally aligned with what our ranking systems seek to reward.”

Put plainly: Google doesn’t publish a penalty with a fixed size or timing, and relevance still comes first. But it consistently describes intrusive overlays as something to avoid, and the moment it singled out in 2016 was arrival from search on mobile. That is the moment to protect.

Which pop-ups are risky and which are fine

The 2016 announcement gave concrete examples on both sides. They remain the clearest description of what Google means by “intrusive.”

PatternHow Google described itPractical reading
Pop-up covering the main content“Showing a popup that covers the main content, either immediately after the user navigates to a page from the search results, or while they are looking through the page”Avoid full-content overlays, especially on arrival and on mobile
Standalone interstitial“Displaying a standalone interstitial that the user has to dismiss before accessing the main content”Don’t make people dismiss something before they can see what they came for
Fake above-the-fold interstitial“A layout where the above-the-fold portion of the page appears similar to a standalone interstitial, but the original content has been inlined underneath the fold”A huge promo block that pushes the real content off the first screen counts too
Legal notices“Interstitials that appear to be in response to a legal obligation, such as for cookie usage or for age verification”Listed as not affected, “used responsibly”
Login dialogs for private content“Login dialogs on sites where content is not publicly indexable”Not relevant to most store pages, which are public
Reasonable banners“Banners that use a reasonable amount of screen space and are easily dismissible”The model for a promotional message: small and easy to close

The current documentation adds two “common mistakes” to avoid unless legally required: don’t obscure the entire page with an interstitial, and don’t redirect the user to a separate page for their consent or input. For mandatory interstitials such as age gates, it recommends overlaying the content rather than redirecting, because redirecting every URL to one page removes all but that page from search results.

Rule 1: Don’t interrupt the arrival

The safest single rule is to leave the first view alone. A shopper arriving from search or an ad should see the page they clicked on. That rules out showing a large overlay immediately on page load, particularly on mobile.

Instead, wait for a signal that the visitor has engaged or is finishing up:

TriggerGood forWatch out for
Time on pageGeneral offers once someone has had a chance to readToo short a delay is effectively the same as on load
Scroll depthMessages that make sense after the visitor has seen the content, such as free shipping halfway down a product pageLong pages: pick a percentage that reflects real engagement, not the first swipe
Exit intentLast-chance offers and sign-ups for visitors who are leavingDetection varies by device; avoid any setup that blocks navigation
Show immediatelySmall bars with information that matters to everyone, such as a shipping noticeUse a small format, never a full-screen modal

Exit intent has its own set of trade-offs, especially on touch screens. They are covered in Exit-Intent Popups: How They Work and When to Use Them on Your Store.

Rule 2: Use a reasonable amount of screen space

Google’s documentation recommends banners “that take up only a small fraction of the screen” instead of full-page interstitials, and notes that the same small containers can be reused for things like newsletter sign-up prompts. On desktop, a centered modal over part of the page is common and less disruptive than the same modal on a phone, where it can cover nearly everything.

  1. Prefer bars and corner boxes on mobile. A bar at the top or bottom of the screen, or a small floating box, leaves the content readable.
  2. Design mobile separately. Shrinking a desktop image to phone width usually makes the text unreadable and the close button tiny. Make a mobile version with larger text and fewer words.
  3. Keep the content short. One headline, one supporting line, one button. If a pop-up needs scrolling on a phone, it is too big.
  4. Don’t stack overlays. A cookie notice, a chat bubble and a promotional pop-up on the same screen add up to an interstitial, even if each is small on its own.

Rule 3: Make closing obvious

A pop-up that is hard to close turns a mild interruption into a real annoyance. It is also an accessibility issue. The W3C’s ARIA Authoring Practices Guide pattern for modal dialogs describes the expected behavior: when the dialog opens, focus moves into it; Tab and Shift+Tab stay inside it; Escape closes it; and when it closes, focus returns to the element that opened it, or to a sensible place if that element no longer exists. It also strongly recommends a visible close button.

  1. A visible close control in a predictable place, usually the top right, with enough contrast to see at a glance.
  2. A big enough target. WCAG 2.2 success criterion 2.5.8 (Level AA) sets a minimum target size of 24 by 24 CSS pixels for pointer inputs, with some exceptions such as enough spacing around a smaller target. On phones, more is kinder.
  3. Several ways out. The close icon, a text option such as “No thanks,” the Escape key, and, for modals, a click on the dimmed background.
  4. No disguised close buttons. A “close” that actually opens a sign-up form, or a button whose label says the opposite of what it does, damages trust immediately.

Rule 4: Don’t shift the page

Pop-ups that float over the page, such as modals and fixed bars, don’t move the content underneath. Banners inserted into the page flow can. If a promotional bar appears at the top of the page after it has started rendering and pushes everything down, that movement counts toward Cumulative Layout Shift, one of the Core Web Vitals. Web.dev recommends a CLS score of 0.1 or less, measured at the 75th percentile of page loads.

Web.dev’s guidance on optimizing CLS calls out this exact case: banners and forms that pop in at the top or bottom of the viewport and shift the rest of the page. Its advice is to reserve space for them in advance, or to show them in response to a user interaction; layout shifts within 500 milliseconds of a user input aren’t counted. In practice that means using an overlay or a fixed-position bar for promotions, or reserving the bar’s height in your theme if it is part of the layout.

Rule 5: Never get in the way of navigation

Some pop-up techniques try to catch visitors by intercepting the browser itself. Two of them deserve a clear warning.

  1. Back button tricks. Google’s spam policies list “back button hijacking” among malicious practices: a site interfering “with user browser navigation by manipulating the browser history or other functionalities, preventing them from using their back button to immediately get back to the page they came from.” If pressing Back shows an offer instead of leaving, that is the pattern described.
  2. “Are you sure you want to leave?” prompts. The browser’s beforeunload confirmation exists to protect unsaved work. MDN describes that as its main use case and recommends listening for the event only when there are unsaved changes, partly because, in Firefox, pages with beforeunload listeners aren’t placed in the back/forward cache. A store page with nothing to save has no reason to trigger it.

Also avoid sending visitors to a separate page to collect an email address or consent before they can see the content. Google’s interstitials documentation lists this as a common mistake.

Rule 6: Show it to the right people, once

Many complaints about pop-ups are really complaints about repetition. A sign-up offer is reasonable the first time and irritating the fifth. Targeting does more for the experience than any design change.

  1. Match the message to the visit. Welcome offers for first-time visitors, new arrivals for returning ones, a reminder for people who viewed the cart and didn’t finish.
  2. Limit pages. Leave checkout, account pages and the order-complete page alone.
  3. Respect the source. If someone arrived from an ad with a specific promise, show that promise, not a competing offer.
  4. Stop once they’ve acted. A visitor who signed up shouldn’t be asked again on their next visit.
  5. Cap it at one per visit. Two different pop-ups on the same visit is already a lot.

Rule 7: Keep the offer honest

Pressure tactics work against you over time. In its September 2022 report on dark patterns, the FTC cited “countdown timers designed to make consumers believe they only have a limited time to purchase” as an example of a design meant to trick consumers. A countdown that matches a real promotion end date is fine. One that restarts for every visitor is not.

The same goes for the terms. If the pop-up promises free shipping over a threshold or a percentage off, the checkout must confirm it without surprises: the same threshold, no excluded categories the pop-up didn’t mention, and an expiry date that matches.

Rule 8: Measure the trade-off, not just the clicks

A pop-up always has a cost in attention, so judge it by whether the result is worth that cost. Click and sign-up counts tell you only half the story.

  1. Pick one goal per pop-up. Email sign-ups, coupon redemptions or completed orders, not all three at once.
  2. Record a baseline. Note the conversion rate and engagement on the targeted pages for a few weeks before launch.
  3. Watch engagement on the same pages. If scroll depth or time on page drops after launch, the pop-up may be pushing people away faster than it converts them.
  4. Check search performance separately. In Search Console, compare clicks and impressions for the affected pages before and after, keeping in mind that many other factors move these numbers.
  5. Compare versions one at a time. Change the trigger, the size or the offer, not everything at once, and avoid comparing a quiet week with a sale week.

A pre-launch checklist

CheckPass when
ArrivalNothing large appears the moment a visitor lands, especially on mobile
SizeOn a phone, the main content stays visible around the pop-up, or it is a bar
CloseVisible close control at least 24×24 CSS px; Escape and “No thanks” also work
FocusKeyboard focus moves into a modal when it opens and returns when it closes
LayoutNothing pushes the page content down after load
NavigationLinks, the back button and closing the tab behave normally
AudiencePages, visit type and source are set; checkout and order-complete pages excluded
RepetitionAt most one pop-up per visit; people who already acted aren’t asked again
HonestyDeadlines are real; terms match what checkout shows
MeasurementA goal and a baseline are recorded before launch

How marketingLABO handles these settings

marketingLABO shows pop-up banners from a single tracking tag in your site’s head, alongside heatmaps and visitor history in the same dashboard. Several of the rules above map directly to banner settings:

Best practiceSetting in marketingLABO
Don’t interrupt the arrivalTrigger after a number of seconds on the page, at a scroll percentage, or on exit intent, instead of immediately
Reasonable size on mobileDisplay as a modal, a floating box or a bar; choose all devices, mobile only, desktop only, or separate desktop and mobile images
Right peopleConditions on page URL (with prefix match), visit frequency, days since last visit, pages viewed or not viewed, and traffic source (organic, referral, direct or a URL parameter)
Easy to closeBanners are marked up as dialogs with a close button that works from the keyboard; Escape closes a modal, focus stays inside it while it is open, and a closed banner stays closed for the rest of the tab session
Navigation left aloneExit intent is the mouse leaving through the top of the window on desktop, or a fast scroll back up after reading down the page on phones; it never touches the Back button, history, link clicks or the “Leave site?” prompt
Honest deadlinesA display period with start and end dates, and an optional countdown format
Short, focused contentFormats for image only, image with headline and button, countdown, or email sign-up; 55 English e-commerce templates to start from

There are limits to be aware of. Banner A/B testing isn’t available (A/B testing is offered for forms), and there is no separate frequency-cap setting beyond once per page view, so use visit conditions to keep repeat exposure across visits down and compare banner versions by running them one after another. Impressions and clicks are reported per banner campaign, and the heatmaps and visitor timelines in the same dashboard help you see how a banner fits into real sessions.

Frequently asked questions

Will a pop-up get my store penalized?

Google doesn’t describe a fixed penalty with exact thresholds. Its 2016 announcement said pages with content that isn’t easily accessible on arrival from mobile search may not rank as highly, and called it one of hundreds of signals. Its current documentation asks you to avoid intrusive interstitials. A small, well-timed, easy-to-close pop-up is in line with that guidance.

Are cookie banners affected?

In the 2016 announcement, Google listed interstitials that respond to a legal obligation, such as cookie usage or age verification, as not affected when used responsibly. Its current documentation exempts mandatory interstitials but still recommends overlaying content rather than redirecting to a consent page.

Is a desktop modal acceptable?

Google’s 2016 change focused on mobile, and a modal covers less of a large screen. The same courtesy still applies: wait for engagement, keep it compact and make it easy to close.

What is the best delay before showing a pop-up?

There is no universal number. Base it on your own data: look at typical time on page and scroll depth for the pages in question, and set the trigger so the pop-up appears after most visitors have seen the main content.

Should I use a pop-up at all?

If the message is useful to everyone, such as a shipping threshold, an inline line on the page or a small bar may serve it better. Pop-ups earn their place for messages aimed at a specific audience at a specific moment.

Summary

Protect the first view, keep pop-ups small on phones, make closing obvious and accessible, don’t push the page around, never interfere with the back button or the browser’s close, target carefully and show each person one message per visit. Keep deadlines and terms honest. Those rules line up with Google’s published guidance and with what shoppers expect.

To try these settings on your own store, the marketingLABO Free plan includes analytics, heatmaps and one pop-up banner with no time limit. See the pricing section for the Light and Standard plans, and read our guide to exit-intent popups for more on last-chance offers.

Sources

Google Search Central: Avoid intrusive interstitials and dialogs

Google Search Central: Understanding page experience in Google Search results

Google Search Central Blog: Helping users easily access content on mobile (2016)

Google Search Central: Spam policies for Google web search

web.dev: Cumulative Layout Shift (CLS)

web.dev: Optimize Cumulative Layout Shift

W3C WAI-ARIA Authoring Practices Guide: Dialog (Modal) Pattern

W3C: Understanding WCAG 2.2 Success Criterion 2.5.8 Target Size (Minimum)

MDN: Window beforeunload event

FTC: FTC Report Shows Rise in Sophisticated Dark Patterns Designed to Trick and Trap Consumers (September 15, 2022)

Start free — no credit card needed

Sign up free