Session Search

Highlight records Tracking Events and other metadata about sessions to make them easy to search and filter. Start with the Quick Search that will find the best matches depending on what you're looking for and customize your query further in the panel above the sessions feed.

Quick Search Input.
Quick Search Input.

Searching by User Clicks

When using Highlight, you might be interested in querying for sessions where a user clicked a certain HTML element. Highlight records users' clicks on the page as two queryable properties: clickSelector and clickInnerText.

  1. clickSelector is the HTML Element's target's selector, concatinating the element's tag, id and class values.
  2. clickTextContent is the HTML Element's target's textContent property. Only the first 2000 characters are sent.
    1. This property was added in highlight.run@^4.2.3.

You can also visualize what Highlight is tracking by looking at your site's console logs when you click an element of interest. For example, clicking a particular p element in https://app.highlight.run/ prints the following in the console logs.

A sample console message on click.
A sample console message on click.

You can then use the session filters to search for text in the two fields.

Document image

Updated 06 May 2022
Did this page help?