Getting started

How to Create a Website Popup: A Step-by-Step Guide

A popup is fifteen minutes of work and about six decisions. This guide walks all six — the job, the offer, the copy, the design, the trigger and the install — so the first one you publish is the one you keep.

📅 Updated August 2026 ⏱ 14 min read ✍️ By ChilliPopup
Creating a website popup in the ChilliPopup drag-and-drop editor, with the design canvas on the left and the block settings on the right

A website popup is a small panel that appears over your page to make one offer — a discount, a newsletter, a reminder, a question. Creating one takes about twenty minutes: choose the job, write the offer, design the card, set when it appears and where, publish it, and paste one script tag into your site.

The hard part is not the tool. It is the six decisions underneath, and most first popups get three of them wrong — they fire on page load, they ask for four fields, and the headline describes the mechanism ("Join our newsletter") instead of the reward. This guide walks each decision in the order you actually make it.

Key Takeaways

  • One popup, one job. If you want two things, build two campaigns and point them at different pages.
  • The headline names the reward, not the mechanism. "Get 10% off" is an offer; "Subscribe" is a chore.
  • One input field. Every extra field is a decision the visitor has to make, and decisions cost conversions.
  • Never fire on page load. Delay, scroll, exit intent or inactivity — give the visitor something to interrupt.
  • Install once, publish forever. A single script tag serves every popup, form, survey and quiz you build afterwards.

What you need before you start

Three things, none of which take long:

You do not need a developer, a design file or a staging site. Everything below happens in a visual editor, and the one line of code is a copy-paste.


Step 1 — Decide the one job the popup has to do

Before you open any editor, finish this sentence: "This popup exists so that a visitor ______." Signs up for the newsletter. Claims a first-order discount. Comes back to an abandoned cart. Tells us why they didn't buy. Sees the shipping deadline.

A popup with two jobs converts on neither. "Join our list and follow us on Instagram and take 10% off" gives the visitor three decisions where they had the patience for one. If two jobs genuinely matter, build two campaigns and use page targeting to keep them apart.

The jobThe popup typeWhere it belongsTypical trigger
Grow the email listSignup popup with a rewardBlog, homepage, collectionsScroll 50% or 8-second delay
Recover a leaving shopperDiscount or free-shipping offerProduct and cart pagesExit intent (desktop), inactivity (mobile)
Announce somethingAnnouncement barSite-wideImmediate — a bar is not an overlay
Learn why people leaveOne-question surveyCart, pricing, checkoutExit intent
Segment your listOne-question quizAnywhere, returning visitorsPage count after 2 pages
Make the offer memorableSpin wheel or scratch cardHomepage, collectionsDelay, then the game does the work

Step 2 — Write the offer before you design anything

Design is the easy part and it is not what converts. What converts is the trade the visitor is being offered, stated plainly. Write these three lines in a text file first:

  1. Headline — the reward. What they get. Not what you want.
  2. One line of body copy — the exchange. What it costs them and what happens next.
  3. Button — the action, in their words. "Send my code", not "Submit".
WeakStrongerWhy
Join our newsletterGet 10% off your first orderNames a reward instead of a mechanism
Sign up for updatesOne good idea every Tuesday. Nothing else.Says what arrives and how often
Don't miss out!Your cart is saved for 30 minutesConcrete, and true
SubmitSend my code →Describes what the click does
Enter your email addressWhere should we send it?Reads like a person, not a database

The 25-word test. Read your whole popup out loud. If it takes longer than five seconds, it is too long — the visitor gives you about that before their hand moves to the close button.


Step 3 — Build the popup

Now open the editor. In ChilliPopup you start from a template and change what you need: every element on the canvas is a block you drag, resize and restyle — text, buttons, input fields, images, shapes, icons, a countdown timer, a coupon code, a YouTube embed, a news ticker, or raw HTML if you need it.

Creating a website popup in the ChilliPopup editor — a headline, one email input and a button on the design canvas, with the block settings on the right

A finished signup popup is usually four blocks: headline, one line of copy, one input, one button.

The anatomy that works

The anatomy of a website popup — close button, headline naming the reward, one line of body copy, a single email input, a button with action copy, and a decline link

Six parts. Anything you add beyond these has to earn its place against the close button.

Size and position

A centred overlay is the loudest option and converts best for a real offer. A bottom-right or bottom-left corner card is the quiet one — lower conversion, far lower irritation, and the right choice for anything running site-wide. A bar across the top is quieter still and never blocks content, which is why announcements belong there.

Check the mobile view before you publish. Phones are where popups go wrong: the keyboard covers half the screen the moment someone taps the input, so the button has to still be reachable, and the close control has to be a real tap target.

Don't skip the thank-you state. Deciding what happens after submit is part of building the popup: show a thank-you screen with the code, close the popup, or send them to a URL. A popup that just vanishes leaves the visitor wondering whether it worked.

If you'd rather start from a prompt

You can also describe the popup in a sentence and let the AI generator produce a first draft — copy, layout and colours — which lands in the same editor for you to fix. It is a faster blank page, not a replacement for the six decisions above.


Step 4 — Choose when it appears

This is the decision that separates a popup people tolerate from one they resent. The rule: the visitor must have seen something worth interrupting first.

Choosing a website popup trigger — time delay, page scroll, exit intent, page count, click count and inactivity, matched to the page type each one suits

Six triggers. The popup appears as soon as the first enabled one fires, so start with one.

TriggerWhat it waits forBest onWatch out for
Time delayN seconds on the page (or in the session)Homepages, landing pagesToo short and it reads as a page-load popup
Page scrollA percentage of the page readBlog posts, long product pagesShort pages hit 50% instantly
Exit intentThe cursor leaving toward the browser chromeProduct, cart and pricing pagesDesktop only — there is no cursor on a phone
Page countN pages seen this sessionCatalogues, content sitesResets between sessions
Click countN clicks anywhere on the pageInteractive pages, configuratorsNoisy on pages with lots of controls
InactivityN seconds without inputMobile, as the exit-intent substituteFires on people who are simply reading

A good default for a first popup: exit intent on desktop, 50% scroll on mobile, built as one campaign with both rules on, or as two campaigns split by device if you want different copy.


Step 5 — Choose where it appears, and how often

Three settings turn a popup from a nuisance into a campaign:

The single most-missed switch: turn off "show again after conversion". Otherwise your existing subscribers keep being asked to subscribe, which makes you look like you don't know who they are.

Advanced targeting adds a date window, an operating-system and browser filter, and a weekday-and-hour schedule — useful for a sale that must not open early, or a "we're open now" offer. Every enabled rule is an AND gate: the popup shows only when all of them pass. For the full breakdown, see the targeting rules guide.


Step 6 — Publish and install it on your site

Publishing and installing are two different things, and this trips people up: a popup only ever serves when its status is published, and the pixel only serves popups on sites where the script is present. Drafts never show, whatever else is switched on.

The script is one tag, pasted once, into your site's <head>:

Paste once into your site's <head>
<script id="chillipopup-pixel"
  src="https://player.chillipopup.com/javascript/pixel.js?id=YOUR_WORKSPACE_ID"
  data-api="https://api.chillipopup.com"
  async="true"></script>

It loads asynchronously, so it never blocks your page, and it serves every popup, form, survey, quiz and game in that workspace — you install it once and never touch it again. On the platforms with a dedicated app you don't even paste it:

Then load a real page and check. If nothing appears: is the campaign published, is the script in the page source, and have you already met the trigger or frequency rule yourself in this browser?

Build your first popup in twenty minutes

Popups, forms, surveys, quizzes and games from one editor — and one script tag. Plans from $15/month with a 14-day free trial.

Start your free trial →

A worked example: a first popup for an online store

Here is the whole thing, end to end, for a store selling homeware.

That is a complete campaign, and the version most stores would be better off with than whatever they are currently running. Everything else — a second field, a second offer, a second popup — is an experiment you run after this one has two weeks of data.


Seven mistakes to avoid on your first popup

  1. Firing on page load. The visitor has seen nothing yet, so there is nothing to interrupt them for — and on mobile arriving from search this is exactly the pattern Google calls an intrusive interstitial.
  2. Four fields "while we have them". Each one is a decision. Ask for the identifier and collect the rest later with progressive profiling.
  3. A headline about you. "Sign up for our newsletter" describes your process. Name the reward instead.
  4. A hidden close button. It converts dismissals into bounces, and it is the single fastest way to make a brand feel cheap.
  5. No frequency rule. The same popup on every page view is how you train visitors to close popups without reading them.
  6. Leaving "show again after conversion" on. Your subscribers keep being asked to subscribe.
  7. Promising a code that doesn't work. Test the code in a real checkout before you publish. A dead discount code costs more trust than the popup ever earned.

What to measure once it's live

Give it two weeks, then read four numbers, all of which sit on the campaign's own analytics page:

Popup analytics for a newly created website popup, showing views, clicks, submissions and conversion rate over time

Views, clicks, submissions and conversion rate — plus a breakdown of the values people typed into each field.

Then change one thing. If you want to know whether the change actually helped, run it as an A/B test rather than swapping the popup and comparing two different weeks.


Create your popup, step by step

The short version, in the order you'll actually do it. If the pixel isn't on your site yet, start with the one-line install guide.

1. Name the one job

Finish the sentence "this popup exists so that a visitor ______". One verb. If you need two, build two campaigns.

2. Pick a template and make the offer concrete

Choose the template that matches the job, then rewrite the headline so it names the reward, and cut the body to one line.

3. Keep it to one input field

Email, or phone if SMS is your channel. Turn on typo checking. Everything else waits for a later campaign.

4. Set the trigger and the pages

Exit intent on desktop, scroll on mobile, and a URL rule so it only fires where the offer makes sense.

5. Set frequency and turn off "show again after conversion"

Switch display frequency on, pick a cooldown, choose the audience, and stop the popup reappearing for people who converted.

6. Publish, then install the script once

Publish the campaign — drafts never serve — paste the tag into your <head>, and load a real page to confirm.

7. Wait two weeks, change one thing

Read views, conversion rate and the collected values. Change the offer or the trigger, not both.

Related reading

Frequently asked questions

How do I create a popup for my website?

Pick the one job the popup has to do, choose a template that matches it, write a headline that names the reward instead of the mechanism, keep it to a single input field, set a trigger and page targeting, publish it and paste one script tag into your site's <head>. In a no-code builder like ChilliPopup the whole thing takes about twenty minutes, and the same script serves every popup you make afterwards.

Do I need to know how to code to make a popup?

No. The only code involved is a single script tag you paste once into your site's <head>, and on WordPress, Shopify, Wix and Google Tag Manager even that is handled by a plugin or app. Everything after that — design, triggers, targeting, publishing — happens in a visual editor.

What should a website popup say?

Name the reward in the headline, explain the exchange in one line of body copy, and put the action in the button. "Get 10% off your first order" beats "Join our newsletter", because one is a reward and the other is a chore. Keep the whole popup under about 25 words and use one input field.

When should a popup appear?

Late enough that the visitor has seen something worth staying for. A five-to-ten second delay or a 40–60% scroll depth works for content pages; exit intent works for product and cart pages on desktop. Never fire on page load — the visitor has not seen your site yet, so there is nothing to interrupt them for.

How many popups should a website have?

One per job, not one per page. Most sites run three to five campaigns in total: a signup offer, a cart-abandonment catch, an announcement bar, and maybe a survey. What matters is that a single visitor only ever meets one of them at a time, which you control with page targeting and display frequency.

Are popups bad for SEO?

Not in themselves. Google's guidance targets intrusive interstitials that cover the main content on mobile immediately after arriving from search. A popup that fires after a delay, a scroll or an exit signal, is easy to dismiss and does not block the page on mobile is outside that pattern. Size it so the close button is reachable and never fire it on page load.