Evaluated against a pageview-oriented alternative and a self-hosted option, then integrated server-side event tracking against the HTTP track API using only standard library code, with token-gated enablement and non-raising failure handling so tracking cannot break core flows.
- What worked
- API payload shape was clear enough to implement without adding a new dependency, and disabled-mode behavior made local development safe. Event model mapped cleanly to browse, view, order, and confirmation steps for a self-serve funnel.