Cosmero docsPre-release

Newsletter popup

4 min read

An email sign-up form that opens on its own: a card in the middle of the screen on desktop, a sheet from the bottom on phones. Cosmero places it in the footer group, so it can open on every page, and keeps it off until you turn it on. Each sign-up is saved as a customer in your Shopify admin under Customers, subscribed to email marketing and tagged “newsletter” and “popup”.

The section is already in the footer group. To turn it on:

Online Store → Themes → Customize

  1. In your Shopify admin, go to Online Store → Themes and select Customize on Cosmero.
  2. In the footer group at the bottom of the sidebar, select Newsletter popup. The popup opens in the preview while the section is selected, and closes when you select another one.
  3. Turn on Enable popup, then select Save.

If you removed it, select Add section in the footer group and choose Newsletter popup. It can’t go in the header.

You can also add a popup to a single template, such as the home page. Only one popup opens on a page: on the pages that use that template, its popup takes the place of the footer group’s, so visitors never get two in a row. All your popups also share one record of when a visitor last saw a popup (see Show again after).

  • Enable popup: lets the popup open in your store. It’s off by default. While it’s off, the popup still opens in the theme editor when you select the section, with a “Preview only” note.
  • Image: shows beside the text on desktop, and is left out on phones. Without an image, the desktop card is narrower, so lines stay easy to read.
  • Heading: the heading at the top of the popup.
  • Text: tell visitors what they get when they sign up.
  • Consent text: shows under the form. Tell customers how you use their email, and add a link to your privacy policy.
  • Success message: the message the popup shows after a sign-up (default “Thanks for subscribing.”).
  • Discount code: a code shown after a sign-up, with a copy button that copies it, or selects it when the browser can’t copy. Create the code in Discounts in your Shopify admin first.
  • Open after: how many seconds after the page starts loading the popup opens, from 0 to 60 (default 8).
  • Open after, on mobile: the same for screens under 750 px wide, from 0 to 60 (default 15). There the popup opens as a sheet from the bottom, so give visitors longer to look around first.
  • Show when visitors are about to leave: desktop only. Opens the popup when the pointer leaves the page toward the browser’s tabs or address bar, but not in the first 3 seconds after the page loads. On by default.
  • Show again after: once a visitor has seen one of your popups, none of them opens again for this many days, from 1 to 90 (default 30). All your popups share this record, the footer group’s and a template’s own alike, so a visitor who closed one doesn’t get another. When they have different numbers of days, the highest counts. Their browser remembers, and a popup seen in another tab counts too.
  • Color scheme: the popup’s colors (default Scheme 1, white). You edit color schemes in Theme settings.
  • The popup never opens on the cart, password, gift card or 404 pages, or for signed-in customers who already accept marketing. After a visitor signs up, in a popup or in any newsletter form on a page where a popup can open, no popup opens on its own in that browser again.
  • When its delay is up, it waits while the visitor is typing in a field, while the mobile menu, a drawer such as the cart or another dialog is open, and while the browser tab is in the background.
  • When the browser can’t remember that the popup has shown, as in some private windows, the popup doesn’t open on its own at all.
  • Visitors close it with its close button, the Esc key or a click outside it.
  • When a visitor sends the form, the popup closes. Shopify can ask a visitor to confirm they’re human when they sign up, and closing the popup keeps that check from being hidden behind it.
  • The page then reloads, and the popup opens again at once on your Success message, with the Discount code if you set one. When the email address isn’t accepted, it opens again on the error instead, so the visitor can correct it.

Still stuck? We answer.

Contact support