"""Analytics module -- event recording and dashboard queries.""" from __future__ import annotations