This task involves the work of adding instrumentation to [[ https://schema.wikimedia.org/#!/secondary/jsonschema/analytics/legacy/visualeditorfeatureuse | visualeditorfeatureuse ]]
The need for this instrumentation emerged in response to the Abstract Wikipedia Team to check the usage of search and other features in Wikifunctions in VisualEditor.
=== Requirements
| **Event to be tracked** | **event.feature** | **event.action **|
|The user changes or starts the search query| `WikifunctionsCall`| `search-change-query`|
|The user selects an function from the search results| `WikifunctionsCall` |`search-choose-function`|
|The user changes or starts the query in preview| `WikifunctionsCall`| `preview-change-query`|
|The user clicks the link to Wikifunctions while reading a function output| `WikifunctionsCall`| `function-link-click`|
===Notes and Useful Links
- When updating the event table, add the editing team engineer to review.
- [[ https://www.mediawiki.org/wiki/VisualEditor/FeatureUse_data_dictionary | FeatureUse_data_dictionary ]]
- [[ https://www.mediawiki.org/wiki/VisualEditor/Developer_glossary | VE Developer_glossary]]