Sitecore components provide you with a facility to personalize placed components on a page, which is processed by Sitecore Rule Engine. We can do personalization based on many settings related to the field, item, security, user, system, analytics, and so on.
In this recipe, we will cover a very basic example to personalize rendering. On our website, we are showing sale or discounts on products in the form of a carousel. Now, at the end of the month or on any selected date, we want to show these carousel slides. After that, it should get hidden automatically.
We will personalize carousel rendering that we created in the previous chapter. If you are using Sitecore 8, you should enable analytics to enable personalization by doing the following setting in the \App_Config\Include\Sitecore.Analytics.config
file. For older versions, personalization will be available by default.
<setting name="Analytics.Enabled" value="true" />