Thrift module: tracker

ModuleServicesData typesConstants
tracker SubmissionType
TrackerSubmission

Enumerations

Enumeration: SubmissionType


WEB_INITIAL1 Initial web request
WEB_ADDITIONAL2 Additional web request
NATIVE_APP3 Native mobile app submission

Data structures

Struct: TrackerSubmission

KeyFieldTypeDescriptionRequirednessDefault value
7submissionTypeSubmissionTypeThe type of this submission required
1uniqueSubmissionIdstringUnique id associated with this submission. Ophan never makes better than at-least-once delivery promises, so you must ensure that processing two events with the same uniqueRawTrackerSubmissionId has no effect Note that for web submissions, this id is likely passed though as the unqiue event id for the events, but as native mobile submissions may represent multiple events, each event contained within this submission must have a diffrentiated id. required
2dti64The date time (in millis since epoch UTC) at which this submission was received by the tracker. required
3queryParamsmap<string, string>Raw values of all query parameters supplied, uri-decoded. Where paramaters with multiple values, only the first value is supplied. required
4headersmap<string, string>Values of all headers, except COOKIE required
5significantCookiesmap<string, string>Values of a small, whitelisted, set of cookies. required
6postDatastringIf the request to the tracker was a post, the string body associated with the post. This is typically used only in the case of mobile event submission. optional
12nativeAppSubmissionnativeapp.NativeAppSubmissionDetail of a native app submission. optional
10browserIdevent.AssignedIdThe unqiue id associated with this browser. Currently this is maintained by setting a cookie for web events, or otherwise determined for native apps. required
11visitIdevent.AssignedIdThe unique id associated with this "visit". For web reports, the visit id is a refreshed session cookie that expires after 30 minutes of activity. Mobile apps do not currently set this value. optional

This struct is intended for private consumption inside ophan only. It represents the raw data collected by the tracker, passed onto The Lab for enhancement into ophan events.