Skip to content

Instantly share code, notes, and snippets.

View talsafran's full-sized avatar

Tal Safran talsafran

View GitHub Profile
# app/controllers/application_controller.rb
class ApplicationController < ApplicationController
include EventTracking
end
# app/controllers/concerns/event_tracking.rb
module EventTracking
extend ActiveSupport::Concern
# all dat code
class ApplicationController < ActionController::Base
...
def track_event
mixpanel.track(event_user, event_name, event_properties)
end
handle_asynchronously :track_event
...
end
# Read about this technique here:
# https://medium.com/p/e538ed6567a6
class ApplicationController < ActionController::Base
after_filter :track_event
private
EVENT_TRANSLATIONS = {
'users#create' => 'User Created',

Podia Product Survey Summer 2019

  • What’s the single MOST important thing for us to add to Podia? “If Podia had [ BLANK ], I would be the happiest person in the world”.

  • What else can we do better? I wish Podia would improve:

  • What do you find difficult or confusing in Podia?

  • What is the primary benefit that you have received from Podia?