Class: GoogleAnalytics::Events::Ecommerce::TrackTransaction

Inherits:
SingleEvent
  • Object
show all
Defined in:
lib/google-analytics/events/events.rb

Overview

JavaScript equivalent:

ga('ecommerce:send');

Instance Attribute Summary

Attributes inherited from SingleEvent

#action, #name, #params

Instance Method Summary collapse

Methods inherited from SingleEvent

#single_event?

Constructor Details

#initializeTrackTransaction

Returns a new instance of TrackTransaction.



221
222
223
# File 'lib/google-analytics/events/events.rb', line 221

def initialize
  super('ecommerce:send')
end