Setting a Document ID

You can set a user’s the Document ID by using the client.setDocumentId method:

let client = useVeltClient()
client.setDocumentId('unique-document-id')