Tracking user names

I’m using PIWIK to track a SharePoint intranet site, which is only accessible to authenticated users with an Active Directory account.

Is there a way to track user names along with IP address?

Hey jambou,

if you are using the javascript tracking code you could add the username as a custom variable as seen in: JavaScript Tracking Client: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3

See also Custom Variables tutorial: Using Custom Variables in Piwik (Tutorial) - Analytics Platform - Matomo