PerficientDigital / AEM-DataLayer

Simple DataLayer API for Adobe Experience Manager
Apache License 2.0
34 stars 13 forks source link

Removing <div> HTML tags in AEM-DataLayer package #19

Open jleggett3 opened 9 months ago

jleggett3 commented 9 months ago

Hello,

My teams AEM websites includes AEM 6.5.14: aem-datalayer.ui.apps-0.3.0.zip package.

We are running into an issue where this package is including a <div class='cloudservice includedatalayer'> in the <head> of all our pages on our website.

The <script> content inside the <div> is fine to keep but it would be preferable if the <div> wrapper is removed, since it's not valid HTML to include a <div> tag in the <head> a webpage.

Thanks for your help, Jake