Analytics: convert date to timestamp.
Analytics: refactor fetching of dashboard data.
Analytics: add profileId setter.
Analytics: add fetching of aggregates.