Creating device profiles

Device profiles allow you to customize the layout and content of pages according to the parameters of the devices that visitors use to view the pages. Before you start using device profiles, you need to enable mobile development in the settings.

To create a new device profile:

  1. Open the Device profiles application.

  2. Click New profile.

  3. Type the Display name of the device profile.

  4. (Optional) Set the Preview width and Preview height.

    The preview dimensions of the device profile determine the following:

  5. Fill in the parameters that define which devices belong to the profile. You can combine the parameters as needed.




    Select devices directly from a list.

    User agents

    Allows you to identify devices based on user agents. The profile includes devices that contain the entered text in their user agent string. You can add multiple entries, each on a new line.


    Use the macro rule designer to specify the condition that devices must meet to fit the device profile, or type in any macro condition.

    You can use the CurrentDevice object to retrieve data of the current device. See Device macros and Macro expressions documentation for more details.

  6. Click Save.

Device profile order

The system evaluates the device profiles from top to bottom according to the list order in the Device profiles application. Devices are assigned to the first matching profile.

To change the order, drag device profiles to a different position using the Move () area or expand the Other actions menu () and click Move up / Move down.

Once you create a device profile, it appears in the device selector in the Pages application.

Selecting the device profile in the Pages application

You can then select a device profile using the selector and start creating page layouts for devices, which will be used on individual pages instead of the default layouts if the current device fits the profile. Or you can Map layouts that will replace shared layouts when the current device fits the profile.