Actually Tracking

Insights

Query analytics data including metrics, pages, referrers, devices, and geo breakdowns.

Authentication

Requires a read or root client — the default write client does not have access. See the Authentication guide.

Base URL

https://api.actuallytracking.com/insights/{projectId}

Available endpoints

EndpointDescription
GET /metricsVisitors, sessions, bounce rate, and engagement
GET /liveCurrent active visitor count
GET /live/mapThe realtime map: who is on the site now, where they are, and what they just did
GET /funnels/{funnelId}Run a saved funnel
GET /botsAI crawlers and bots: visits by group, verified and spoofed, pages AI crawlers read
GET /pagesTop pages by sessions
GET /referrerTraffic sources
GET /country, /region, /cityGeographic breakdown
GET /device, /browser, /osDevice and technology breakdown
GET /utm_source, /utm_campaign, …UTM parameter breakdown

Most endpoints accept startDate, endDate, range, filters, cursor, and limit query parameters.

For full schemas and all available endpoints, see the API Reference.

Realtime map

GET /insights/{projectId}/live/map answers with what the dashboard's realtime map shows, for the last 30 minutes:

FieldWhat it is
activeVisitorsVisitors active right now, the same count as /live
locations[]Map points: country, city, lat, long and how many sessions are there
visitors[]One row per session, most recently active first (up to 100): sessionId, profileId, profile (name, email and avatar once you identify them, else null), firstSeenAt, lastSeenAt, currentUrl (their latest page), referrer, referrerName, location, system (browser, os, device), pageviews and revenueCents
recentEvents[]The latest 30 events other than pageviews: name, sessionId, url, country, revenueCents, properties
recentPayments[]The latest 30 events that carried revenue, refunds included
curl https://api.actuallytracking.com/insights/YOUR_PROJECT_ID/live/map \
  -H "actuallytracking-client-id: YOUR_CLIENT_ID" \
  -H "actuallytracking-client-secret: YOUR_CLIENT_SECRET"

The same answer is the get_realtime tool in MCP, and actually-tracking live in the CLI.

On this page