Class: AnalyticsImplementationController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- AnalyticsImplementationController
- Defined in:
- lib/controllers/analytics_implementation_controller.rb
Instance Method Summary collapse
-
#analytics_event ⇒ Object
Exposes an endpoint to which one can ajax handwritten events.
Instance Method Details
#analytics_event ⇒ Object
Exposes an endpoint to which one can ajax handwritten events.
4 5 6 7 8 9 |
# File 'lib/controllers/analytics_implementation_controller.rb', line 4 def analytics_event name = params[:name] properties = params[:properties] analyticsTrackEvent(name, properties) render text: "" end |