async function connectUser(workspaceId) {
  return new Promise((resolve, reject) => {
    socket.emit('connectUser', workspaceId, () => {
      resolve();
    });
  });
}
Enable tracking of the user by sending the workspaceId to the server.
@param {string} workspaceId The workspaceId of the user.
@public