Class: AnalyticsImplementationController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- AnalyticsImplementationController
- Defined in:
- lib/controllers/analytics_implementation_controller.rb
Constant Summary
Constants included from AnalyticsInstrumentation
AnalyticsInstrumentation::VERSION
Instance Method Summary collapse
-
#analytics_event ⇒ Object
Exposes an endpoint to which one can ajax handwritten events.
Methods included from AnalyticsInstrumentation
#analyticsAliasUser, #analyticsApplyOriginatingPage, #analyticsCheckSessionStart, #analyticsID, #analyticsLogPageView, #analyticsSetPerson, #analyticsStoreOriginatingPage, #analyticsSuperProperties, #analyticsTrackEvent, configure, included, #raw_analytics_id
Methods included from AnalyticsAttribution
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 |