Automatic Collection
Once enabled, the SDK automatically captures LLM interactions — intercepting fetch calls to AI endpoints, scanning chat DOM elements, and recording submit actions. No extra code required.
LLM Chat Precision
Use the llmPath config to tell the SDK exactly which route in your app contains the AI chat. This ensures data collection only activates on relevant pages.
Config
llm: {
llmPath: "/chat" // only capture on this route
}If your chat lives at /app/assistant, set llmPath: "/app/assistant".
Consent Gating
LLM data collection only activates after the user explicitly opts in via the consent popup. Users can revoke access at any time through the privacy settings panel.