Page View Events
Learn how to create events that fire automatically when users visit pages matching your URL patterns.
Overview
Page view events let you track when users visit specific pages on your site based on URL pattern matching. Unlike UserGuiding's built-in page view auto-tracking, page view events give you named, configurable events that you can use in segments, goals, and analytics.
Creating a Page View Event
- Navigate to Settings > Data > Events.
- Click + New Event and select Page View Event.
- A drawer opens. Enter an Event Name and Event Code Name.
- Add one or more Page Targeting rules using URL match conditions: Equals, Contains, Starts With, or Ends With.
- Click Save.


How Page View Events Are Tracked
The UserGuiding SDK evaluates your configured page view events on every URL change and when a user is identified. When the current page URL matches one of your rules, the event fires automatically. These events bypass the disablePageViewAutoCapture setting — they will always fire when configured.
Viewing Page View Events in the Activity Feed
Page view events appear in the User Activity Feed and Company Activity Feed under the Page View filter category (green label). This makes them easy to distinguish from other event types.
Did this answer your question?