Skip to content

m1ga/ti.etracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

etracker module for Appcelerator Titanium

Buy Me A Coke donate button

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