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).
crypto.randomUUID
Adapted from https://gist.github.com/jed/982883
A UUID v4 string, e.g. "110ec58a-a0f2-4ac4-8393-c866d813b8d1".
"110ec58a-a0f2-4ac4-8393-c866d813b8d1"
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.randomUUIDwhich is not available in every environment (e.g. non-secure contexts).Adapted from https://gist.github.com/jed/982883