def trackClick(selector, *args)
      raise 'Not enough arguments' if args.empty?
      raise 'Too many arguments' if args.size > 2

      queue << ['trackClick', selector, *args]
    end
def trackClick(selector, *args)
      raise 'Not enough arguments' if args.empty?
      raise 'Too many arguments' if args.size > 2

      queue << ['trackClick', selector, *args]
    end
The equivalent of the `KM.trackClick` method of the JavaScript API. The first
 argument should be a selector (a tag id or class name). Furthermore you can
 pass either an event name, an event name and a hash of properties, or only
 a hash of properties.