Skip to main content
Solved

Adding Dynamic Content Blocks for Abandoned Cart to HTML Code

  • January 6, 2023
  • 1 reply
  • 446 views

Forum|alt.badge.img+2

Hello, I’m working with some HTML code instead of the Klaviyo template builder and I’m attempting to add a dynamic content block image / product title that pulls through when a user has abandoned their cart with the item.

 

The store operates on Shopify, so will I be inputting the event variables below in the code?

 

Look forward to your response

 

Best answer by Brian Turcotte

Hi @HaydenD and welcome to the Community!

 

May I ask how/where you are generating the HTML? You can certainly add these event variables in an HTML email that’s sent through Klaviyo. However, if you are sending this email through an external source, the event variables would not be able to substitute the event data that they are intended to retrieve from Klaviyo.

 

So if you just mean that you’re writing the email within Klaviyo in HTML instead of the drag-and-drop method, then you will certainly be able to use these event variables.

 

I hope this helps, and thanks for using the Community!

- Brian

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • January 6, 2023

Hi @HaydenD and welcome to the Community!

 

May I ask how/where you are generating the HTML? You can certainly add these event variables in an HTML email that’s sent through Klaviyo. However, if you are sending this email through an external source, the event variables would not be able to substitute the event data that they are intended to retrieve from Klaviyo.

 

So if you just mean that you’re writing the email within Klaviyo in HTML instead of the drag-and-drop method, then you will certainly be able to use these event variables.

 

I hope this helps, and thanks for using the Community!

- Brian