An open API service indexing awesome lists of open source software.

https://github.com/m1ga/ti.etracker

Appcelerator Titanium etracker module
https://github.com/m1ga/ti.etracker

android appcelerator appcelerator-titanium etracker

Last synced: 10 months ago
JSON representation

Appcelerator Titanium etracker module

Awesome Lists containing this project

README

          

# 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

```javascript
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](https://twitter.com/MichaelGangolf) / [Web](http://migaweb.de))