JavaScript SDK ⁠-⁠ isActive method

This function can be used to determine whether a particular tracker instance is active and recording or not.

isActive(): boolean

Returns true if the tracker is active and the session’s being recorded, false otherwise.