Target rule
The Target rule shows a widget only to visitors who belong to one or more of your saved targets, or hides it from them. Targets are reusable audiences built from filters such as traffic source, location, device, cart value, customer tags or past behavior.
Available on: all platforms. Some target filters are platform-specific.
How it works
The rule reads: Show to (or Don't show to) visitors who are part of all (or any) of the following targets.
Setting | The widget can show when |
|---|---|
Show to + any | The visitor matches at least one of the targets |
Show to + all | The visitor matches every target |
Don't show to + any | The visitor matches none of the targets |
Don't show to + all | The visitor doesn't match every target (matching some is fine) |
The all/any choice appears once you add a second target. With one target, both mean the same.
The rule is checked when a trigger fires, not when the page loads. It sees the visitor's data at that moment, including what changed on the page, such as products added to the cart or a form they just submitted.
Configuration
Option | What it does | Values / default |
|---|---|---|
Show to / Don't show to | Include or exclude the matching visitors | Show to |
all / any | How several targets combine | any |
Targets | The saved targets to check. Create target builds a new one without leaving the widget; the edit icon opens an existing one | One or more |
Behavior details and limitations
- Targets used here can't be deleted. While this rule uses a target, Personizely blocks deleting it and lists this widget as a dependency.
- Editing a target affects every widget and campaign that uses it.
- Data that loads later. Filters that need data from Personizely's servers (such as order history or visit history) or the cart make the widget wait until that data has loaded before its triggers start.
- Teasers. A teaser shown before the trigger appears only if the Target rule passes at that moment.
- Same audience in A/B tests. Rules are shared by all variations of a widget A/B test.
- For page-based conditions, prefer rules. The Pages and Product pages rules are checked at page load, so the widget's triggers don't start at all on pages where it can never show.
Examples
- Paid traffic only: Show to visitors in the target "UTM medium is cpc".
- Hide from customers: Don't show to visitors in the target "Shopify customer has orders".
- High-value carts: Show to visitors in all of "Cart value at least $100" and "Country is United States", with an Exit trigger on /cart.
Troubleshooting
- Widget never shows to anyone → a target was removed, or all is selected when visitors usually match only one target.
- Widget shows to the wrong visitors → Don't show to with all only hides the widget from visitors who match every target. Use any to hide it from visitors who match at least one.