Connect Pathmap to your tools.

Send events from your backend, query the same metrics as your reports, and authorize the sites your tools can read.

Product site · Sample data

One signup from event to report

Sample requests and responses · The example starts with an empty signup goal.

Record a completed signup. Send the event from your backend with its original ID and time.

API request
POST /v1/events
Authorization: Bearer EVENTS_KEY

{
  "eventId": "4cc47d92-8567-4c78-a7c4-8ed344f10bde",
  "occurredAt": "2026-11-21T10:15:00Z",
  "name": "signup_completed"
}
Sample result
202 Accepted
{
  "result": "accepted",
  "accepted": 1
}

Give each tool the access it needs

Use a site Events key to record actions and a separate Stats key to read reports. The example records a signup and reads a count of one for the configured goal.

Connect a compatible MCP client using a Stats key or a scoped OAuth grant. With a workspace read grant, the client reads the sites allowed by your current membership. Revoke client access under Account → Authorized apps.

See API keys and client authorization setup

Use the CLI or take the data to your warehouse

Use the CLI to query analytics from a terminal with a scoped access token. Use the Stats API for aggregate exports. With a configured warehouse destination, schedule event or session exports for retained data.

Install and authorize the CLI · Set up scheduled exports

Start with one event and one read.

Create a workspace to issue scoped keys for your site.