JavaScript SDK - isActive method
This function can be used to determine whether a particular tracker instance is active and recording or not.
Signature
Section titled SignatureisActive(): boolean
Return value
Section titled Return valueReturns true if the tracker is active and the session’s being recorded, false otherwise.