Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class ApplicationController < ActionController::Base
...
def track_event
mixpanel.track(event_user, event_name, event_properties)
end
handle_asynchronously :track_event
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment