- Rather than using a Rails helper, we rely on JsRoutes to provide the route. - There is no need to remove the events_path if sending events is disabled, so we drop that.