If you can target a property being non-empty, add a tracking property with the value of Discourse.User.currentProp('username') .
If you can target a property being non-empty, add a tracking property with the value of Discourse.User.currentProp('username') .