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
- Host: GitHub
- URL: https://github.com/m1ga/ti.etracker
- Owner: m1ga
- License: other
- Created: 2021-04-17T12:14:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-17T12:42:40.000Z (over 4 years ago)
- Last Synced: 2025-01-27T07:12:02.594Z (12 months ago)
- Topics: android, appcelerator, appcelerator-titanium, etracker
- Language: Java
- Homepage:
- Size: 5.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```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))