Circle V2 API Docs
    Preparing search index...

    Function useAnalyticsScope

    • Registers scope key-value pairs on the analytics client for the lifetime of the calling component. All keys are removed on unmount, so scope is tied to the component's lifecycle (e.g. while the user is on a particular route).

      Parameters

      Returns void

      useAnalyticsScope({ patientId, auditRunId });