How to design tours for mobile web

A lot of web applications have their own mobile version. Not only is the UI (typically) different with much less space on the screen, it's also possible for the elements on the mobile version of the editor to require different CSS selectors. Therefore, in most applications, it's best to design a different tour for the mobile version.

Segmenting tours based on device type

  1. Go to the tour details by clicking on the tour name in the tours list. 
  2. Find the Targeting section and click Custom Rules
  3. In this section, click on Add condition and select Device type
  4. Select the is operator and select Mobile

Now the tour is ready to be displayed on mobile version only.

We consider the device to be mobile when the viewport width is lower than 768px.

Designing the tour

We recommend using Chrome DevTool's built-in device emulation mode. It allows you to view your application as it would appear on a real mobile device.

  1. While the editor is open, open up Chrome DevTools. There are several ways to do this:
    1. Turn on the function key and press F12
    2. Ctrl/Command + Shift/Option + I
    3. Right-click somewhere in the web application and select Inspect in the dropdown menu
  2. In DevTools, click on the Toggle device emulation button. It is the second option in the top left

Now, the device emulation mode should be on. You should see something similar to this:

If the editor is taking up too much of the viewport, select Responsive from the Dimensions dropdown at the top and adjust the size of the emulated viewport.