Closed ianstormtaylor closed 10 years ago
Which events are we adding these to?
I think what he was looking for was to identify
a user with those traits, instead of related to an event.
Ian, "you think what he was looking for" — I'm not clear from that. Are you saying you want these in identify if possible? Or something else?
I work for you, and for Segment, not the beta testers. I need you to synthesize their feedback into how you want your extension to work -- having me guess at what you want based on the customer feedback will just lead to burned cycles and madness. Thanks.
K sorry about that, here it is again:
Is it possible to know the number of purchases a given user has made? If so that would be good to record as a trait on identify. Same goes for total revenue a customer has "purchased". Let me know and I can come up with the right trait name to use.
I'll try to be more clear about when I'm looking for Magento expertise and best-practices vs. when we have a hard requirement.
Magento doesn't expose that information directly — there are aggregate reports, but not all systems have these reports setup. The two bits of information you're after though are relativly easy to query for directly in the database (if you know what you're doing). I've added a total_orders
and total_purchased
to the identity
call. You can see them below as 1
and 30.0000
below (new user, only one order)
From a beta tester email:
Some of those sound weird or hard, but @astorm what do you think? Number of purchases sounds like a really useful one if Magento exposes that. Total spent could also be interesting. Not sure what the SKUs would be about