Manual Reference Source Test
import InsightModel from 'clinical6/src/models/Insight.js'
public class | source

InsightModel

Direct Subclass:

Insight

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)

Member Summary

Public Members
public

Public Constructors

public constructor(action: String, section: String, value: String, label: String, triggeredAt: String, brandId: String, location: Object) source

Params:

NameTypeAttributeDescription
action String

The action that triggers the track insights event,

section String

The section of the application that triggers the application,

value String
  • optional

The specific element Id for the given section to track,

label String
  • optional

The name/text the user sees for the value being tracked,

triggeredAt String
  • optional

The event timestamp (default is now).

brandId String
  • optional

The brand associated with the section/value,

location Object
  • optional

Object including the following location-based fields:

location.latitude Float
  • optional

Longitude

location.longitude Float
  • optional

Latitude

Public Members

public tracker: Object source