Search


Search something to see results

RumImpression

Implements

Index

Constructors

Methods

Constructors

Parameters

Returns RumImpression

Methods

Appends the given data to the given key for tracking. This method can be called multiple times to add multiple data items to the key.

Parameters

Returns void

Calculates a given timer relative to the navigation start.

Parameters

  • timer: number

Returns number

Returns the current beacon index or 0 if no beacon has been sent yet.

Returns number

Returns the unsent or sent tracking data for a given key.

Parameters

  • key: string

Returns TrackingData

Returns the pi id of this impression.

Returns string

Public method to get the current tracked RUM data

Returns TrackingObject

Initialises the custom dimension data which is used for this site.

Parameters

Returns void

Initialises the custom timer data which is used for this site.

Parameters

Returns void

Initialises enforced top level attributes by applying the default value if no plugin was found which handles the tracking.

Parameters

Returns void

Calculates the time values compared with the start of the navigation. In case of a time range the start and the duration is calculated in milliseconds.

Parameters

  • eventKey: string
  • eventStart: number
  • OptionaldurationKey: string
  • OptionaleventEnd: number

Returns void

Ensures that multiple calls to send Method will be collapsed if user is not leaving the site.

Returns void

Sends a beacon with the currently unsent data.

Parameters

  • OptionalunloadType: string

Returns void

Sets the given data to the given key for tracking. Calling this method multiple times will override old value. To track multiple values per key use append

Parameters

Returns boolean

true if value is scheduled to be sent with the next beacons, false otherwise.

Sets the given data to the given key for tracking relatively to the navigationStart when it is numeric. Otherwise it will be tracked normal. Calling this method multiple times will override old value. To track multiple values (without being calculated relatively) per key use append.

Parameters

Returns boolean

true if value is scheduled to be sent with the next beacons, false otherwise.

Send custom event information (action, label and value) using a beacon.

Parameters

  • action: string
  • label: string
  • value: number
  • immediately: boolean = true
  • withTimestamp: boolean = true

Returns void

Sends custom timer information (key and data) using a beacon.

Parameters

Returns void

Updates a value of the base dimensions, which will be sent with every tracking beacon.

Parameters

Returns void