Braze JavaScript SDK
    Preparing search index...

    Function disableSdk

    • Sets a flag in storage that causes all subsequent calls to the Braze JavaScript SDK to be ignored and all subsequent analytics to cease being sent to the Braze backend. This is useful for customer opt-outs. If the customer clears all app/site data, tracking will resume.

      Parameters

      Returns Promise<void>