Segmenting a List of Objects

In this article

A useful guide on how to segment by Min, Max, Mean, Sum and Product

If the property being used to build a segment is type List of Objects a different method of segmentation will appear.

In this example, if  you have an event with a field containing a list of objects like this:

"keywords": [
{
"text": "Cersei Lannister"
"relevance" : 0.664669
},
{
"text": "last night's episode"
"relevance" : 0.661872
},
{
"text": "Game of Thrones"
"relevance" : 0.641438
},
You might want to define a segment for users where the text "Game of Thrones" in the list has a relevance greater than 0.6, in the segment builder it would look something like this:mceclip1.png


This would be true for the example above, since "relevance" = 0.641438 in the "Game of Thrones" object. 

You could also specify further filters based on other properties of the event, for example:

mceclip2.png

This segmentation would also be true for the example above, since both objects in the list have a relevance more than 0.6.

The other operators ("Max", "Min", "Mean", "Sum" and "Product") work as you would expect for the numeric fields in a list of objects.

If you have any questions, please contact customer support by emailing support@permutive.com or chat to the Customer Operations Team via the LiveChat icon in the bottom right corner of your screen.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request