Module: Mixpanel::Helper::TrackerProperties

Defined in:
lib/mixpanel/helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mixpanel_propertiesObject

Returns the value of attribute mixpanel_properties.



20
21
22
# File 'lib/mixpanel/helper.rb', line 20

def mixpanel_properties
  @mixpanel_properties
end

Instance Method Details

#track(event_name, properties = {}, options = {}) ⇒ Object



22
23
24
# File 'lib/mixpanel/helper.rb', line 22

def track(event_name, properties = {}, options = {})
  super event_name, mixpanel_properties.merge(properties), options
end