Posts

Showing posts from April, 2020

How to Implement Custom Personalization rule in Sitecore

Image
How to Implement Custom Personalization rule in Sitecore To fulfill business needs sitecore provides many different personalization rules out of the box that can be applied on different components, however there might be cases where we have to write our custom rule or logic's to fulfill client business requirements. Sitecore architecture support this scenario very well. in this blog, we will create a custom rule in which based on query string parameter we will show different content to our website visitors. Use-Case : we would like to show component based upon the value of query string parameter "country" . below is the steps to achieve this. Step-1 : Register the Tag Create a new Custom   Tag for custom rule at this path  /sitecore/system/Settings/Rules/Definitions/Tags . for the reference i have attached the screenshot below Step-2 : Register new Element for rule Create a new Custom element folder and personalization condition at this path