Based on T144239 and https://meta.wikimedia.org/wiki/Schema:Kartographer,
History
- T149140: Implement first phase of map event logging
- T149834: Implement second phase of map event logging
- T151929: Implement third phase of map event logging
Implementation
Buckets:
- 1:100 (1%) of users in the test group.
- 99% of users are not being tested.
Amongst this test group, the second phase triggers these events:
( events currently logged in production)
type | per-event sampling | description | optional duration | optional extra | |
---|---|---|---|---|---|
view | 1:100 | user views this feature without explicit interaction to start | no | route(string) | |
open | 1:1 | user opens this feature | no | route(string) | |
hashopen | 1:1 | user was lead to a URL with map hash, resulting in a fullscreen map being displayed | no | route(string) | |
close | 1:1 | end of feature usage | yes | route(string) | |
sidebar-show | 1:1 | show sidebar in full screen | no | route(string) | |
sidebar-hide | 1:1 | hide sidebar in full screen | no | route(string) | |
sidebar-click | 1:1 | click on one of the ext service in the infobox | no | route(string), service(string), type(string) | |
sidebar-type | 1:1 | switch shown infobox types to a different one | no | route(string), type(string) | |
drag | 1:100 | user dragged the map around | no | route(string) | |
zoom | 1:100 | user changed zoom | no | route(string) | |
marker-click | 1:1 | user clicked/tapped on a marker on map | no | route(string) | |
map-click | 1:100 | user clicked/tapped on map | no | route(string) | |
discovery | 1:1 | user goes to another page thanks to this feature | no | route(string), destination (enum: internal/interwiki/external) | |
activate | 1:1 | for mapframe's static snapshot, user clicked to interact with the map | no | route(string) | |
wv-warn | 1:1 | external data viewing warning is shown | no | route(string) | |
wv-warn-agree | 1:1 | external data viewing was accepted | no | route(string) | |
wv-warn-reject | 1:1 | external data viewing was rejected | no | route(string) | |
wv-select-wmflayer | 1:1 | switched to wmflayer | no | route(string) | |
wv-select-exlayer | 1:1 | switched to non-wmf layer (after warning) | no | route(string) | |
wv-show-layer | 1:1 | a wmf layer was enabled | no | route(string) | |
wv-hide-layer | 1:1 | a wmf layer was hidden | no | route(string) | |
wv-show-exlayer | 1:1 | an external layer was enabled | no | route(string) | |
wv-hide-exlayer | 1:1 | an external layer was hidden | no | route(string) | |
wv-show-nearby | 1:1 | nearby markers button was pushed (enabled) | no | route(string) | |
wv-hide-nearby | 1:1 | nearby markers button was pushed (disabled)" | no | route(string) | |
Events still not triggered yet:
- shape-click: user clicked/tapped on a geoshape overlay
Review
TODO