HTML fragments not displaying in Adobe Journey Optimizer emails
This article explains how to troubleshoot and resolve the issue of HTML fragments failing to display correctly in Adobe Journey Optimizer emails. Unlike visual fragments, which are editable directly within the email editor, HTML fragments often render as fragment IDs instead of actual content. This article outlines the steps needed to work around this limitation and properly use both visual and HTML expression fragments in your email campaigns.
Description
Environment
- Adobe Experience Platform (AEP)
- Adobe Journey Optimizer (AJO)
Issue/Symptoms
When inserting HTML fragments (expressions) into Adobe Journey Optimizer emails, the system displays the fragment ID rather than rendering the intended HTML content.
Symptoms include:
- HTML fragments not displaying correctly in email content.
- Fragment IDs appearing instead of actual HTML content.
- Visual fragments working as expected, with no issues when edited in the email editor.
Resolution
-
Understand fragment types:
- Visual Fragments: Editable and formatted content pieces that display correctly within the email editor.
- HTML Expression Fragments: Snippets of code that may appear as fragment IDs when added to emails.
-
Manually insert HTML code:
- Copy the desired HTML code from the fragment.
- Paste the HTML code directly into the email’s source code at the appropriate location.
-
Verify and adjust:
- Ensure all manual changes to the HTML code are accurate.
-
Edit and publish fragments:
- Check if the fragment contains unpublished changes.
- Save and publish the HTML fragment before using it in your emails.
Note: You can also open a draft version of the HTML fragments and then edit it to access the HTML code and modify it. For more details, refer to Adobe’s documentation: Leverage expression fragments.