==== Background
Following on from T296415, we'd like to know how many users are enabling or disabling IP Info via Special:Preferences, and agreeing to or disagreeing with (?) IP Info's terms of use.
==== AC
[] When I enable IP Info, an event should be logged
** The `event_action` property should be `"enable_ipinfo"`
[] When I agree with IP Info's terms of use via the infobox (on Special:Contributions), an event should be logged** The `event_context` is `page` and the `event_source` is `special_preferences`
** The `event_action` property[] When I disable IP Info, an event should be `"check_iagree"`logged
** The `event_sourceaction` property should be `"disable_ipinfobox"`"`
** The `event_context` is `page` and the `event_source` is `special_preferences`
==== Notes
1. See the `current.yaml` files in the subdirectories in https://gerrit.wikimedia.org/r/plugins/gitiles/schemas/event/secondary/+/refs/heads/master/jsonschema/analytics/mediawiki for numerous examples of JSON Schema schemas that are used in production
1. [[ https://wikitech.wikimedia.org/wiki/Event_Platform/Instrumentation_How_To | wt:Event Platform/Instrumentation How To ]] is a step-by-step guide to creating a creating a schema and validating an event with it
1. https://www.mediawiki.org/wiki/MediaWiki-Docker/Configuration_recipes/EventLogging is a step-by-step guide to setting up your local development environment