Practical guide

Create a website popup without rebuilding your site.

The hard part is not the window itself. It is the message, the timing and the next action. Here is how to add a useful popup, with or without code, without turning your site into an interrupted journey.

Before you start

A website popup is not a new page.

A popup is an element layered over your page to highlight one piece of information, offer, resource or action. It can appear after a delay, on scroll, on a specific page or when a behavior suggests that help could be useful.

Creating a popup without coding can mean using a visual tool, a CMS module or a ready-to-paste script. In every case, you still need to decide what to say, who should see it and when. Technology cannot fix a message that arrives too early or asks for too much.

Three ways to do it

Choose the level of control you need.

Start with the simplest method for your site. You can always move to a more custom integration later.

01Fastest to test

A no-code tool

Build the message in an interface, choose the pages and trigger, then install a small script. This works well when you want to test a popup without building a full component.

A good fit for a marketing team, a brochure site or a first hypothesis.

02Most integrated

A CMS module

WordPress, page builders and some ecommerce platforms offer popup blocks or extensions. Check targeting, closing, mobile and measurement options before choosing one.

A good fit when your site already lives in a CMS and the module covers your use case.

03Most flexible

A custom component

With HTML, CSS and JavaScript, you control the rendering and behavior. You also need to handle accessibility, responsive layout, loading, closing and display frequency.

A good fit for a specific requirement or a team that wants the logic in its own codebase.

The simple method

Create your first popup in 5 steps.

An effective popup starts with a content decision. Installation comes next.

1

Define one action

Choose what you want to help someone do: read a resource, compare an offer, request a demo, book a call or start a journey.

2

Choose the page and moment

A pricing page, article and homepage have different intent. Connect the popup to a context: arrival, scroll, delay, click, inactivity or exit.

3

Write a short message

Say what the visitor can get and why it helps now. A title, one sentence and a clear button are often enough.

4

Add the script or module

With an external tool, paste the script into the area provided by your site. With a CMS, add the block or extension. With custom code, make the component available on the selected routes.

5

Test before measuring

Check mobile, closing, buttons, links, loading and frequency. Then measure views and clicks while keeping the page goal as your reference.

The settings that matter

Let the trigger follow intent.

A popup does not need to appear on arrival to be seen. Give it a rule that matches the moment when it becomes useful.

01

Page or area

Show a message on pages where it answers a real question. Avoid broadcasting it everywhere by default.

02

Trigger

Choose arrival, delay, scroll, inactivity, click or exit intent according to the scenario.

03

Proposed action

Keep one primary button. The visitor should understand what happens after the click.

04

Closing and frequency

Make closing obvious and avoid showing the same message on every page or every visit.

Depending on your site

WordPress, Webflow, Wix or a custom site: the principle stays the same.

Installation changes, but the core work does not: one script or component, display rules and a message that respects the page.

01

WordPress

Use an HTML block, an extension or your theme’s custom-code area. Make sure the solution does not load the popup on every page without targeting.

02

Webflow, Wix and Squarespace

Look for the area intended for global scripts or embedded code. Available options may depend on your plan and template.

03

Next.js or a custom site

Add the script to the layout or component intended for third-party scripts, then limit it to the routes that need it. Do not block the main content.

Built for sites that need a clearer next step

A tool that adapts to your site.

Don't Leave fits SaaS products, stores, service businesses and content sites that want to guide the next action without rebuilding the site.

SaaS, ecommerce and services

Offer a demo, an answer, a resource or an offer based on the context of the visit.

One line on your stack

Add the script to any site that accepts a small snippet: Next.js, WordPress, Shopify, Webflow and more.

Metrics you can understand

Track message views and clicks, with clear explanations of what data is collected.

Before you publish

A popup should improve the page, not cover it.

A conversion lift does not make up for a frustrating experience. Check these points before putting the message in front of visitors.

Keep SEO in mind

On mobile, do not hide the main content behind a hard-to-close interstitial. The message should remain secondary to the page the visitor came to read.

Read Google’s guidance
01

Design for mobile first

The popup should fit the screen, stay readable and keep its close control easy to reach.

02

Do not block arrival

Let visitors understand the page before asking for a new action, unless the context genuinely calls for it.

03

Keep one goal

Two buttons, several offers and a long explanation quickly turn help into another decision to make.

04

Make closing obvious

People should be able to continue browsing without searching for a way to dismiss the message.

05

Measure without overreading

One isolated click is not enough. Compare popup behavior with the page goal and the quality of visits.

Frequently asked questions

Answers before you create your popup.

How do I create a popup without coding?

The simplest route is a no-code tool or a module built into your CMS. Define the message, page and trigger, then add the script or block provided by the solution. Even without development, test the mobile layout and closing behavior.

Where should I paste a popup script?

It depends on your site. Use the area intended for custom or global scripts, usually in the layout, theme or CMS settings. If you are unsure, ask whoever maintains the site instead of editing a random file.

Does a popup work on WordPress, Webflow or Wix?

Yes, when the platform lets you add a script, HTML block or compatible extension. Details vary by theme, plan and permissions. Always test on a real page before publishing it everywhere.

Which trigger should I choose for a website popup?

Match it to the goal: scroll for a resource related to reading, a delay to give someone time to understand, a click to extend an action, or exit intent to offer one relevant alternative before they leave.

Is a popup bad for SEO?

The format is not automatically bad for search. The risk comes from an interstitial that hides the main content, especially on mobile, or from a script that seriously harms the experience. Keep important content accessible and the popup easy to close.

What is the difference between a browser popup and a website popup?

A browser popup is opened by the browser, such as a new window. A website popup is an element embedded in the page and usually controlled with HTML, CSS and JavaScript. Contextual messaging generally uses the second format.

Move from theory to your page

Start with one useful message.

Don't Leave is designed to add contextual messages without rebuilding your site. Join early access if you want to test the right moment with your visitors.

Request access