Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (17 loc) · 1.67 KB

File metadata and controls

27 lines (17 loc) · 1.67 KB
title slug createdAt updatedAt
Session Search
session-search
2022-05-06 23:05:46 UTC
2022-09-12 16:18:46 UTC

Searching by Identifier

In highlight.io, you can search for a session by any of the data you send us (via the SDK) throughout a session. The data you send us can be in the form of track or identify calls.

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.io/ prints the following in the console logs.

A sample console message on click.

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