How can I GET the UserID from matomo via JS? 🧐

Hi all,

I know how to set the UserID ( - but how can I read it via JS?

Ie. if I have a webchat on the page and would like to feed that chat the userid?


You can try to get it via the JavaScript API.


1 Like