# Sidetracker — how to use (mcp.ai)

Connect your Sidetracker account and use 3 tools for analytics straight from your AI agent. Connect with your own API key. Sidetracker is a cookie-free web analytics platform that tracks website visitors, sales funnels, and customer journeys. It provides real-time session tracking, lead management, conversion tracking, and marketing campaign analytics without relying on cookies.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_sidetracker?ms=1787295720000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `sidetracker_generate_qrcode`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/sidetracker`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/sidetracker/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/sidetracker/generate/qrcode` — Tool to generate a QR code for a given URL. Use when you need to create trackable QR codes.
  - body: { url: string }
- `POST https://api.mcp.ai/api/sidetracker/get/list/details` — Tool to retrieve details of a specific list by its ID. Use after confirming the list ID is correct.
  - body: { list_id: string }
- `POST https://api.mcp.ai/api/sidetracker/get/lists` — Tool to retrieve lists from Sidetracker. Use when you need to paginate through available lists.
  - body: { page?: integer, page_size?: integer }

## Example prompts
- "What can I do in Sidetracker?"
- "Show me a summary of my Sidetracker account"

## More
- Page: https://mcp.ai/sidetracker
- Agent spec (llms.txt): https://mcp.ai/sidetracker/llms.txt
- Postman collection: https://mcp.ai/sidetracker/postman.json
