--- title: "How do the conditions in the Event trigger page URL work?" slug: "how-do-the-conditions-in-event-trigger-page-url-work" updated: 2025-05-21T04:54:17Z published: 2025-05-21T04:54:17Z canonical: "support.whatfix.com/how-do-the-conditions-in-event-trigger-page-url-work" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # How do the conditions in the Event trigger page URL work? 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](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/insights_filter_event_trigger_page_url.png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A19%3A21Z&se=2026-11-10T17%3A19%3A21Z&sr=c&sp=r&sig=qmivZvAXykSA6r%2FNRGFGLPEhS3eIvf2J5U6bFFDni5c%3D) The following conditions are supported for the Event trigger page URL: ![event_trigger_page_url_conditions.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/event_trigger_page_url_conditions.png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A19%3A21Z&se=2026-11-10T17%3A19%3A21Z&sr=c&sp=r&sig=qmivZvAXykSA6r%2FNRGFGLPEhS3eIvf2J5U6bFFDni5c%3D) | 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. | > [!WARNING] > 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](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/insights_event_trigger_page_url_multiple_urls.png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A19%3A21Z&se=2026-11-10T17%3A19%3A21Z&sr=c&sp=r&sig=qmivZvAXykSA6r%2FNRGFGLPEhS3eIvf2J5U6bFFDni5c%3D) > - 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](/product-analytics/docs/how-do-the-conditions-in-event-trigger-page-url-work#scenario-1-event-trigger-page-url-contains-leads-accounts) - [Scenario 2: Event Trigger Page URL not contains leads, accounts](/product-analytics/docs/how-do-the-conditions-in-event-trigger-page-url-work#scenario-2-event-trigger-page-url-not-contains-leads-accounts) - [Scenario 3: Event Trigger Page URL with mixed conditions](/product-analytics/docs/how-do-the-conditions-in-event-trigger-page-url-work#scenario-3-event-trigger-page-url-with-mixed-conditions) #### **Scenario 1: Event Trigger Page URL contains leads, accounts** ![event_trigger_page_url_or.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/event_trigger_page_url_or.png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A19%3A21Z&se=2026-11-10T17%3A19%3A21Z&sr=c&sp=r&sig=qmivZvAXykSA6r%2FNRGFGLPEhS3eIvf2J5U6bFFDni5c%3D) 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](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/event_trigger_page_url_contains_representation.png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A19%3A21Z&se=2026-11-10T17%3A19%3A21Z&sr=c&sp=r&sig=qmivZvAXykSA6r%2FNRGFGLPEhS3eIvf2J5U6bFFDni5c%3D) --- #### **Scenario 2: Event Trigger Page URL not contains leads, accounts** ![event_trigger_page_url_and_condition.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/event_trigger_page_url_and_condition.png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A19%3A21Z&se=2026-11-10T17%3A19%3A21Z&sr=c&sp=r&sig=qmivZvAXykSA6r%2FNRGFGLPEhS3eIvf2J5U6bFFDni5c%3D) 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](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/event_trigger_page_url_not_contains_scenariopng.png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A19%3A21Z&se=2026-11-10T17%3A19%3A21Z&sr=c&sp=r&sig=qmivZvAXykSA6r%2FNRGFGLPEhS3eIvf2J5U6bFFDni5c%3D) --- #### **Scenario 3: Event Trigger Page URL with mixed conditions** ![insights_event_trigger_page_url_mixed_condition.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/insights_event_trigger_page_url_mixed_condition.png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A19%3A21Z&se=2026-11-10T17%3A19%3A21Z&sr=c&sp=r&sig=qmivZvAXykSA6r%2FNRGFGLPEhS3eIvf2J5U6bFFDni5c%3D) Whatfix does not include engagement from the URL, https://salesforce.com/leads/archive/view. ![event_trigger_page_url_mixed_example.drawio.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/event_trigger_page_url_mixed_example.drawio.png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A19%3A21Z&se=2026-11-10T17%3A19%3A21Z&sr=c&sp=r&sig=qmivZvAXykSA6r%2FNRGFGLPEhS3eIvf2J5U6bFFDni5c%3D) 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.