                  (gstring/format "/api/v1/project/%s/enable" project)
                  :stop-building-project
                  api-ch
-                 :context {:project-id project-id})
-    (analytics/track {:event-type :project-builds-stopped
-                      :current-state current-state
-                      :properties {:org org-name
-                                   :repo repo-name}})))
+                 :context {:project-id project-id}
+                 :events {:success #(analytics/track {:event-type :project-builds-stopped
+                                                      :current-state current-state
+                                                      :properties {:org org-name
+                                                                   :repo repo-name}})})))
 
 ;; XXX: clean this up
 (defmethod post-control-event! :container-parent-scroll

                 :unfollow-project
                 api-ch
                 :params {:vcs-type (:vcs_type repo)}
                 :context {:project-id project-id})
    (analytics/track {:event-type :project-unfollowed
                      :current-state current-state
                      :properties {:org org-name
                                   :repo repo-name}})))

(defmethod post-control-event! :stopped-building-project
  [target message {:keys [vcs-url project-id]} previous-state current-state]

                 :follow-repo
                 api-ch
                 :params {:vcs-type (:vcs_type repo)}
                 :context repo
                 :events {:success #(analytics/track {:event-type :project-followed
                                                      :current-state current-state
                                                      :properties {:org org-name
                                                                   :repo repo-name}})})))


(defmethod control-event :inaccessible-org-toggled
