AI traffic analytics: measure agent sessions and customer outcomes
Measure AI agent sessions, crawler requests, and assistant referrals separately. Track coverage, conversions, and completed tasks with Marshy.
Dev Shah6 min read
AI traffic analytics should separate three things: crawlers fetching pages, people arriving from an AI assistant’s recommendation, and agents operating the website. Measure each at its own unit, then connect classified browser sessions to completed customer tasks. Marshy supplies browser-session context; request logs, referral analytics, and backend outcomes complete the report.
Start with classification coverage and a clearly named denominator. A single “AI traffic” percentage can conceal missing verdicts, shared accounts, retries, and valuable agent-assisted conversions.
Separate referrals, crawlers, and browser agents
| Activity | Example | Where to measure | What the observation does not establish |
|---|---|---|---|
| Assistant referral | A customer clicks a product recommendation | Session-source analytics | That an agent operates the resulting session |
| Crawler or fetcher | A request collects a public page | Trusted edge/server logs and identity verification | A distinct human visit or completed task |
| Interactive agent | Software navigates a basket or onboarding flow | Marshy browser sessions and backend outcomes | A provider name without attribution evidence |
For the first row, use the GA4 referral tutorial. Keep it alongside the Marshy session report rather than combining the two under one unexplained AI percentage.
A practical weekly report has four views: discovery requests, observable assistant referrals, classified browser sessions with coverage, and server-confirmed customer outcomes. The same customer journey can appear in more than one view, so these counts should not be added together as distinct visitors.
Choose the right unit
| Unit | What it measures | Common reporting mistake |
|---|---|---|
| HTTP request | Network activity and resource load | Calling every request a customer visit |
| Browser session | A bounded website journey | Assuming every session represents a distinct person |
| Account | An authenticated customer relationship | Assuming its operator never changes |
| Task | A defined intended outcome | Counting retries as separate completed tasks |
| Business operation | A server-confirmed action | Equating a button click with completion |
Keep crawler requests separate from your interactive-product funnel. Maintain API usage alongside browser sessions if customers can complete the same task through either path.
Report classification coverage beside agent share
Marshy's reporting uses the underlying API's session totals. The session and analytics documentation defines agent_share using decided visits and exposes decided and undecided totals. Those distinctions should remain visible in your dashboard.
Consider this illustrative dataset, not a measurement of any customer or vendor:
| Session result | Count |
|---|---|
| Classified human | 640 |
| Classified agent | 160 |
| No human-or-agent decision | 200 |
| All sessions | 1,000 |
Classification coverage is 800 / 1,000, or 80%. Agent share among decided sessions is 160 / 800, or 20%. Classified-agent sessions as a share of all observed sessions is 160 / 1,000, or 16%.
Each figure describes a different denominator. None establishes the true proportion of agents without considering detector errors and the unclassified group.
Prefer a statement such as: “20% of decided browser sessions were classified as agents, with 80% coverage.” Avoid presenting the decided-session result as an unconditional fact about every visit.
Preserve review and no-verdict states
Marshy's integration reports human, agent, and review, as defined in the underlying verdict documentation. Some visits end before there is enough evidence for a verdict.
Do not collapse review or missing results into your human cohort for reporting convenience. Keep the original result and the operational treatment separate: you may allow a review session to continue while still reporting it as uncertain.
Classification coverage can change when you change page instrumentation, task length, consent behavior, or the mix of visitor journeys. Check those factors before interpreting a sudden shift as a change in your audience.
Capture a classification alongside the journey
After installing your Marshy integration's snippet, use the following browser debugging example to capture its verdict event. The underlying SDK uses the event name resemble:verdict. Register the listener before the SDK can emit its verdict; the callback API is another option when your initialization flow needs replay of an existing result.
window.addEventListener("resemble:verdict", (event) => {
const { verdict, kind, sessionId } = event.detail;
console.info("visitor_classified", {
sessionId,
verdict,
kind,
});
});
For production reporting, replace console output with your own approved analytics integration. Preserve the session correlation and join the result to the journey. Do not send secrets, form contents, or complete customer records just to capture a classification.
The browser event is an observation channel. Your server should determine whether an operation succeeded and whether the account had permission to perform it.
Measure conversions without discarding agent customers
Suppose the example dataset includes 30 signups from classified-human sessions and 20 from classified-agent sessions. Their session conversion rates are 30 / 640, or approximately 4.69%, and 20 / 160, or 12.5%.
Those numbers do not show that agents cause higher conversion. The groups may differ in task, traffic source, customer intent, and length of interaction. Segmentation describes a pattern; an experiment or further investigation is needed to explain it.
Report the combined commercial result too. An assistant completing a genuine customer's task can produce a valuable conversion. Removing those outcomes from your revenue view would obscure part of the business.
For authenticated workflows, use backend operation records and account attribution. Keep session, account, and task counts separately so shared sessions and retries do not inflate your totals.
Track task friction and policy impact
A useful operational dashboard includes task completion, failed operations, rate-limit responses, time to completion, and customer handoffs. Compare these before and after changing a policy.
For expensive tasks, report resource use per completed operation. Repeated unsuccessful attempts can raise cost while leaving the headline conversion rate unchanged.
When a challenge or restriction is introduced, inspect legitimate task failures and support contacts alongside prevented abuse. A cleaner-looking funnel is not automatically a better product.
Provider reporting needs an evidence column
Keep “provider verified,” “provider inferred,” and “provider unknown” separate. Do not rename every automated session after the latest assistant you read about.
For provider-specific investigation paths, use the guides to Muse, Grok Bot, and Codex and ChatGPT. For policy experiments, see what to do when agents use your product.
Start with a session report and one server-confirmed outcome. Add coverage, uncertain results, and the access surface before making decisions from a single agent-share percentage. Marshy AI agent detection gives your team a place to investigate those browser sessions. Create your Marshy integration, and refer to the technical overview for the underlying detection approach.
Sources checked October 8, 2026. All numerical examples are illustrative and are not vendor or customer performance claims.