Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Analytics Tracking module adds proxy methods for the Analytics Tracking service.

Table of Contents

Dependencies

The Analytics Tracking module is dependent on the following modules:

Methods

recordInteraction

Calls the Analytics Tracking service to record the provided interaction.

...

Returns: A promise that will be resolved with the created interaction record, if successful, or an error otherwise.

recordDataEvent

Calls the Analytics Tracking service to record the provided data event.

...

Returns: A promise that will be resolved with the created data event record, if successful, or an error otherwise.

Automatic Data Event Recording

A data event will be automatically recorded for any schemas in the project that have Orbita post data hooks enabled.