Skip to main content

How to preview and test your Alia popups

Test your popup in the popup editor, then preview it on your store to check forms, triggers, and both devices before you publish.

Written by Rob D

You can test your popup in two places before you publish it: in the popup editor while you build, and on your store with Preview. Use the popup editor for quick checks as you go, and Preview to test forms, triggers, and devices the way visitors will see them.

How to test your popup in the popup editor

The canvas in the middle of the popup editor shows your popup as visitors will see it, and updates as you make changes. You can select buttons, move between steps, and type into fields. Nothing you enter on the canvas is submitted.

To check your popup on each device, use the Mobile and Desktop switch at the top of the left sidebar. As you build, check that:

  1. Every button, such as "Claim offer," "Subscribe," or "Next step," leads to the right step or action.

  2. Multi-step popups, such as a quiz or a lead capture flow, move through each step in the right order.

  3. Form fields behave as expected when you type into them.

  4. The layout, spacing, and overall look work on desktop.

  5. The popup fits on mobile, where there's less room and visitors tap instead of click.

  6. Buttons and other tap targets are big enough, and far enough apart, to tap easily with a finger.

Two things only work in Preview, not on the canvas:

  • Custom code: scripts in Custom code elements don't run in the popup editor.

  • Prism: the canvas shows the first variant, or the variant you selected in the element tree, without checking the rules.

How to preview your popup on your store

Preview opens your store in a new tab with your popup's latest saved version, so you can test it exactly as a visitor would, including animations, entry effects, and close behavior.

  1. In the popup editor, select Save.

  2. In the top bar, select Preview.

  3. Your store opens in a new tab, and your popup appears when one of its triggers fires.

Popup editor top bar with the Preview button next to Publish.

If Alia doesn't know your store's address yet, Preview opens Embed Alia instead, which walks you through adding Alia to your store.

In preview:

  • Targeting is skipped. You see the popup even if you wouldn't normally qualify, such as a "new visitors only" popup after you've signed up. Targeting only applies to visitors once the campaign is live. See How to check who sees your popup in this article.

  • Triggers still apply. The popup opens when one of its triggers fires, such as after a time delay or on exit intent. If you've already seen it, its "trigger again" limit can stop it from opening again. Try a private browser window.

  • Your draft theme is used, so you can check theme changes before you publish them.

  • Forms really submit, so you can test the whole flow, including your integrations.

💡 Tip: Previewing an embedded form? Preview opens your form on a blank page. To see an embedded form in place on your storefront before you publish it, see Previewing your Embedded Form before publishing.

To preview a specific Prism variant, select the link icon (Copy preview link) next to the variant in the element tree, then open the link.

How to test your forms

If your popup collects contact details, test the full signup flow in Preview so you don't lose signups to a broken form.

  1. Fill out every field with realistic information, the way a visitor would. This helps you check field lengths, input types, and how your integrations handle the data.

  2. Leave a required field empty and try to submit. Check that an error message appears and the form doesn't submit until the field is filled in.

  3. Enter invalid email addresses, such as "test", "test@", and "test@com", then a valid one, such as john.doe@example.com. Check that the invalid ones show an error and the valid one is accepted.

  4. Read each error message. It should be clear and tell the visitor what to fix, such as "Please enter a valid email address" or "This field is required."

  5. Submit a valid entry. Check that the reward screen or next step appears, or that the visitor is sent to the right page.

  6. Check that the signup reached your email or SMS tool, or your CRM.

💡 Note: Signups in preview are real. They're sent to your integrations and run any Execute code on signup action, so use an email address and phone number you'll recognize. Discount codes are the exception: preview shows a placeholder code (ALXXXXXXXX…) and never creates a real one, so test a real checkout on your live popup.

How to check your popup on mobile and desktop

Visitors whose browser window is 1,024 pixels wide or wider see the desktop version. Anyone narrower sees the mobile version, and a tablet held sideways can count as desktop.

  • In the popup editor: switch between Mobile and Desktop often, so you catch layout problems early.

  • In preview: open the preview on a real phone or tablet, or resize your browser window across 1,024 pixels to see both versions.

  • Touch: on a phone, check that every button, link, and form field responds to a tap.

  • Text: check that text is easy to read on small screens, with no tiny fonts, awkward line breaks, or cut-off words.

  • Input text size: keep the text in form fields at 16 pixels or larger. On iPhones, smaller input text makes the page zoom in when a visitor taps the field, which can push the popup off the screen.

How to check your popup with Lia

Before you publish, ask Lia to check your popup for problems that are easy to miss. Then preview it to confirm subtle visual details like image fit and alignment yourself.

What Lia checks for

  • Mismatched offers between your floating button and your popup, for example, the floating button says 15% off while the popup steps say 10% off.

  • Mismatched offers across steps, for example, the first step promises free shipping, but the success step shows a discount code.

  • A close button visitors can't click, for example, when an image or another element sits on top of it.

  • How your popup looks on smaller screens. Lia checks a small phone and a small laptop screen, so she can catch text or images that get cut off even when the popup looks fine in the editor.

  • Other inconsistencies in your popup that might confuse visitors.

How to run the check

  1. Finish your edits in the popup editor.

  2. Select the arrow next to Publish (or Mark as ready), then select Review popup.

  3. Review what Lia finds, then fix any issues before you publish.

The Publish dropdown in the popup editor with Review popup selected.

Run the check right before you publish, after all your edits are done. If you make more changes afterward, run it again so Lia reviews the final version. You can also ask for a check anytime in the Lia chat panel, for example: "Check this popup for consistency before I publish it."

How to check who sees your popup

Preview skips targeting, so check your campaign's targeting separately before you publish. Targeting decides who sees the popup and on which pages, and the popup's triggers decide when it opens.

Show your popup on specific pages

  1. In Alia, go to Campaigns.

  2. On the campaign card, select Targeting.

  3. Select Select a filter, then select Is on page(s).

  4. Enter the page path or URL. Choose Contains unless you need one exact page, since product URLs often have extras like ?variant= that make an exact match fail.

  5. Select Save.

You can also describe the audience in the box at the top of Edit targeting, such as "Only show on product pages," and select Generate. Alia shows the proposed changes before applying them. Select Accept changes, then Save.

Other ways to control who sees your popup

  • Show the popup again after a set time: by default, a popup opens only once per visitor. To show it again, open the Triggers tab in the popup editor, turn on If closed, trigger popup again after..., and choose a wait, such as 10 days.

  • Hide the popup from existing subscribers: new campaigns target New visitors, which leaves out returning visitors. A returning visitor has signed up through Alia before, is recognized by a marketing tool's cookie, arrived from an email or SMS link, or has visited an /account or /thank_you page.

  • Recognize subscribers from your other tools: the Returning visitors rule counts visitors with a UTM source or medium of klaviyo, email, sms, or text. If you send email or SMS with another tool, add its UTM values, such as utm_source=omnisend, to the Returning visitors rule under Campaigns → Targeting rules.

  • Show the same popup to every visitor: remove the New visitors condition from the campaign's targeting. A rule with no conditions matches everyone. If you also run a separate campaign for returning visitors, turn it off.

  • Target returning visitors separately: create a campaign whose targeting uses In targeting rule or campaign → Returning visitors, so returning visitors get their own message instead of the same popup again.

Testing best practices

  • Test early and often. Test as you build, especially after big changes to the layout or how the popup works, instead of waiting until it's finished.

  • Use realistic data. Realistic names, emails, and phone numbers show how your forms and integrations handle real signups.

  • Think like a first-time visitor. Check that the popup is clear, easy to use, and worth signing up for, and remove anything that gets in the way.

  • Test edge cases. Try closing the popup right away, submitting an empty form, or moving quickly between steps, and check that the popup handles each one.

  • Check other browsers. If your audience uses a mix of browsers, check your popup in Chrome, Firefox, Safari, and Edge.

  • Review targeting and triggers regularly. As your campaigns change, check your targeting rules, UTM values, and how often each popup shows again.

Frequently asked questions

I selected Preview, but my popup didn't appear. What should I check?

Check these in order:

  1. You saved your latest changes. Preview shows the latest saved version.

  2. The popup's trigger has fired. For example, a time delay popup opens after a few seconds, and an exit intent popup opens when you move your mouse off the page or scroll up quickly.

  3. You haven't already seen it. If the popup doesn't show again after you've seen it, open the preview in a private browser window.

  4. Another popup isn't open. Only one popup can be open at a time.

Does preview create real discount codes?

No. Preview shows a placeholder code (ALXXXXXXXX…) and never creates a real one. To test a real code at checkout, use your live popup.

Will a test signup in preview reach my email or SMS tool?

Yes. Forms in preview really submit, so signups reach your integrations. Use an email address and phone number you'll recognize, so you can find and remove your test signups.

Why doesn't my custom code work in the popup editor?

Scripts in Custom code elements don't run on the popup editor's canvas. Use Preview to test them on your store.

Why does a tablet show the desktop version of my popup?

The desktop version shows whenever the browser window is at least 1,024 pixels wide, which includes many tablets held sideways.

Still have questions?

Start a chat from inside the Alia app, or use the chat in our Help Center.

Did this answer your question?