Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

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

Dependencies

The Analytics Tracking module is dependent on the following modules:

Methods

recordInteraction

Calls the Analytics Tracking service to record the provided interaction.

Parameters:

  • interaction (object): The interaction to record

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.

Parameters:

  • dataEvent (object): The data event to record

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.

  • No labels