You will learn

Learn how to design your mobile sign-up forms with Klaviyo's best practices in mind so you can ensure your popup and flyout forms are optimized for mobile visitors.

Online shoppers are increasingly using their mobile devices to discover new stores, browse products, and make purchases, so it’s more important than ever to make sure your website looks as good on mobile as it does on desktops, and that includes your sign-up forms.

Before you begin

In Klaviyo, you can create forms that show on all devices (meaning they're visible on desktop and mobile devices), or you can create mobile-only forms that only show on mobile devices.

If your form is set to show on all devices, Klaviyo automatically optimizes some elements, such as font sizes and images, to improve its appearance for shoppers on mobile devices. This guide will cover additional best practices to keep in mind. Use the view selector in the top right corner of the form builder to switch between desktop and mobile views as you build your form. The desktop icon will show what the form looks like for desktop shoppers, while the mobile icon shows what mobile shoppers see.

This guide will cover best practices for creating popup and flyout forms that appear on mobile devices. These are helpful regardless of whether your form shows on all devices or mobile only. For a more in-depth overview about sign-up forms specifically on mobile devices, head to basics: mobile form design.

General form best practices

Many of the best practices for desktop forms apply to mobile devices as well:

  • Keep it short and sweet: consider a multi-step form if you have a lot of fields.
    • If your form collects email and SMS consent, collect email on the first step, followed by SMS on the second step. Use Smart Opt-in for an easier mobile opt-in experience. Smart Opt-in requires SMS to be enabled in your account and a paid SMS plan; see the linked guide for setup requirements.
  • Make sure it’s easy to close, so visitors don’t get frustrated and leave your site.
    • Using a form teaser lets shoppers reopen a form they have closed. Set the teaser to Show after form is closed or Show before displaying form and after form is closed.
  • If your form is set to display on all devices (meaning desktop and mobile shoppers will all see it) and includes a side image, keep the image set to Desktop in Edit styles > Side image. This hides the side image on mobile devices, leaving more room for your form content.
  • Use concise labels for each of your input fields (e.g., email address, phone number, etc.) that fit on a single line so shoppers can easily see what information you're asking for.

SEO and mobile forms

It’s important to consider mobile SEO best practices, particularly when creating forms on your homepage or other landing pages. Forms that appear on common organic search landing pages shouldn’t cover up your site’s content or disrupt a visitor’s experience; otherwise, the page may be penalized by search algorithms. Learn more about intrusive interstitials and SEO.

To avoid this:

  • Open Targeting & behavior > Display. Under Timing, set Show form to Based on rules, turn on After time delay, and enter the delay in seconds. If you enable other timing rules, turn on Only display if all selected conditions are met so another timing rule does not display the form before the delay has passed.
  • Add a teaser and set its display option to Show before displaying form and after form is closed.

Optimizing popups

A popup form appears in the middle of a shopper's screen, often covering much of the page and hindering their ability to interact with other elements of the page while the form is open. This makes popups more disruptive, but also higher-converting.

To optimize how popups function on mobile devices:

  1. Disable the form from closing when a mobile shopper clicks outside the form's area to decrease accidental form closures.
    • Navigate to Targeting & behavior > Display.
    • Scroll down to Click outside form to close.
    • Deselect On mobile to prevent taps outside the popup from closing it.
The Click outside form to close menu within the Devices section for an example form showing On desktop toggled on and On mobile toggled off.
The Click outside form to close menu within the Devices section for an example form showing On desktop toggled on and On mobile toggled off.
  1. Make sure your form's close icon (the X button) is large enough, even on a small screen like a mobile device.
    • Click on the close icon in the form preview to adjust its size.
    • Test how the form looks on your own mobile device to ensure it's easy to find and click.
      For example, the close icon in the form on the left may be hard to click on a mobile device. However, the close icon in the form on the right is larger and easy to find.
Two example forms side by side with the close icon slightly larger in the image on the right.
Two example forms side by side with the close icon slightly larger in the image on the right.
  1. Visually separate your popup from the rest of your site, using an overlay color, a drop shadow, or both.
    • Select Edit styles to open the Styles panel.
    • In the Overlay color section, choose a semi-opaque color to draw focus to your form and dim your site’s content while the form is open.
    • Configure a Drop shadow to provide subtle shading around your form to separate it from the surrounding content.
  2. Adjust the margins of your form so it looks more like a popup form on mobile devices and doesn't run edge-to-edge.
    1. Select Edit styles, then scroll down to Margin.
    2. Increase the horizontal margins based on how the form looks in the mobile preview.

Close-icon styling, overlay color, drop shadow, and margin changes apply to both desktop and mobile versions of your form. The On mobile dismissal option only affects mobile visitors.

Optimizing flyouts

When a flyout form appears, mobile visitors are still able to interact with your site behind the form, unless Mobile overlay is turned on. They can choose to close the form, fill it out, or leave it open as they continue browsing. In general, this makes flyouts less intrusive than popups.

To optimize your flyout form for a mobile device:

  1. Set your form to fly out from the top or bottom of the screen.
    • Select Edit styles to open the Styles panel.
    • Select Mobile flyout position, then choose either Dock to bottom or Dock to top.
      On mobile devices in portrait orientation, your form will fly out from the top or bottom of the screen and cover a portion of the screen from edge to edge. In landscape orientation, it uses the regular flyout position.
The Mobile Flyout Position in the Styles tab for an example flyout form set to Dock to Bottom.
The Mobile Flyout Position in the Styles tab for an example flyout form set to Dock to Bottom.
  1. Visually separate your flyout form from the rest of your site using mobile overlay, a drop shadow, or both.
    • Select Edit styles to open the Styles panel.
    • Scroll to the Mobile overlay and Drop shadow settings.
    • Turn on Mobile overlay to block interaction with the rest of your site while the flyout form remains open. The overlay does not appear when the flyout form is viewed on a desktop.
    • Turn on Drop shadow to provide subtle shading around your form to separate it from the surrounding content. Note that Drop shadow settings affect both the mobile and desktop versions of your form.
The Form Background section of the Styles tab in the form editor showing both Mobile Overlay and Drop Shadow toggled on and configured with example colors.
The Form Background section of the Styles tab in the form editor showing both Mobile Overlay and Drop Shadow toggled on and configured with example colors.

Next steps

When you’re ready to make your changes live:

  1. Click Publish or schedule in the form editor.
  2. Resolve any blocking alerts. If scheduling options appear, select Publish now. Click Publish now to publish your changes.

Check the published form on your mobile device, making sure you meet its targeting and display conditions.

Once you've optimized your forms for mobile devices, try A/B testing your form designs to better understand your site visitors' preferences.

Additional resources




Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Partners
Hire a Klaviyo-certified expert to help you with a specific task, or for ongoing marketing management.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type