Skip to main content

Analytics Scripting Object API

Classes

ClassDescription
AnalyticsAnalytics scripting object that captures business analytics events and performance timing measurements, forwarding them to multiple destinations.

Functions

FunctionDescription
getBAEventParametersGets the current business analytics event parameters
invalidateBasicInfoCacheInvalidate the cached basic info so the next getBasicInfo() re-reads sessionStorage.
lrTrackGuardedThrottled wrapper around logRocket.track(). - Allows up to LR_THROTTLE_MAX_PER_WINDOW calls per LR_THROTTLE_WINDOW_MS for the same event+payload combination; excess calls are silently dropped. - Warns when eventEx carries more than LR_PROPERTY_WARN_THRESHOLD properties, since excess properties consume the 2,000 total-property session budget.
updateBAEventParametersUpdates the business analytics event parameters with new values