User object attributes for current page, platform, and active status

I would like to be able to get the page (name, id) that a user is current viewing, platform (web or mobile), and active or inactive status via the user object. For example, User().platform.current_page_id, where platform is web or mobile in case the user is active on both at the same time. The goal here is to enable logging of page views for each user.