clarity icon indicating copy to clipboard operation
clarity copied to clipboard

How to send custom events?

Open penfold opened this issue 3 years ago • 2 comments

I can't find the details in the docs, so here goes...

How can I send custom events - preferable with some extra data? (I would like it to be filterable and appear in the recording timeline.)

Something like: clarity("custom-event", "my-event", {key1:"value", key2:"value2"});

Thanks, Paul

penfold avatar Sep 01 '22 15:09 penfold

I can see the following class:

https://github.com/microsoft/clarity/blob/master/packages/clarity-js/src/data/custom.ts

Is this what I need? If so, how do I use it?

Thanks

penfold avatar Sep 01 '22 15:09 penfold

@penfold , This feature not yet available in Clarity and is in our current roadmap. Thanks for feedback.we will blog about it once it is ready for customer use.

ClaritySupport avatar Sep 15 '22 16:09 ClaritySupport

Is this still in the roadmap or available? Couldn't find a clear information anywhere.

gaeljw avatar May 29 '23 14:05 gaeljw