Tracking users in Mahara

I saw on a slideshare about Pikwik that in Mahara it could track logins by username. I wondered if anyone has done this? How is this achieved? Can Pikwik track a user’s movements through Mahara? Thanks

Also need the username tracking function, please help

Please check out this Tutorial of how you can track Custom Varible with Username, from the example of Wordpress CMS: Using Custom Variables in Piwik (Tutorial) - Analytics Platform - Matomo

Maybe this can inspire you for Mahara or your other CMS?