Question

Splitting event properties for nested json

  • 9 January 2024
  • 0 replies
  • 84 views

Hi community,

Was wondering is it possible to do Splitting at 2nd level onwards?

I am able to do splitting for `products`, but was wondering is it possible to do splitting for `product offer` as well?
 

"event_name": "product added to cart"
"properties": {
"fun id": "4",
"products": [
"product name": "Chicken Breast",
"product offer": [
{
"product offer id": "1",
"product offer type": "10%"
},
{
"product offer id": "2",
"product offer type": "50%"
}
],
"product rank": "3"
}
]
},

reference article: https://help.amplitude.com/hc/en-us/articles/9623000954907-Cart-analysis-Use-object-arrays-to-drive-behavioral-insights#:~:text=Object%20array%3A%20This%20is%20a,item%2Dspecific%20attributes%20or%20properties.

Many thanks ahead!


0 replies

Be the first to reply!

Reply