Solved

Add custom property to property drop down in segment definition

  • 28 June 2022
  • 1 reply
  • 23 views

Badge +1

Hi Guys, 

Can you add a custom property to this property drop down? The blue plus suggests you can however i can’t seem to generate a working segment, always has zero customers in it. 

I want to create a a property around “product_type” however it doesn’t work...any suggestions? 

FYI I’m a Shopify user. 

Thanks! 

 

 

 

icon

Best answer by Dov 29 June 2022, 15:18

View original

1 reply

Userlevel 7
Badge +56

Hi @AliceC,

Thanks for sharing this question with us.

Indeed, you can add a custom property to this dropdown, generally speaking.

However, we can only segment off of “first-level” data, that is the any non-nested data coming from the Placed Order event. The first-level data options will pre-populate when you click on the “choose property” dropdown. Because of this, product_type (or any other nested data in this event) won't appear as a filter option in flows or segments. Even if you type it in, the segment builder won’t be able to “recognize” that nested data.

Rather than using product_type, consider tagging these particular items with “Skirt” in Shopify and segment using the “Ordered Product” event which will allow you to sort by specific tags associated with the product. Or, you can send us a custom Placed Order event (using the Track API) including the product_type data point as first-level data so we can segment off of this directly.

I hope that’s helpful. 

Reply