Tagging
Tags allow you to provide additional context about a user's session that might be useful later for debugging performance issues.
Often you'll want to tag a session id and a user id with a tag to identify users.
Here is an example of tagging a user id:
- Browser
- Electron Main
import { tag } from "@palette.dev/browser";
tag("userId", "janedoe_123");
import { tag } from "@palette.dev/electron/main";
tag("userId", "janedoe_123");