Sha256: ca9dbe9539f664da97994b4c2bf57f5740dfd6784326ff844da9e38a65c920dd

Contents?: true

Size: 208 Bytes

Versions: 12

Compression:

Stored size: 208 Bytes

Contents

module Garails::EventHelper
  def ga_event(category, action, label = nil, value = nil)
    return unless Garails.ga_setup?
    g = Garails.gabba(request)
    g.event(category, action, label, value)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
garails-0.3.0 app/helpers/garails/event_helper.rb
garails-0.2.0 app/helpers/garails/event_helper.rb
garails-0.1.4 app/helpers/garails/event_helper.rb
garails-0.1.3 app/helpers/garails/event_helper.rb
garails-0.1.2 app/helpers/garails/event_helper.rb
garails-0.1.1 app/helpers/garails/event_helper.rb
garails-0.1.0 app/helpers/garails/event_helper.rb
garails-0.0.7 app/helpers/garails/event_helper.rb
garails-0.0.6 app/helpers/garails/event_helper.rb
garails-0.0.5 app/helpers/garails/event_helper.rb
garails-0.0.4 app/helpers/garails/event_helper.rb
garails-0.0.3 app/helpers/garails/event_helper.rb