Website Visitor Targeting
Targeting is a system that controls when and to whom a widget is displayed. It lets you define precise rules based on URLs, location, device type, and UTM parameters, and uses priority levels to show the most relevant widget when multiple conditions are met.

The Targeting section allows you to define where and to whom the widget should be displayed. You can control visibility based on:
Page addresses
Choose whether the widget should appear:
- On all URLs, or
- Only on specified page addresses
If you select the second option, you can configure precise matching rules:
Positive rules (the widget will be shown when at least one of these is true):
- Exact URL match – the full URL matches exactly
- URL starts with – the page address starts with a given value
- URL ends with – the page address ends with a given value
- URL contains – the URL includes a specific word or pattern
- URL matches regular expression – the address matches a custom regex pattern
Negative rules (all must be true for the widget to display):
- URL doesn't match exactly
- URL doesn't start with
- URL doesn't end with
- URL doesn't contain
- URL doesn't match regular expression
📌 Logic: For the widget to display, at least one positive rule must be matched and all defined negative rules must also be satisfied.
Example:
The widget will be displayed on any page under the trueengage domain, and on pages containing “pricing” or “sales” — except for the page https://trueengage.com/support.

Countries / Location
You can set the widget to display only to people from a specific country, or completely exclude the display of the widget of selected geolocations. Set the rules using the expressions Is any of and Is none of.
Choose:
- All countries, or
- Only specific countries (users located in selected regions)
Device type
You can choose whether you want to exclude showing the widget to customers using a desktop or a mobile devices.
Choose whether the widget should appear on:
- All devices
- Desktop only
- Mobile only
UTM parameters
If you want to determine whether to display the widget based on UTM parameters from an advertising campaign, you can construct any level of complexity for the UTM values. When checking the visitor's source (referrer), you can apply the same conditions as in targeting based on the URLs of our site, such as checking if the referrer URL matches exactly, contains a specific word etc.
Set Widget Priority
We distinguish the following priority scale A-E, where: A - means the highest priority and E means the widget with the lowest priority. In case our visitor matches two set targets, then we will display the widget with higher priority. Rules in inactive widgets are not taken into consideration for prioretization.
Example of Widget Priority Usage
Scenario: Imagine you are running an e-commerce website that sells clothing and accessories. You have three widgets that can potentially be displayed to visitors based on different targeting criteria:
- Widget 1 (Priority A): A special promotion for a new collection of summer dresses. This widget targets users who visit the "Summer Collection" page and are located in countries with high sales potential (e.g., the USA and Canada).
- Widget 2 (Priority B): A pop-up offering a discount on first purchases. This widget targets all new visitors regardless of the page they are on.
- Widget 3 (Priority C): A general announcement about free shipping for orders over a certain amount. This widget targets users on all pages and all locations.
How the Priority Works:
- If a user visits the "Summer Collection" page from the USA and is a first-time visitor, they match the criteria for both Widget 1 (Priority A) and Widget 2 (Priority B).
- Since Widget 1 has a higher priority (A) than Widget 2 (B), only Widget 1 will be displayed to the user.
- Widget 3, with a lower priority (C), will not be shown in this case, as the higher priority widgets are already displayed.
Significance:
This prioritization system ensures that the most relevant and valuable information is presented to users, enhancing their experience and potentially increasing conversion rates. By displaying the most targeted promotions, businesses can drive higher engagement and sales while minimizing clutter from less relevant content.
