Configuring Key pages
Key pages divide a web application into relevant parts based on URL patterns, and events detected based on CSS selectors and/or browser tab titles. This way, you can gain insights on business-critical points of end-users journey by allowing you to:
Tag page view events, even if you disable URL collection for specific applications for privacy reasons. Upon detecting an event, Nexthink browser extension tags the page view or usage event with the pre-defined key pages.
Track the usage of different parts or elements of an application, unlike URLs, which are not available on
web.events
table.Detect soft navigation events where URLs remain unchanged.
Indicate specific business operations when adequately defined. For some business applications such as Oracle NetSuite ERP or SAP S/4 HANA ERP, the URLs change according to the application functionality.
Provide insights into which pages are loaded for various business transactions, how often, and what their page load time is.
Filter the Applications dashboard based on specific key pages.
Configuring Key pages for web applications
After configuring the fields in the General tab of the web application configuration, follow these steps to configure the Key pages tab:
Discover key pages specific to the target web application by collecting URLs.
Add key pages for the web application.
Optionally, define CSS selectors for Key page detection based on page elements—even when the web application URL remains unchanged.
Order key pages to ensure proper URL matches.
Alternative option—requires Nexthink Adopt:
Import predefined and non-customizable key pages from built-in default configurations available for specific web applications. This feature is different from applications installed from Nexthink Library.
Discovering key pages by collecting URLs
The Collect URLs option is enabled by default for general application configurations. Therefore, to discover key pages specific to an application:
Click on the Troubleshoot tab of the chosen application dashboard page.
View the Key pages & URLs table to identify URLs with the most significant number of Frustrating page loads for end-users.
You can map these URLs into key pages as Nexthink displays them in descending order for page load times.

Adding key pages
To create a new key page from the selected web application configuration page, under the Key pages subtab:
Click the Add key page button to open Edit key page pop-up and fill in the fields:
The Key page name can be composed of any standard safe character combination separated by a space, up to 100 characters long. It must be unique across an application.
Add at least one identifier to use:
The URL path to detect the key page. The system supports the use of
*
wildcards.The Base URL pattern restricts key-page URLs to the application's URL patterns defined under the General tab. Therefore, key-page patterns can match more than one base application pattern.
Tab title with full name—or partial name using
*
wildcards—displayed on your browser tab for the specific webpage.This method enables you to detect soft navigation events where URLs remain unchanged.
Configured CSS selectors of page elements that Nexthink uses to consistently identify the key page whenever the element is present on the webpage.
This method enables you to detect soft navigation events where URLs remain unchanged.
Save after all fields are defined.

Considerations when defining URL paths for key pages
When defining key pages, it's important to consider the following points:
The path pattern can contain any character allowed in URLs, as well as the wildcard character
*
.The path pattern can contain more than one
*
wildcard.Any wildcards
*
need to be specified. If you do not define the*
as a prefix for the path, the system appends it to the application’s URL pattern without any*
. See the examples below.The same path pattern and application pattern name pair cannot appear more than once in the current application definition. As a workaround, select more than one application pattern for the given key page path.
The key page name needs to be unique per application.
Examples of Key page URL patterns
Key page path *page1*
which belongs to the application URL pattern *://www.example.com/foo/*
This translates into
*://www.example.com/foo/*page1*
Key page path page2
which belongs to the application URL pattern *://www.example.com/foo/*
This translates into
*://www.example.com/foo/page2
Defining CSS selectors for key pages—optional
To define CSS selectors for Key page detection based on page elements, from the selected web application configuration page under the Key pages subtab:
Add a new key page identifier to open a popup window and fill in the fields:
Name for the target web page element.
CSS selector of the page element that Nexthink uses to consistently identify key pages whenever the element is present on the webpage.
CSS selector supports complex selectors, for example:
#id > .class div[attr=value]
Extract CSS selector from the web application page using your browser developer tools or Nexthink browser extension—the extension does not currently support Firefox.
Save the CSS key page identifier for future use when adding key pages.

Organizing key pages in the correct order
You can overlap key page match patterns by following the appropriate order in the Nexthink web interface.
When reviewing a set of key pages, matching operations start at the top of the list and move towards the bottom to find a match. If the system finds a match, the process stops, and other patterns are not checked.
For example, the pattern /a/b/*
should be listed above /a/*
; otherwise a page /a/b/c
would match /a/*
and not /a/b/*
. Below you can find an image with an explanation of the correct order.

In the example above, the ideal configuration would be the first option. In the second one, Outbound and Dispatch Shipment are tagged with the first key page, as it has a more generic tag.
To change the order of key pages from the selected web application configuration page:
Under the Key pages tab, hover an item from the list and open the action menu.
Click one of the possible options: Move up, Move down, Move to top, or Move to bottom.

RELATED TASKS
RELATED TRAINING
Last updated
Was this helpful?