Class: GoogleAnalytics::Events::TrackPageview
- Inherits:
-
GoogleAnalytics::Event
- Object
- GoogleAnalytics::Event
- GoogleAnalytics::Events::TrackPageview
- Defined in:
- lib/google-analytics/events/events.rb
Instance Attribute Summary
Attributes inherited from GoogleAnalytics::Event
Instance Method Summary collapse
-
#initialize(page = nil) ⇒ TrackPageview
constructor
A new instance of TrackPageview.
Constructor Details
#initialize(page = nil) ⇒ TrackPageview
Returns a new instance of TrackPageview.
41 42 43 |
# File 'lib/google-analytics/events/events.rb', line 41 def initialize(page = nil) page && page != '' ? super('_trackPageview', page) : super('_trackPageview') end |