Get live traffic is a WordPress ability from Burst Statistics — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get live traffic
Read-onlyList the individual sessions currently active on the site, along with the pages they're viewing.
Requires the Burst Statistics plugin on WordPress 6.6+. All abilities register only when the 'Enable Abilities API' setting is turned on in Burst, and the current user needs the 'manage_burst_statistics' capability. The sales-data and subscriptions-data abilities additionally require Burst Pro (the BURST_PRO constant) to be active.
What it does
This ability returns Burst's live traffic feed: a list of currently active visitor sessions, each with the page URL being viewed, a session id, timestamps, time spent on the page, and flags for whether the session is an entry, checkout, or exit. An optional limit input (1-100, defaulting to 100) caps how many sessions are returned. This lets an AI assistant inspect what visitors are doing on the site at this exact moment, beyond just a headcount.
See it in action
You ask your AI assistant
"Show me the visitor sessions that are currently active on my site and what pages they're viewing."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | Maximum number of live traffic sessions to return (1-100). Defaults to 100. |
Returns
An object with 'items' (array of live session objects each with active_time, page_url, uid, time, time_on_page, and entry/checkout/exit booleans) and 'total' (integer count of active sessions before the limit is applied).
Permission
The current user must have the 'manage_burst_statistics' capability. The ability is registered only when Burst's 'Enable Abilities API' setting is on.
More Burst Statistics abilities
Get data
Fetch Burst analytics data as either an insights time series or a specific datatable (pages, referrers, countries, campaigns, search terms, and more).
Get license notices
Return the current Burst Pro license status and any related notices.
Get live visitors
Return the current number of visitors active on the site right now.
Get sales data
Return ecommerce sales metrics — products, sale counts, and revenue — for a date range (Burst Pro only).
Get subscriptions data
Return ecommerce subscription metrics — active, canceled, and trialling subscribers plus recurring revenue — for a date range (Burst Pro only).
Get tasks
Return Burst's current onboarding/setup task list and each task's completion status.