Thrift module: tracker
Enumerations
Enumeration: BulkSubmissionType
Data structures
| Key | Field | Type | Description | Requiredness | Default value |
| 1 | uniqueSubmissionId | string | Unique 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 | |
| 2 | receivedDateTime | i64 | The date time (in millis since epoch UTC) at which this submission
was received by the tracker.
| required | |
| Key | Field | Type | Description | Requiredness | Default value |
| 1 | browserId | event.AssignedId | The unique id associated with this browser.
Currently this is maintained by setting a cookie for web
events, or otherwise determined for native apps.
| optional | |
| 2 | xForwardedForHeader | string | The full value of the X-Forwarded-For header supplied.
We need this for both Web & Native app submissions, because
the Slab will use it to establish the IP address of the user,
and then use IP address to geo-locate the user
| optional | |
Struct: IndividualSubmission
This struct is for submissions that have come from an individual device,
e.g. a single WebSubmission, or a number of submissions from a single Native
App user
Struct: BulkSubmission
| Key | Field | Type | Description | Requiredness | Default value |
| 1 | type | BulkSubmissionType | | required | |
| 2 | submissionData | binary | | required | |
This struct is for submissions that have come from multiple devices,
e.g. a set of submissions sent by Apple News for multiple article view events.
Struct: TrackerSubmission
This struct is intended for private consumption inside ophan only.
It represents the raw data collected by the tracker, passed onto The Slab for
enhancement into ophan events.