Who is on a site now
Visitors in the last 5 minutes, and the pages people looked at in the last 30.
Free*
*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.
An example
We just posted the tune-up special on Instagram. How many people are on the site right now?
Your agent callsanalytics_realtimeFree*
The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.
{
"site": "halversoncycle.example"
}Use it when
Someone asks who is on the website right now, say just after a post or a newsletter went out.
- For the numbers for a past period, use
analytics_stats.
What comes back
How many visitors were on the site in the last 5 minutes, and the pages viewed in the last 30 with the visitors on each. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
siteRequired | string | The site's domain (e.g. halversoncycle.example) or its site_id. 4 to 253 characters. |
The call
Over MCP, call analytics_realtime on https://api.conecto.chat/mcp/analytics. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/analytics_realtime \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"site":"halversoncycle.example"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No site the business counts has that domain or site_id. | Call analytics_list_sites and use a domain from it. |
More Website analytics tools
All 18 tools- Set a site's goals
analytics_set_goalsSets the conversions a site counts: pages reached or events, replacing its goals; with notify, the agent hears of each one as it happens.Free - Define events without touching the site
analytics_define_eventsDefines events from what the script already sees (clicks, pages, scrolling, time on a page, props), with nobody editing the site.Free - Track events from outside the site
analytics_trackRecords events that happen away from the site, like orders, deals won or renewals, tied to the visit that led to them when it can be found.Free - See where people drop off
analytics_funnelHow many visitors did each step of a path in order, and how many dropped out at each one.Free* - See where people go
analytics_pathsWhere visits went after a page and where they came from, or the commonest journeys through the site.Free* - See where people click and scroll
analytics_heatmapA page's heatmap: the most clicked elements, rage and dead clicks, scroll depth and time on page, with a link that draws it.Free* - Find what is broken for visitors
analytics_problemsPages that answered an error to visitors, JavaScript errors, and where people rage-click or click with nothing happening.Free* - Check how fast pages are for real visitors
analytics_web_vitalsHow fast the site's pages are for real visitors: Core Web Vitals at the 75th percentile, rated the way Google rates them.Free*
Read next: What is an MCP server?
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md