I am totally new to AEM but worked on Adobe Analytics, DTM and Target.
Currently I am trying for AEM to adobe analytics integration. For that I have implemented the cloud services (DTM) on particular page(AEM) and all are working fine and adobe analytics also capturing data. But all this configuration done on author instance of AEM (correct me if I am wrong). Now if we are publishing the page so that the page can be accessed outside of AEM directly, We are not receiving data to analytics. As per my knowlegde author instance is working on 4502 port whereas publish instance is working on 4503 port and hence the issue.
Now how to fix this issue. How can I configure cloud services for publish instance.
As you suggested I have published(activate) the cloud services through miscadmin and after that I am able to see the DTM head script(production) on the page but same is not getting executed. Please find the network response below and help me to troubleshoot this.