     share_click: ->
         description = ReactDOM.findDOMNode(@refs.share_description).value
         @props.actions.set_public_path(@props.checked_files.first(), {description: description})
+        analytics_event('project_file_listing', 'share item')
 
     stop_sharing_click: ->
         @props.actions.disable_public_path(@props.checked_files.first())
+        analytics_event('project_file_listing', 'stop sharing item')
 
     render_share_warning: ->
         <Alert bsStyle='warning' style={wordWrap:'break-word'}>

    on_create_button_clicked: ->
        if @props.file_search.length == 0
            @props.actions.toggle_new()
            analytics_event('project_files', 'search_create_button', 'empty')
        else if @props.file_search[@props.file_search.length - 1] == '/'
            @props.create_folder()
            analytics_event('project_files', 'search_create_button', 'folder')
        else
            @props.create_file()
            analytics_event('project_files', 'search_create_button', 'file')

    render: ->
        <SplitButton

                    dest           : misc.path_to_file(rename_dir, destination)
                    dest_is_folder : false
                    include_chats  : true
                analytics_event('project_file_listing', 'rename item')
            when 'duplicate'
                @props.actions.copy_paths
                    src           : @props.checked_files.toArray()
                    dest          : misc.path_to_file(rename_dir, destination)
                    only_contents : true
                analytics_event('project_file_listing', 'duplicate item')
        @props.actions.set_file_action()
        @props.actions.set_all_files_unchecked()

