startReplay('checkout') — and in the dashboard you’ll see every session tagged with checkout, with a clickable timestamp that jumps the player to that exact moment.

Basic usage
React example — tag a component lifecycle
The most natural place to call these in React is inside auseEffect in the component that represents the flow:
CheckoutFlow, a checkout tag appears in the session. When they leave (or the component unmounts), the tag closes. In the dashboard you’ll see the exact duration they spent in checkout.
Next.js example — tag a page or route group
Multiple concurrent tags
You can have multiple active tags at once — Tracelit stacks them:Trigger mode + feature tagging
If you setreplay.mode: 'trigger', recording only starts when you call startReplay(). This is useful on high-traffic sites where you only want recordings of specific flows: