microsoft / clarity

A behavioral analytics library that uses dom mutations and user interactions to generate aggregated insights.
https://clarity.microsoft.com
MIT License
2.09k stars 208 forks source link

[Feature Request] Smart Event: changing the sequence of smart event. #533

Open cyfyifanchen opened 7 months ago

cyfyifanchen commented 7 months ago

Hi there, I've been playing with Clarity for a couple of weeks, awesome tool, and thanks so much for everyone who contributes to it.

I do have a little request to make the Smart Event better I think, by having the ability of changing the sequence of the events.

For example, A user goes to a page(URL) then clicks a button(event), then gets directed to a new page(URL).

The request is:

  1. PV
  2. Click event
  3. PV

However, the current feature doesn't allow the above sequence, instead it stacks the Page Visits together then clicks the button(event).

The current is:

  1. PV
  2. PV
  3. Click event

Lastly, if this feature request works, then the analyzer will have a much more flexible way to combine events.