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.
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.
