== Background
Readers Web have run numerous A/B tests for Page Previews and will be reporting their results as part of {T182315}. The EventLogging instrumentation may have been the cheapest way to record the new "page interactions" metric but has was discarded as a solution while discussing {T182414} (see [[ https://etherpad.wikimedia.org/p/t182414 | the notes ]]).
The A/B testing code EventLogging instrumentation is now redundant and only increases the size and complexity of the codebase.
== AC
[] `ext.popups.core.previewCount` is deleted from localStorage, if it's present.
[] The `./counts` module is removed.
[] The following properties are removed from the `BOOT` action:
- `sessionToken`
- `pageToken`
- `page`
- `user.editCount`
- `user.previewCount`
[] The `./getBucket` module is removed.
[] The `./reducers/eventLogging` module is removed.
[] The `./changeListeners/eventLogging` module is removed.
[] The `./isEnabled` module is tidied up by removing the `bucket` parameter.
[] The wiring code in `index.js` is removed.
[] The corresponding unit tests
[] The `actions.js` has been audited and eventLogging only data on actions has been removed (like probably `timedAction`)
* This can be done by checking which action types the `reducers/eventLogging` was acting on, and check where they are triggered in the `actions.js`, and seeing if the info there is needed in other usages in other reducers.
[] [The Popups schema](https://meta.wikimedia.org/wiki/Schema:Popups) is marked as inactive.
== Questions
[] When can we archive the Popups tables?
[] What does the EventLogging instrumentation tell us that the performance instrumentation doesn't?