Make sure that you activated / published the newsletter page in AEM before publishing to campaign.
After running the "Publish to Adobe Campaign" workflow and synchronizing in Adobe Campaign, we do not see the correct HTML being pulled into Campaign.
AEM 6.x
There can be many causes for the wrong HTML being served to Campaign.
Make sure that you activated / published the newsletter page in AEM before publishing to campaign.
Check the Public URL in the AEM Campaign Integration OSGi configuration [1], the Public URL is the URL the workflow uses to retrieve the HTML that is sent to Adobe Campaign. If this field is populated, then copy the URL to the clipboard:
[1] http://host:port/system/console/configMgr/com.day.cq.mcm.campaign.impl.IntegrationConfigImpl
If Public URL is empty in that configuration, then the system fails over to the URL for publish in the externalizer configuration [2]. Copy this publish URL to the clipboard:
[2] http://host:port/system/console/configMgr/com.day.cq.commons.impl.ExternalizerImpl
Take the URL you got from the previous steps and visit the newsletter page with /path/to/newsletter.publish.html on the publish instance.
For example: /content/site/en/newsletters/test.publish.html
In most cases, you would find that HTML is failing to display properly in the same way as you view in Campaign. This is the URL that is retrieved and sent to Adobe Campaign by the workflow. Viewing this URL allows you to debug if the problem is a CDN caching, Load Balancing, Dispatcher Caching, or AEM publish instance or code issue (i.e. wrong code deployed on the publish instance).
Sign in to your account