Class: Rack::Tracker::GoSquared
- Defined in:
- lib/rack/tracker/go_squared/go_squared.rb
Defined Under Namespace
Classes: VisitorInfo, VisitorName
Constant Summary
Constants included from JavaScriptHelper
JavaScriptHelper::JS_ESCAPE_MAP
Instance Attribute Summary
Attributes inherited from Handler
Instance Method Summary collapse
Methods inherited from Handler
#dnt_header_opt_out?, #events, #handler_name, #initialize, #inject, process_track, #render, track, #tracker_options, #write_event
Methods included from JavaScriptHelper
Constructor Details
This class inherits a constructor from Rack::Tracker::Handler
Instance Method Details
#tracker ⇒ Object
14 15 16 |
# File 'lib/rack/tracker/go_squared/go_squared.rb', line 14 def tracker [:tracker] end |
#trackers ⇒ Object
18 19 20 |
# File 'lib/rack/tracker/go_squared/go_squared.rb', line 18 def trackers [:trackers] end |
#visitor_info ⇒ Object
26 27 28 |
# File 'lib/rack/tracker/go_squared/go_squared.rb', line 26 def visitor_info events.select{|e| e.kind_of?(VisitorInfo) }.first end |
#visitor_name ⇒ Object
22 23 24 |
# File 'lib/rack/tracker/go_squared/go_squared.rb', line 22 def visitor_name events.select{|e| e.kind_of?(VisitorName) }.first end |