What Counts as a Conversation?
A conversation is recorded when a visitor sends a message that the AI processes and responds to.
Overview
Witzo uses atomic usage tracking. This prevents overuse and ensures accurate conversation limit enforcement.
What Triggers A Conversation Count
A conversation is counted when:
- A visitor sends a message through the widget
- The request passes the atomic usage check
- The AI response process begins
Usage is deducted at the request level, not at session start.
Witzo performs a check-and-track operation before generating the AI response. If the request is valid and within limit, the usage counter increases immediately.
This prevents race conditions where multiple simultaneous chats could exceed the plan limit.
When Usage Is Deducted
Usage is deducted:
- When the visitor sends a message
- After the system validates widget key and domain
- Before the AI response is generated
If the request fails before the usage check (invalid widget key, blocked domain, inactive widget), it does not count.
If the conversation limit is already reached, the request is blocked and no new usage is deducted.
Edge Cases
Multiple Messages in One Session
Each visitor message that triggers AI processing counts toward usage.
Page Refresh
Refreshing the page does not count as a conversation unless a new message is sent.
Fallback Lead Form Submission
Submitting the fallback lead form does not count as a conversation.
Failed AI Response After Deduction
If the request passes the atomic check, usage is counted even if the response fails later.
This ensures strict and consistent usage accounting.