We have a custom property called Vehicles where we would want to store list of vehicles. I know Klaviyo only supports list of value but not object. So, though we can’t store like below:
And if we store like this:
can we segment our profiles based on make and/or model only? Could you please tell us how can we do that?
Best answer by Dov
Thanks for posting your question to the Klaviyo Community.
If you decide to store that data as a list data-type, you can only segment off of each value in the array but not a partial value. Using your example, you would be able to segment: properties about someone > TOYOTA-YARIS-2008 but not TOYOTA or YARIS in its own right.
So the solution here would be to send a value for each make/model/year together and have more values in the array i.e. [“TOYOTA-YARIS-2008”,”TOYOTA-YARIS-2015”] etc. Also keep in mind that values will override not append. So if you send only TOYOTA-YARIS-2008 and then later send TOYOTA-YARIS-2015. Only TOYOTA-YARIS-2015 will remain as a value on the profile. The next time you send a request it would have to include all previous values so [“TOYOTA-YARIS-2008”,”TOYOTA-YARIS-2015”].
I hope this helps! Thanks and have a great weekend.