# API Reference

HTML: https://www.eventda.sh/docs/api-reference

## Event types

- `pageview` — all plans (pageUrl, pageTitle, referrer)
- `click` — all plans
- `form_submit` — all plans (PII filtered)
- `scroll` — all plans
- `goal` — all plans (`data-ed-goal`, `trackGoal`, `POST /api/goals`)
- `performance` — Standard+
- `custom` — all plans
- `error` — Standard+

Ingest: `POST /api/events`, `POST /api/goals` with `ed_` key. Read analytics: MCP https://www.eventda.sh/docs/mcp.md
