all things Sitecore related

Personalize on visiting device

A customer asked me if it was possible to personalize the default website based on a device, so they could push their mobile applications. My first reaction to this was positive, because there is a shared source module (Mobile Device Detector) available for this purpose. When installing this module on Sitecore 6.x the device personalization rules became available instantly.

01-_Sitecore_6_personalized_device_rules
Installing the module on a Sitecore 7 environment didn’t show the device rules in the Rule Set Editor for personalization. To make these rules available for personalization you can execute the following procedure.

1. Open /sitecore/system/Settings/Rules/Conditional Renderings/Tags/Default in the Sitecore client.

02_-_Conditional_Renderings_tag

2. Add Device Detection to the Tags field

03_-_Add_device_detection_tag

3. Personalize based on devices

04_-_Personalize_based_on_Device

Happy personalizing!

Sources:

About the Author

About the Author: .

Subscribe

If you enjoyed this article, subscribe now to receive more just like it.

There Are 6 Brilliant Comments

Trackback URL | Comments RSS Feed

  1. Pascal says:

    Keep in mind, that some of the rules only work, when you pay for the Premium data of 51degrees (See https://51degrees.mobi/Products/DeviceData/PropertyDictionary.aspx -> Red is only for Premium). An example is the detection of Tablets. In the Lite version, the iPad is classified as Mobile, but not as Tablet.

    • Jeroen Huizinga says:

      Thank you for this input! I will investigate which rules do work without with the lite version.

  2. Nice post.

    Just wanted to point out that this should only be an issue from Sitecore 7.1 onwards (not 7.0), as 7.1 was when Tags and Tag Definitions were introduced for Rules field.

  3. Göran says:

    This is great, I will definitely use this.

Post a Comment

Your email address will not be published. Required fields are marked *

Top