Class: Satellite::Adapters::GoogleAnalytics::Utme::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/satellite/adapters/google_analytics.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



203
204
205
206
207
208
209
# File 'lib/satellite/adapters/google_analytics.rb', line 203

def to_s
  output = "5(#{category}*#{action}"
  output += "*#{opt_label}" if opt_label
  output += ")"
  output += "(#{opt_value})" if opt_value
  output
end