== Background
Readers Web have run numerous A/B tests for Page Previews and has been reporting their results as part of {T182315} and {T182314}.
The bucketing code for A/B testing will likely not be used any more now that the feature is live for all anonymous users on all Wikipedias. The [[https://meta.wikimedia.org/wiki/Schema:Popups|Popups]] EventLogging instrumentation still provides significant additional information compared the new [[https://meta.wikimedia.org/wiki/Schema:VirtualPageView|VirtualPageView]] schema introduced for {T182414}. But the Popups instrumentation is not used currently, and increases the size and complexity of the codebase.code
== AC
[] `ext.popups.core.previewCount` is deleted from localStorage, if it's presentThe config option PopupsAnonsExperimentalGroupSize and related code is removed.
[] The `./counts` module is removed.
[] The following properties are removed from the `BOOT` action:
- `sessionToken`
- `pageToken`
- `page`
- `user.editCount`
- `user.previewCount`When PopupsEventLogging is enabled it will continue to log events for all users (we don't plan on using this, but a decision still remains about how we might use this again (see T193051)
[] 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.
== Sign off steps
The following should be done as part of the sign off process:
[] [The Popups schema](https://meta.wikimedia.org/wiki/Schema:Popups) is marked as inactive.
[] Record the assets size change by disabling the code.