I’m using Shopify for the e-commerce store and using Klaviyo to handle our emailing and sales.
I’d like to displaying a country tag that come from Shopify product tag which in Klaviyo event variable we can call all the product tags by using this tag {{ event.extra.line_items.0.product.tags }}
In my case, the result of {{ event.extra.line_items.0.product.tags }} is
Do you mind posting a few screenshots to help clarify how your event data is showing in your preview? If you could share one of the initial tag in the email and another showing all of the information that is pulled from the tag in the preview, this will help us understand and see the correct django tag for the solution.
Whenever handling variables and templates, it’s always worth considering the order the event data comes through from your eccommerce site into Klaviyo. Klaviyo only reflects the data your store pushes through, we don’t create it. Hypothetically, if your event data is coming in the way you describe, it should be possible to separate the tag and only show the country.
Do you mind posting a few screenshots to help clarify how your event data is showing in your preview? If you could share one of the initial tag in the email and another showing all of the information that is pulled from the tag in the preview, this will help us understand and see the correct django tag for the solution.
Whenever handling variables and templates, it’s always worth considering the order the event data comes through from your eccommerce site into Klaviyo. Klaviyo only reflects the data your store pushes through, we don’t create it. Hypothetically, if your event data is coming in the way you describe, it should be possible to separate the tag and only show the country.