DroneDeploy
Search…
Track
Overview

Track.send

Overview
You can use Track.send to easily add tracking to your app.
1
const eventName = String;
2
const optionalEventData = Object;
3
dronedeployApi.Track.send(eventName, optionalEventData);
Copied!
Example Call
1
dronedeployApi.Track.send('Crop Export Requested', {
2
size: 100,
3
member: true,
4
timeUntilPurchaseInSeconds: 278
5
});
Copied!

Track.successCondition

Overview
Track.successCondition() should be called when the user performs the desired action in your app. This could be making a purchase, running a query, downloading a report, etc...
DroneDeploy will use this call to make your app more successful by....
  • Marketing your app towards user types that score high in this success condition.
  • Identifying inconsistencies in success conditions from different browsers or operating systems can reveal bugs.
  • A / B testing of different versions of your app (future feature)
Example Call
1
dronedeployApi.Track.successCondition()
Copied!

Accessing Tracked Data

You will be able to access the information DroneDeploy tracks about your app, including...
  • App installs and uninstalls
  • App renders
  • All DroneDeploy API calls with arguments
  • Custom track events via `Track.send`
  • App runs via `Track.successCondition`
To opt into the recieving tracking information please create a free segment account and add your write_key to your apps information.
Last modified 3yr ago