How to use AND and OR Conditions inside Widget Segments
- 15 Mar 2023
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
How to use AND and OR Conditions inside Widget Segments
- Updated On 15 Mar 2023
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
While setting up your widget segments, you can use the AND/OR settings for conditions. You can also use both these conditions together as a combination in a segment.
Here, the AND acts as a delimiter and all the conditions between two ANDs gets evaluated.
Use Cases
You can use AND/OR conditions in the following,
- Visibility rule conditions
For example: If you have multiple hostnames and you would like to set one common segment, set the Visibility Rules with an OR condition. - Segment content by tag content
- Search Scope by tags
Use the following steps to use this setup:
-
On the Whatfix dashboard, click Widgets.
-
Click the Create Widget button.
- Select the widget you want to create.
Info
- AND acts as a delimiter
- The parentheses between these conditions would be denoted by the light grey background
Was this article helpful?