Top
How do the conditions in the Event trigger page URL work?
  • 21 May 2025
  • 1 Minute To Read
  • Dark
    Light
  • PDF

How do the conditions in the Event trigger page URL work?

  • Dark
    Light
  • PDF

Article summary

Event trigger page URL enables you to filter data based on where the event is launched. For example, analyze the number of users who closed a Survey on the Leads (https://salesforce.com/leads) page.

insights_filter_event_trigger_page_url.png

The following conditions are supported for the Event trigger page URL:

event_trigger_page_url_conditions.png

Condition

Description

Contains

The set value is present anywhere in the URL.

Starts with

The set value is at the beginning of the URL.

Ends with

The set value is at the end of the URL.

Is equal to

The set value is an exact URL match.

Not contains

The set value is not present anywhere in the URL.

Note:

  • Whatfix enables you to add multiple URLs for a single condition. Example: Event trigger page URL contains salesforce and leads.

    insights_event_trigger_page_url_multiple_urls.png

  • Use a comma to separate the URLs.

Understand how Whatfix evaluates multiple conditions added to the Event trigger page URL

Whatfix enables you to add multiple conditions to the Event trigger page URL. This is how Whatfix evaluates the different conditions:

  • Whatfix uses an OR condition for Contains, Starts with, Ends with, and Is equal to.

  • Whatfix uses an AND condition for Not contains.

Example: Consider that you want to filter data on Salesforce URLs.

Scenario 1: Event Trigger Page URL contains leads, accounts

event_trigger_page_url_or.png

Whatfix includes any engagement on the following pages:

https://salesforce.com/leads/details

https://salesforce.com/accounts/view

event_trigger_page_url_contains_representation.png


Scenario 2: Event Trigger Page URL not contains leads, accounts

event_trigger_page_url_and_condition.png

Engagements are included only if the URL contains neither leads nor accounts.

So, Whatfix excludes the following URLs:

https://salesforce.com/leads/details

https://salesforce.com/accounts/view

But includes this URL: https://salesforce.com/opportunities/view

event_trigger_page_url_not_contains_scenariopng.png


Scenario 3: Event Trigger Page URL with mixed conditions

insights_event_trigger_page_url_mixed_condition.png

Whatfix does not include engagement from the URL, https://salesforce.com/leads/archive/view.

event_trigger_page_url_mixed_example.drawio.png

The URL satisfies two out of the three conditions, contains leads, starts with https://salesforce.com, but contains archive, which is false. Since it uses an AND logic, the condition fails, and data is not displayed from the page.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.