Problem
A growing mobile app needs far more than the handful of events it launched with. Citydrive tracked 10 key events in the booking flow at the start and now tracks 700. Without agreed standards, the same event can be implemented differently on each platform, and the data cannot be compared.
Example from the article: before the team had a standard for tagging specs, the "map opened" event was logged only on the first open at app launch on one platform and on every open on the other. The two platforms gave data that did not match.
Solution in brief
Citydrive built the logging system in-house. The analyst writes a tagging spec for every new event: a naming rule, mandatory parameters, custom parameters and a text description of when the event fires. Developers implement it from the JSON in the spec, and the data engineer prepares parsing of the new fields. Events go through a logger and Kafka into the analytical storage.
Questions this case answers
- How to design and maintain an in-house client event logging scheme so that the same user action produces comparable records on every platform
- How to organize the cross-team process that takes a new event from the idea to a table in the analytical storage
- How to design an event tracking plan for a mobile app so that events are comparable across platforms?
- How to name events and split parameters into mandatory and custom ones?
Tools and methods
- UI interaction logging — client-side events with names and parameters, sent as JSON
- Tagging spec — JSON plus firing conditions, constraints, mockup link, parameter descriptions, author and date
- Apache Kafka — message broker that moves JSON from the app to the analytical storage
- Funnel analysis — install-to-first-trip report built on the events
- MyTracker — optional third-party data bus for standard reports
Google or a one-time email code. No password.
