Device
Last updated
Last updated
All tests in Shoplift can be segmented to all devices, desktop devices, or mobile devices.
When a test is segmented to mobile devices, only visitors coming to your website from devices of that category (including tablets) will be shown the test.
When a test is segmented to desktop devices, only visitors coming to your website from desktop computers or laptops will be shown the test.
FAQ: How does Shoplift determine if a device is mobile or desktop?
To determine if a device is mobile, tablet, or desktop, we look at the user agent sent by the browser.
If you segment your test to mobile devices only, the easiest way you can view your test is by navigating to your tested page(s) on a mobile device in an incognito or private browser tab. If you aren't served the test variant, you can close the tab and navigate again until you are served the test variant.
As Shoplift uses local storage to track visitors, closing and reopening incognito or private tabs will clear the tracker so that you can be served both variants in the test.
If you want to view a test segmented to mobile devices on your computer, you can do so by emulating a mobile device in your browser. If you don't know how to do this, don't worry - it's easy with a chromium-based browser like Google Chrome or Brave.
Open an incognito tab in your browser
Open the Developer Tools by clicking View > Developer > Developer Tools, or using Command + Shift + C (on Mac) or Control + Shift + C (on Windows).
This will open the developer tools window. In the top center of the screen, you can select a mobile device from the "Dimensions" dropdown. This will change your user agent to a mobile device.
Navigate to your tested page(s). You will now be placed in the A or B version of your test.