Current Behavior
If the option to remove the ACDL library is used by setting skipClientlibInclude to true, the functionalily in datalayer.js is also removed. This means that information about the components on a page is no longer pushed to the datalayer.
Expected behavior/code
skipClientlibInclude should only remove the ACDL library and not affect the datalayer content.
Environment
AEMaaCS 2023.11.14227.20231108T162349Z-23100
Core Components version 2.23.4
JRE version 11.0.14+8-LTS-263
Possible Solution
Split out the ACDL from the clientlib containing datalayer.js so that only the ACDL is removed when skipClientlibInclude is set to true. datalayer.js should then only be removed if the datalayer is disabled
Bug Report
Current Behavior If the option to remove the ACDL library is used by setting skipClientlibInclude to true, the functionalily in datalayer.js is also removed. This means that information about the components on a page is no longer pushed to the datalayer.
Expected behavior/code skipClientlibInclude should only remove the ACDL library and not affect the datalayer content.
Environment
Possible Solution Split out the ACDL from the clientlib containing datalayer.js so that only the ACDL is removed when skipClientlibInclude is set to true. datalayer.js should then only be removed if the datalayer is disabled
Additional context / Screenshots