ACS commons/Marketo + AEM integration: Marketo form not displaying in publisher/dispatcher
So I'm using this ACS commons feature (https://adobe-consulting-services.github.io/acs-aem-commons/features/marketo-form/index.html) to auto-configure the "embed" component for Marketo. This is working fine in author. I can see the marketo form in edit-mode and view-as-published.
I cannot see the marketo form when:
- viewing the page/form via the dispatcher
- viewing the page/form in the publisher using edit-mode or view-as-published
Any ideas on how to fix? Thanks
EDIT:
After more investigation, I found this code as part of ACS commons
<sly data-sly-use.configMgr="com.adobe.acs.commons.marketo.MarketoClientConfigurationManager" data-sly-use.marketoForm="com.adobe.acs.commons.marketo.MarketoForm">
configMgr is returning blank/null on the publisher BUT it's returning the correct values in author.
In both author and publisher, Marketo has been configured via settings => Cloud services => Marketo. Any more ideas?