/
Analytics Tracking

Analytics Tracking

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.

Related content

Data Hooks
More like this
Analytics Node
Analytics Node
More like this
2.5 Introduction to Orbita Insights
2.5 Introduction to Orbita Insights
More like this
Guide to Orbita Insights
Guide to Orbita Insights
More like this
3.5.1 How to create an Analytics Dashboard
3.5.1 How to create an Analytics Dashboard
More like this
How do I log and report content data in Orbita Insights?
How do I log and report content data in Orbita Insights?
More like this