             @startChatSession => @chat.showChatPane()
             @chat.hide()
             @statusBar.emit 'CollaborationStarted'
+            @collectButtonShownMetric()
 
 
   startCollaborationSession: (callback) ->

    @rtm.ready =>
      unless @workspaceData.channelId
        @statusBar.emit 'CollaborationEnded'

      @fetchSocialChannel (err, channel) =>
        if err or not channel
          @statusBar.emit 'CollaborationEnded'
          throwError err  if err
          return


    @ready =>
      @statusBar.handleCollaborationLoading()
      @statusBar.share.show()


  collectButtonShownMetric: ->

    IDEMetrics.collect 'StatusBar.collaboration_button', 'shown'


  prepareCollaboration: ->
