Feature function

analytics.feature (#feature_id, #module_id, #product_id)

A Login function request is mandatory at the start of every client session or in case of a fresh login to define Account and User for which Feature is to be tracked.

This function is used to track user event or activity within your application in terms of:

Parameter

Context

Example

feature_id

Event or Activity performed by a user

Account Viewed

module_id

Parent group for Feature. It's recommended to hardcode this in case Modules are not applicable for your application.

Accounts

product_id

Parent group for Module. It's recommended to hardcode this in case you do not offer multi-products under a single tenant/instance.

CustomerSuccessBox

Each request indicates a unique event usage.

analytics.feature (#feature_id, #module_id, #product_id)

Example

analytics.feature ("Account Viewed", "Accounts", "CustomerSuccessBox")