I have idea. Web service for storage statistic data by indicators and sections. For example, indicator: count of view; section new id, value = 1, dateTime. User put indicator via API and get data for dateTime period. User can build charts and get one via API.
P.S. Sorry for my English!