The process of renaming Adobe Experience Platform Launch as a set of data collection technologies is being implemented in the AEM product UI, content, and documentation, so the term Launch is still being used here.
Learn how to create a Launch Cloud Service configuration in Adobe Experience Manager. AEM’s Launch Cloud Service configuration can then be applied to an existing Site and the Tags libraries can be observed loading in both Author and Publish environments.
Create the Launch cloud service configuration using below steps.
From the Tools menu, select Cloud Services section and click Adobe Launch Configurations
Select your site’s config folder or select WKND Site (if using WKND guide project) and click Create
From the General tab, name your configuration using the Title field, and select Adobe Launch from the Associated Adobe IMS Configuration dropdown. Then, select your company name from the Company dropdown and select previously created property from the Property dropdown.
From the Staging and Production tab keep the default configurations. However it’s recommended reviewing and change the configurations for real production setup, specifically the Load Library Asynchronously toggle based on your performance and optimization requirements. Also note that the Library URI value is different for Staging and Production.
Finally, click Create to complete the Launch cloud services.
To load the Tag property and its libraries onto the AEM site, the Launch cloud service configuration is applied to the site. In the previous step the cloud service configuration is created under the site name folder (WKND Site) so it should be automatically applied, let’s verify it.
From the Navigation menu, select Sites icon.
Select the root page of the AEM Site, and click Properties. Then, navigate to the Advanced tab and under Configuration section, verify that Cloud Configuration value is pointing to your site-specific conf
folder.
Now it’s time to verify that Tag property and its libraries are loaded onto the AEM site page.
Open your favorite site page in the View as Published mode, in the browser console you should see the log message. It’s the same message from the JavaScript code snippet of the Tag property Rule that is fired when Library Loaded (Page Top) event is triggered.
To verify on Publish, first publish your Launch cloud service configuration and open the site page on the Publish instance.
Congratulations! You have completed AEM and data collection Tag integration that injects JavaScript code into your AEM site without updating the AEM Project code.
Use lessons learned from the previous Create a Tag Property to complete the simple challenge, update the existing Rule to add additional console statement and using Publishing Flow deploy it onto the AEM site.