Google Tag Manager

Forum Discussion

David_M's avatar
David_M
Influencer
2 hours ago

Using Liquid for image URL

Hi all, 

I have done this before, but seem to be having issues when using liquid within the SRC html code. 

So wondering what we think the best way is to handle an image within a BAU email that has to be hard-coded each day in 13 languages (or 13 image urls to be specific)

Currently I think the tidiest way is the full image code snippet in a content block per language, and each day update the URLS, and use liquid if statements to add the correct Content Block per language within the HTML template. 

Other options are assigning the image URL at the top of the HTML. 

I have to do this for two images in the full template. 

Thoughts? 


No RepliesBe the first to reply