segment-boneyard / analytics-magento

[DEPRECATED] The hassle-free way to integrate analytics into any Magento store.
15 stars 19 forks source link

Address Traits #62

Closed ianstormtaylor closed 10 years ago

ianstormtaylor commented 10 years ago

Relating to #61, while I was looking through the account fields in the interface, it seems like a user has a default billing address tied to their account. It would be good for us to add this as traits, so that they will get populated in CRM tools. Here are the traits we recognize for addresses:

{
  city: String,
  country: String,
  postalCode: String,
  state: String,
  street: String
}

Can we add those traits to the identify call for the user? Just using their default address, instead of us trying to get smart and record all of them.

astorm commented 10 years ago

Added default address information to identify traits.