Hello All,
I've developed a Nativescript App and have included the plugin "nativescript-telerik-analytics" in my App. Now, I've configured the "appId" appropriately "##Snippet 1". The User is shown the Dashboard where I'm tracking some Events and invoked the "Analytics.stop()" method (##Snippet 2). I've enabled "Live Mode" and have waited more than 5 minutes, but I'm not able to view the data on the Analytics Dashboard.
I'd appreciate any suggestions. Thanks in advance.
##Snippet 1
var application = require("application"),
Analytics = require('nativescript-telerik-analytics'),
elConfig = require("./shared/everlive-config");
application.on(application.launchEvent, function(context) {
Analytics.init({ appId: elConfig.Config.getApiKey() });
Analytics.start();
});
##Snippet 2
var Analytics = require('nativescript-telerik-analytics'),
timer = require('timer');
DashboardPage.prototype.pageLoaded = function(args) {
Analytics.trackEvent('MyCategory.MyEvent');
// Register a value on a specific feature
Analytics.trackValue('myvalue', 245);
Analytics.stop();
}