title | slug | createdAt | updatedAt |
---|---|---|---|
Session Search |
session-search |
2022-05-06 23:05:46 UTC |
2022-09-12 16:18:46 UTC |
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.
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
.
-
clickSelector
is the HTML Element's target's selector, concatinating the element'stag
,id
andclass
values. -
clickTextContent
is the HTML Element's target'stextContent
property. Only the first 2000 characters are sent.- This property was added in
highlight.run@^4.2.3
.
- This property was added in
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.
You can then use the session filters to search for text in the two fields.