lib/posthog/field_parser.rb
# In addition to the common fields, identify accepts:
#
# - "properties"
In addition to the common fields, identify accepts:
"properties"
In addition to the common fields identify accepts : " properties "
def parse_for_identify(fields)
        common = parse_common_fields(fields)
        properties = fields[:properties] || {}
        check_is_hash!(properties, 'properties')
        isoify_dates! properties
        common.merge(
          {
            type: 'identify',
            event: '$identify',
            '$set': properties,
            properties: properties.merge(common[:properties] || {})
          }
        )
      end
def parse_for_identify ( fields ) common = parse_common_fields ( fields ) properties = fields [ :properties ] || { } check_is_hash! ( properties , 'properties' ) isoify_dates! properties common . merge ( { type : 'identify' , event : '$identify' , '$set' : properties , properties : properties . merge ( common [ :properties ] || { } ) } ) end
In addition to the common fields, identify accepts:
 "properties"
In addition to the common fields identify accepts : " properties "
fields