Who is on my site right now
get_live_visitorsWho is on one site right now, as the dashboard's Live tab shows it: everyone active in the last few minutes, each with the page they are on, the page their visit began on, how many pages they have opened, the source and campaign that brought them, country, device, browser, operating system and screen size, when the visit started, and their last few pages. Visitors are anonymous: the id is a short hash for telling them apart within this answer, nothing more.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_live_visitors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Which site: its domain (for example example.com) or its id from list_sites. Leave it out for the account's first site. |