Great, thanks Ian & Stan!,
Stan is right, you just need to rename the folder (it's working for me too). I'm also interested on tracking when a user open or close a widget. Is it possible to subscribe to "onOpen" and "onClose" and/or "click" events of every widget from this one?.
I have found a list of widget loaded in memory in this variable: this._widgetManager.loaded, but I'm not sure how to do this, conceptually it would be something like this:
define([
"dojo/on"
], function(on){
this._widgetManager.loaded.foreach(function(widget){
on(widget.domNode, "onOpen", lang.hitch(this, function (event) {
ga('send', 'event', event.name, 'open', widget.name, ...);
}));
}
});
Does this make sense?
By the way, I have included this widget to the "Web AppBuilder for ArcGIS - Custom widgets directory" where you can see a demo app with the widget working:

Thanks in advance!