analytics_realtime
Who is on the site right now (GA4 realtime) read-only
Description
WHO IS ON THE SITE RIGHT NOW — GA4's realtime report, covering roughly the last 30 minutes. Use it to see a launch, a post or a campaign landing in real time. IT IS A DIFFERENT REPORT WITH A DIFFERENT METRIC SET, NOT a shortcut for analytics_report: realtime accepts activeUsers, screenPageViews, conversions and eventCount, and REJECTS `sessions` outright — asking for sessions here returns an error, not a zero. Realtime dimensions are also narrower (unifiedScreenName, country, deviceCategory, platform, eventName …) and there is no date range at all. The property is the NUMERIC id from list_analytics_properties, never the G-XXXXXXX Measurement ID. Read-only, 0 credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
propertyrequired | string | the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name |
metrics | string[] | realtime metric names — default ["activeUsers"]. NOT the same set as analytics_report; `sessions` is not a realtime metric |
dimensions | string[] | realtime dimension names, e.g. ["country"] or ["unifiedScreenName"] |
limit | number | rows, 1–1000 (default 50) |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/analytics_realtime.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"analytics_realtime","arguments":{"property":"<string>"}}}
CLI
hermoso call analytics_realtime --json '{"property":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
analytics_reportRun a GA4 reportlist_analytics_propertiesList the GA4 properties shared with this profilelist_analytics_definitionsList a GA4 property’s key events and custom dimensionscreate_analytics_key_eventMark a GA4 event as a key event (conversion)create_analytics_custom_dimensionCreate a GA4 custom dimensionlist_analytics_metadataWhat a GA4 property can be askedarchive_analytics_custom_dimensionArchive a GA4 custom dimensiondelete_analytics_key_eventStop counting a GA4 event as a conversioncreate_analytics_custom_metricRegister a GA4 custom metricarchive_analytics_custom_metricArchive a GA4 custom metric (one-way)