Audience and Page Targeting
Jon avatar
Written by Jon
Updated over a week ago

Audience and page targeting allows you to hide and show the Userback widget to different target groups.

There are several ways to achieve this within Userback including:

Audience: Target users that are in a specific segment.

Pages: Target users on specific pages defined by various parameters.

Device: Target users who are using a specific device type

Delay: Automatically display the Userback widget after the user has been on the page for a specific amount of time.

Targeting Settings

You can easily access the Audience and page targeting settings.

  1. Navigate to 'Edit Widget'

  2. Select the 'Targeting' tab

  3. Define your preferred targeting options

  4. Click 'Save' then 'Exit'

πŸ’‘ TIP: If you want to temporarily stop the feedback widget from displaying to all users, rather than changing or removing the widget code from your site, simply deselect all the device types here.


Audience

You can target your widget to all your users or to defined segments of your identified users. Learn how to identify and create segments here: User Database and Segments.


Device Targeting

By default, the Userback widget is set to display for all users on all devices. However, you have the flexibility to choose which devices you want the widget to be displayed on. For instance, if you wish to hide the widget on mobile devices, you can simply de-select the mobile option.


Pages

Userback offers versatile page targeting options: deploy it on all pages, selectively target specific URLs, trigger it with query strings, or opt not to display the launcher altogether.

All pages:

Show the Userback widget on all pages where the widget code has been installed.

On specific pages based on URL:

To change how your Userback widget displays across your domains and domain paths, use the URL targeting option. Drop down the selection to choose the correct URL targeting for your use case.

URL starts with: Target all pages that have a URL, including the protocol, that starts with the entered text.

URL ends with: Target all pages that have a URL that ends in the entered text.

URL contains: Target all pages which contain the entered text. This rule is case-sensitive.

URL does not contain: Target all pages which do not contain the entered text. This rule is case-sensitive.

URL exactly matches: Targets a specific URL, including the protocol, and path. This option will ignore a query string and fragment.

URL is not: Target all pages that do not have the URL entered.

URL matches regex: Targets URLs that match a regular expression.

When Query String is added:

Use the widget query string to display the Userback widget only when someone uses the query string at the end of your project URL.

Selecting this option will hide the widget from all users by default. You will need to give users the full URL including the query string to display the widget.

πŸ’‘ TIP: Userback will store this query string in cookie for 1 hour so that the user does not need to add it to every URL as they are navigating the website or web app.

Do not show the widget:

If you use the Javascript SDK to trigger the feedback widget, then you probably also want to hide the feedback widget in all other instances. Select this option and the feedback widget will only display when it is triggered by the JavaScript API.


Delay

Select this option to open the Userback widget after a specific amount of time on a page. As an example, you may wish to ask for feedback if someone has been on the page for more than 3 minutes. Use this feature to set a time (max 600 seconds) to display the Userback widget.

Did this answer your question?