Tracking Events
Tracking events is how you record any actions your users perform, along with any properties that describe the action.
var moe = new MoECordova.init();
moe.trackEvent("testEvent", {"attr" : 1});
The trackEvent() takes in 2 parameters eventName and eventAttribute.
- eventName : String
- eventAttribute : JSON Object.
NOTE :
eventAttribute JSON should not have nested JSON Objects.
Updated almost 6 years ago
What’s Next