Redirect visitors
Your merchandising strategy for promotions and online sales might require directing visitors to certain pages on your website or e-commerce store. In Sitecore Discover, you can add a global widget variation rule to do this Every widget inherits this rule and as long as the rule is not overridden, it is applied.
The following procedure configures the site context of a global widget variation rule to redirect visitors when they enter certain search keywords.
To redirect visitors when they enter a certain keyword:
-
In the Customer Engagement Console (CEC), on the menu bar, click Global Resources.
-
Click Global Widget, and on the Global Widget Variations tab, select the default variation.
-
On the Rules tab, click Add Rule.
-
On the menu bar, click Context.
-
On the Site Context tab, click Add Attribute.
-
From the attributes drop-down menu, clickKeywords.
-
In the Enter value text input field, enter a single word or a multiword keyword, and press Enter.
-
On the menu bar, click Settings.
-
On the Redirect tab, in the Enter url input field, enter or paste the destination URL.
NoteYou must include the
http://
orhttps://
in the URL. -
Click Save.
NoteTo preview the saved rule before publishing, click Preview .
-
Click Publish.