mirror of
https://github.com/suitenumerique/meet.git
synced 2026-07-27 04:09:26 +00:00
9ba97fd14f
Add an analytics abstraction that allows configuring which analytics solution the app uses. PostHog is implemented as one backend, but by default no analytics backend is activated. The goal is to track events in a sufficiently organized way and to let any developer implement their own backend as long as it follows the same protocol.
11 lines
248 B
Python
11 lines
248 B
Python
"""Catalog of all analytics events emitted by the backend."""
|
|
|
|
from enum import StrEnum
|
|
|
|
|
|
class AnalyticsEvent(StrEnum):
|
|
"""All trackable events. Values are the wire names sent to the provider."""
|
|
|
|
# Rooms
|
|
ROOM_CREATED = "room_created"
|