https://www.adjust.com/attribution/ for iOS
To access this module from JavaScript, you would do the following:
var Adjust = require("ti.adjust");
Adjust.init({
key : "API_KEY",
environment : Adjust.ENVIRONMENT_SANDBOX,
logLevel : Adjust.LOG_LEVEL_VERBOSE
});
Adjust.trackEvent("EVENT_TOKEN", {
key : "value"
});
ENVIRONMENT_SANDBOX
ENVIRONMENT_PRODUCTION
LOG_LEVEL_VERBOSE
LOG_LEVEL_DEBUG
LOG_LEVEL_INFO
LOG_LEVEL_WARN
LOG_LEVEL_ERROR
LOG_LEVEL_ASSERT
MIT