class Staccato::NoopTracker
A tracker which does no tracking
Useful in testing
Attributes
hit_defaults[RW]
Public Class Methods
new(id = nil, client_id = nil, hit_defaults = {})
click to toggle source
(see Tracker#initialize)
# File lib/staccato/tracker.rb, line 213 def initialize(id = nil, client_id = nil, hit_defaults = {}) self.hit_defaults = hit_defaults end
Public Instance Methods
adapter=(*)
click to toggle source
# File lib/staccato/tracker.rb, line 217 def adapter=(*) [] end
add_adapter(*)
click to toggle source
# File lib/staccato/tracker.rb, line 221 def add_adapter(*) [] end
build_event(options = {})
click to toggle source
(see Tracker#build_event
)
# File lib/staccato/tracker.rb, line 240 def build_event(options = {}); end
build_pageview(options = {})
click to toggle source
(see Tracker#build_pageview
)
# File lib/staccato/tracker.rb, line 236 def build_pageview(options = {}); end
client_id()
click to toggle source
(see Tracker#client_id
)
# File lib/staccato/tracker.rb, line 231 def client_id nil end
default_uri()
click to toggle source
# File lib/staccato/tracker.rb, line 262 def default_uri Staccato.ga_collection_uri end
event(options = {})
click to toggle source
(see Tracker#event
)
# File lib/staccato/tracker.rb, line 242 def event(options = {}); end
exception(options = {})
click to toggle source
(see Tracker#exception
)
# File lib/staccato/tracker.rb, line 246 def exception(options = {}); end
id()
click to toggle source
(see Tracker#id
)
# File lib/staccato/tracker.rb, line 226 def id nil end
pageview(options = {})
click to toggle source
(see Tracker#pageview
)
# File lib/staccato/tracker.rb, line 238 def pageview(options = {}); end
timing(options = {}) { || ... }
click to toggle source
(see Tracker#timing
)
# File lib/staccato/tracker.rb, line 248 def timing(options = {}, &block) yield if block_given? end
track(params = {})
click to toggle source
(see Tracker#track
)
# File lib/staccato/tracker.rb, line 259 def track(params = {}) end
transaction(options = {})
click to toggle source
(see Tracker#transaction
)
# File lib/staccato/tracker.rb, line 252 def transaction(options = {}) end
transaction_item(options = {})
click to toggle source
(see Tracker#transaction_item
)
# File lib/staccato/tracker.rb, line 255 def transaction_item(options = {}) end