clarity icon indicating copy to clipboard operation
clarity copied to clipboard

get user id

Open EduardoMateos opened this issue 2 years ago • 2 comments

Is it possible to get clarity's user id from the frontend? I would like that when an error occurs on the web to be able to take that user id and save it in our logs to be able to debug the problem.

thanks!

EduardoMateos avatar Sep 06 '22 06:09 EduardoMateos

something like https://help.fullstory.com/hc/en-us/articles/360020828073-FS-getCurrentSessionURL-Retrieving-a-session-URL-at-time-of-data-capture would be super awesome

mumerfarooq avatar Sep 07 '22 12:09 mumerfarooq

@EduardoMateos , Session info contains user ID. you can find Session info on left side of a recording, refer Session info for more details.

ClaritySupport avatar Sep 23 '22 09:09 ClaritySupport

@ClaritySupport That doesn't address what the user is asking for. I also would like this information made available in a client-side object. Thanks.

eandren-git avatar Feb 20 '23 20:02 eandren-git

Hi, We can utilize the below api and set a known custom-id to clarity server, same can be used to further filter out sessions etc. hope that will help you solve your problem https://learn.microsoft.com/en-us/clarity/setup-and-installation/identify-api

musanas avatar Jun 06 '23 07:06 musanas