# Tracking Methods

All browser options require the tracker script and an `ed_` tracking key.

- HTML attributes: https://www.eventda.sh/docs/tracking/html-attributes.md — `data-ed-goal`, `data-ed-scroll`
- JavaScript SDK: https://www.eventda.sh/docs/tracking/javascript-sdk.md — `window.eventDash`
- REST ingest: https://www.eventda.sh/docs/tracking/api.md — `POST /api/events`, `POST /api/goals`

Prefer attributes for common CTAs. Use the SDK when you need to fire a goal from logic. Use REST from backends and workers.
