add ui stuff for analytics