Skip to content
Browse files

Added support for all special_properties in people api

  • Loading branch information...
1 parent 6d3e533 commit f72b69df8619433ec676e4103d37ef9cd443543f @RSO RSO committed Jul 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/mixpanel/tracker.rb
View
4 lib/mixpanel/tracker.rb
@@ -17,10 +17,10 @@ def initialize(token, env, async = false, url = 'http://api.mixpanel.com/track/?
def append_event(event, properties = {})
append_api('track', event, properties)
end
-
+
def append_person_event(properties = {})
# evaluate symbols and rewrite
- special_properties = %w{email created}
+ special_properties = %w{email created first_name last_name last_login}
special_properties.each do |key|
symbolized_key = key.to_sym
if properties.has_key?(symbolized_key)

0 comments on commit f72b69d

Please sign in to comment.
Something went wrong with that request. Please try again.