       console.error "flushing identify failed: #{err} @sent-hil"  if err
 
 
+  @track$ = secure (client, subject, options = {}) ->
+
+    { profile: { nickname } } = client.connection.delegate
+
+    event = { subject }
+
+    @track nickname, event, options
+
+
   @track = (username, mail, options = {}) ->
     # use `forcedRecipient` for both username and email
     if forcedRecipient



  @setMqClient = (m) -> mqClient = m




mqClient = null

module.exports = class Tracker extends bongo.Base

  @share()

  @set
    sharedMethods:
      static:
        track: (signature String, Object)

  KodingError = require '../error'

