1. Implement event tracking API
2. Implement event query API