Lightweight event tracking system for custom events, user actions, and page views. Stores to SQLite or JSON with built-in querying and aggregation.
Browse the actual product documentation and code examples included in this toolkit.
Key features of Event Tracker
• Custom events — Track any event with arbitrary properties • User tracking — Associate events with user IDs and sessions • Page views — Built-in shortcut for page view tracking • SQLite storage — Indexed database with efficient querying • JSON storage — Append-only JSONL files for streaming pipelines • Aggregation — Group-by stats, counts, unique users, averages
Custom events — Track any event with arbitrary properties
User tracking — Associate events with user IDs and sessions
Page views — Built-in shortcut for page view tracking
SQLite storage — Indexed database with efficient querying
JSON storage — Append-only JSONL files for streaming pipelines
Aggregation — Group-by stats, counts, unique users, averages
Configure Event Tracker parameters to see how the product works.
# Track an event
python src/event_tracker.py track "signup" --user "user_123" --props '{"plan": "pro"}'
# Track a page view
python src/event_tracker.py track "page_view" --user "user_123" --props '{"page": "/pricing"}'
# Query recent events
python src/event_tracker.py query --last 7d
# Query by e