added viewData to countly interface, allowing for real-time data collection