Skip to Content

Dynamic image in email content Hybris

Hi,

How can I personalize images on Hybris Mkt in the emails used for campaigns? For example, in my content I want a cat´s image to be displayed for contacts having a cat and a dog one for contacts with a dog. I consulted this link https://help.sap.com/doc/7e8a3065140949ffa7c5ff4053c3ac7a/1802%20YMKT/en-US/23/1b2755c72aaf25e10000000a423f68/frameset.htm but it is not clear on how attributes must be tied to a URL link ... I mean, is this possible with any option other than conditions?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 10, 2018 at 12:04 PM

    Hello Arturo,

    you can build the dynamic images using conditions - please refer to the following sample containing conditions based on the gender attribute:


    There are the following mails sent - for female, male and unknown recipient:

    A similar approach is documented in the online help as well:

    Using Conditions in Messages

    You might need to create a custom attribute containing the 'cat' and 'dog' value used for the condition. Please refer to the following KBA note for further details:

    2694769 - SAP Marketing: Custom Fields not available for Personalization Attributes in Emails

    I hope this approach will work for your business scenario.

    best regards,

    Johannes


    1pdsr.png (125.5 kB)
    v77sv.png (79.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 16, 2018 at 09:06 PM

    Hi Johannes,

    Thanks for your answer. My only question now is: do I have to insert the different images in different blocks, and then, for example, insert a condition just allowing my first image to appear (as in the example you stated) to men... Or can I insert them in one single block?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.