Skip to main content

Hi,

 

I Have data like this

{“item”: {

   “properties”:

      p

         p “name”: “other1”, “value”: “other”],

         u “name”: “other2”, “value”: “other”],

         r “name”: “image”, “value”: “url_image”],

          “name”: “other3”, “value”: “other”],

         < “name”: “other4”, “value”: “other”],

      ]

}}

 

i want to show image use url_image from array properties where name = image 

please help me

Hey@dahaaw 

Welcome to the Klaviyo Community! Thank you for asking the community for help with your array.

Depending on what event you are tracking will ultimately determine what syntax to use. I would suggest you track a test event to find the correct event variable and to see how the data populates first, then copy/paste the tag. Most likely the event tag will look like this: 

 {{ event.item.properties.2.value }}

Once you have the proper event tag can use code similar this this example where name = image. 

Hope this helps! Thank you again for being part of the Klaviyo Community!


Reply