InsightModel
Direct Subclass:
Model representing a tracker object. Tracker must have an action and section values.
Constructor Summary
Public Constructor | ||
public |
constructor(action: String, section: String, value: String, label: String, triggeredAt: String, brandId: String, location: Object) |
Public Constructors
public constructor(action: String, section: String, value: String, label: String, triggeredAt: String, brandId: String, location: Object) source
Params:
Name | Type | Attribute | Description |
action | String | The action that triggers the track insights event, |
|
section | String | The section of the application that triggers the application, |
|
value | String |
|
The specific element Id for the given section to track, |
label | String |
|
The name/text the user sees for the value being tracked, |
triggeredAt | String |
|
The event timestamp (default is now). |
brandId | String |
|
The brand associated with the section/value, |
location | Object |
|
Object including the following location-based fields: |
location.latitude | Float |
|
Longitude |
location.longitude | Float |
|
Latitude |