 ev.controller('EventsHomeCtrl', [
   '$scope'
   ($scope) ->
+    $intercom.trackEvent('events_home',
+      total_facebook_users: _.size(UserStore.users)
+      event_count: $scope.user.eventIds.length
+      event_ids: _.pluck($scope.user.events, 'id').join(",")
+      event_names: _.pluck($scope.user.events, 'name').join(",")
+      event_invited_counts: _.pluck($scope.user.events, 'invitedCount').join(",")
+    )
 ])
 
 ev.controller('TableCtrl', [

  ($scope, $routeParams, UserStore, $intercom) ->
    $scope.event = $scope.user.events[$routeParams.id]
    $intercom.trackEvent('view_gender_ratio_show',
      female_invited_count: $scope.event.genderCounts.invited.f
      male_invited_count: $scope.event.genderCounts.invited.m
      neutral_invited_count: $scope.event.genderCounts.invited.n
    )
])

            #   category: 'interesting'
            #   label: label
            # )
            $location.url('/')
            $scope.user.eventsReady = true
          , 500)
