Documentation - v7.17.0
    Preparing search index...

    Function generateUUID

    • Generates a random UUID v4 string.

      Used to identify entities (sessions, views, errors, operations, ...) with an identifier that is unique enough for telemetry purposes, without relying on crypto.randomUUID which is not available in every environment (e.g. non-secure contexts).

      Adapted from https://gist.github.com/jed/982883

      Returns string

      A UUID v4 string, e.g. "110ec58a-a0f2-4ac4-8393-c866d813b8d1".