Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

Adobe Client Data Layer not working

Avatar

Level 1

Hi, I have enabled Adobe Client Data Layer for my AEM project following this documentation,

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/data-lay...

but is not getting enabled in site. I cannot see the attribute data-cmp-data-layer-enabled in body tag and hence the Adobe Client Data Layer with the Core Components itself not working.

 

Could please help me on this?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Check your htl file in pageComponent and compare it with v2 page of core component, you will have to add some javascript code into your page.html

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Check your htl file in pageComponent and compare it with v2 page of core component, you will have to add some javascript code into your page.html