Test a boosting strategy
The goal of a Sitecore Search search results widget aims to yield high conversion rates. Using a boosting strategy, expected items can be pushed to the top of result.
The following procedure tests two variations of a search results widget:
- The default variation which has no rules.
- A variation with a rule that boosts certain items to the top.
This walkthrough describes how to:
- Add a widget variation and rule to a widget.
- Create a rule to boost items.
- Create and schedule a split test.
Add a widget variation and rule to a widget
To add a widget variation and rule to a widget:
- On the menu bar, click Widgets.
- On the Widgets tab, click the name of the widget you want to open.
- On the Widget Variations tab, click Add variation.
- Enter a name for this new variation then click Save.
- On the Rules tab, click Add Rule.
Create a rule to boost items
To create a rule to boost items when the keyphrase matches a regular expression:
- On the menu bar, click
Context then click the Site context tab. - Click Add context rule, select Keywords from the list and in the operator drop-down menu, click Match regular expression.
- In the text box, enter a regular expression that would yield
trueorfalsewhen evaluated for a particular keyword. - On the menu bar, click Strategy.
- In the left pane of the Strategies page, click the Boost Rules tab.
- Click Add attribute, select an attribute from the list, and in the operator drop-down menu, click Is.
- To set the attribute value, in the text box, enter an appropriate value and click Save.
- Click Publish.
Create and schedule a split test
To split widget recipes:
- On the menu bar, click Widgets.
- On the Widgets tab, to open the widget, click its name.
- On the Split Testing tab, click Add Split Test.
- In the Name field, enter a name for your split test and click Next.
- From the Variations list, to add to the test to the indicated area, drag the default variation with no rules and the new variation with the boosting rule.
- Assign the percentage of traffic you want to drive to each variation and then click Next.
- Select values for the Start Date, End Date, and Time Zone fields, and then click Next.
- Review the details of your split test and then click Save.
- Click Publish.
If you have suggestions for improving this article, let us know!