UserPropertiesSchema

interface UserPropertiesSchema { visitor_type?: string; customer_id?: string; customer_email?: string; customer_phone?: string; customer_first_name?: string; customer_last_name?: string; customer_address_city?: string; customer_address_province?: string; customer_address_province_code?: string; customer_address_country?: string; customer_address_country_code?: string; customer_address_zip?: string; customer_order_count?: number; customer_total_spent?: number; customer_tags?: string; }

Source: index.ts:46

Visitor and customer identity fields attached to analytics events as user_properties.


Properties

visitor_type: string

customer_id: string

customer_email: string

customer_phone: string

customer_first_name: string

customer_last_name: string

customer_address_city: string

customer_address_province: string

customer_address_province_code: string

customer_address_country: string

customer_address_country_code: string

customer_address_zip: string

customer_order_count: number

customer_total_spent: number

customer_tags: string