We’d like to have a giveaway contest where people who write a review get a free item. Ideally, I would like the most recent purchase (or maybe multiple purchases) the customer has bought to show in the email using structured data.
I tried using the structured data {{ event.structured_product.variant_name }} but it doesn’t pull up the item(s) the customer has purchased in the past.
Also, is there a way to create a segment based on certain products or categories the customer has purchased?
Thank You,
Sean
Best answer by pranay
To show the most recent purchase in your email, you can use Klaviyo's dynamic content blocks. Here's a step-by-step guide:
Set Up Dynamic Content: Use the dynamic content block to pull in the most recent purchase information. You can use tags like {{ event.structured_product.name }} to display the product name.
Creating a Segment Based on Purchases
To create a segment based on certain products or categories, follow these steps:
Save and Use the Segment: Save the segment and use it to target your giveaway email.
Dynamic Request in the Email
To make it easy for customers to leave a review, you can include a dynamic link in your email that takes them directly to the review page for the product they purchased. Use a dynamic content block with a URL that includes the product ID, like this: https://yourwebsite.com/review?product_id={{ event.structured_product.id }}.
Let me know if this helps with what you're trying to achieve?
It’s not going to be a flow- it’s an email asking people to leave a review.
I would like to create a segment based on certain purchases and also have a dynamic request in the email so people can easily click on what they purchase to leave a review.
Set Up Dynamic Content: Use the dynamic content block to pull in the most recent purchase information. You can use tags like {{ event.structured_product.name }} to display the product name.
Creating a Segment Based on Purchases
To create a segment based on certain products or categories, follow these steps:
Save and Use the Segment: Save the segment and use it to target your giveaway email.
Dynamic Request in the Email
To make it easy for customers to leave a review, you can include a dynamic link in your email that takes them directly to the review page for the product they purchased. Use a dynamic content block with a URL that includes the product ID, like this: https://yourwebsite.com/review?product_id={{ event.structured_product.id }}.
Let me know if this helps with what you're trying to achieve?