diff --git a/modules/dt.ui.ReplyWidget.js b/modules/dt.ui.ReplyWidget.js index b7048e79e..8cf7bc84f 100644 --- a/modules/dt.ui.ReplyWidget.js +++ b/modules/dt.ui.ReplyWidget.js @@ -277,6 +277,10 @@ ReplyWidget.prototype.saveEditMode = function ( mode ) { }; ReplyWidget.prototype.onAdvancedToggleClick = function () { + mw.track( 'dt.schemaVisualEditorFeatureUse', { + feature: 'dtReply', + action: 'advanced-' + ( this.showAdvanced ? 'hide' : 'show' ) + } ); this.toggleAdvanced(); };