Class: GoogleAnalytics::Events::ExperimentVariation

Inherits:
GoogleAnalytics::Event show all
Defined in:
lib/google-analytics/events/events.rb

Instance Attribute Summary

Attributes inherited from GoogleAnalytics::Event

#action, #name, #params

Instance Method Summary collapse

Methods inherited from GoogleAnalytics::Event

#single_event?

Constructor Details

#initialize(variation_id) ⇒ ExperimentVariation

Returns a new instance of ExperimentVariation.



106
107
108
# File 'lib/google-analytics/events/events.rb', line 106

def initialize(variation_id)
  super('set', 'expVar', variation_id.to_i)
end