Track a single evaluation event for a feature.
This method is called whenever Flags.isFeatureEnabled, Flags.getFeatureValue or Flags.getFlag are called.
Private
analyticsPrivate
currentPrivate
customPrivate
environmentPrivate
lastPrivate
loggerPrivate
request
Tracks how often individual features are evaluated whenever trackFeature is called.
Analytics data is posted after trackFeature is called and at least ANALYTICS_TIMER seconds have passed since the previous analytics API request was made (if any), or by calling flush.
Data will stay in memory indefinitely until it can be successfully posted to the API.
See
https://docs.flagsmith.com/advanced-use/flag-analytics.