def METHOD_NAME(cls):
    url, query = cherrypy.request.path_info, cherrypy.request.query_string
    # Track any views of the budget pages
    if "budget" in url:
        what = "Budget page"
    else:
        # Only log the page view if there's a valid attendee ID
        params = dict(parse_qsl(query))
        if 'id' not in params or params['id'] == 'None':
            return
        # Looking at an attendee's details
        if "registration" in url or "attendee" in url:
            what = "Attendee id={}".format(params['id'])
        # Looking at a group's details
        elif "dealer_admin" in url or "group" in url:
            what = "Group id={}".format(params['id'])
    from uber.models import Session
    with Session() as session:
        session.add(PageViewTracking(who=AdminAccount.admin_name(), page=c.PAGE_PATH, what=what))