Pull usernames in WordPress

(DSellers) #1

Does anyone have a current example for tracking WordPress usernames in Matomo? I’ve found some old post from years ago, such as this:

…but nothing which is recent.

I know there is a WordPress plugin which does this, but I need to the straight javascript tracking code for several reasons. Thank you for any suggestions.