== Background
With reference to the [[ https://docs.google.com/spreadsheets/d/1zbz52jUbSGteSUvNmZBlKaGXWJUf9pRnbARz1wtKP9M/edit?gid=0#gid=0 | Instrumentation Spec ]] and [[ https://phabricator.wikimedia.org/T402210 | Parent Ticket ]], this task is for instrumenting all part of the Reading List Experiment for which the UI is present and ready.
=== Design requirements
| {F65779852 width=400} |
| clicks on article view |
== Requirements
- [] A custom instrument is written to enable click tracking for the initial Reading list on web experiment
- [] Implement the following instrumentation events:
[] **Common contextual attributes for all events** - //stream configuration should capture these//
```
- agent_client_platform
- agent_client_platform_family
- page_content_language
- page_namespace_id
- mediawiki_skin
- mediawiki.database
- performer.is_logged_in
- performer.is_temp
- performer.is_bot
- performer.edit_count_bucket
- performer.session_id
- dt
- meta.dt
```
[] **Page load event** - //Whenever a page loads and the user is in the experiment//
```
action: page_load
action_source: internal_referer / external_referer
```
[] **Save/remove entry point clicks** - //When user clicks the bookmark button from either toolbar, sticky header or page tools.//
```
action: click
action_subtype: save_article_to_reading_list / remove_article_from_reading_list
action_source:sticky_header / toolbar
action_context={article_count: <INT>}
```
[] **Views of reading list from article page** - //User clicks to view reading list icon on the top of the page//
```
action: click
action_subtype: view_reading_list
action_source: top_right
```