etracker module for Appcelerator Titanium
Consent-free tracking - audited GDPR compliant. More infos about etracker at https://www.etracker.com/
Requirements
- Android: Appcelerator Titanum 9.3.2+
- iOS: not available
Implementation
var etracker = require("ti.etracker");
Methods:
- etracker.startTracker({ accountKey: "xxxxx", appName: "appName", appVersion: "appVersion"});
- etracker.getStatus()
- etracker.getConsent({ message: "Allow anonymous tracking?", yes: "yes",no: "no"});
- etracker.allowTracking();
- etracker.denyTracking();
- etracker.trackScreenView({ screen: "Screen", area: "area"})
- etracker.trackUserDefined({ screen: "Screen", area: "area", action: "action", object: "object", category: "category", value: "value"})
- etracker.flush();
- // TODO: etracker.trackOrder({})
Example
See example/app.js
Authors
- Michael Gangolf (@MichaelGangolf / Web)