JavaScript SDK - setMetadata method
With this method, you can set the value of one of the metadata fields configured on the OpenReplay platform.
See metadata for more details.
Signature
Section titled SignaturesetMetadata(key: string, value: string): void
Parameters
Section titled Parameterskey: string
: The metadata key to save.value: string
: The value to save as metadata.
Return Value
Section titled Return ValueThis method does not return any values. The information is saved directly as part of the replay and can be seen inside the OpenReplay platform.