Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Google Analytics Snippet

Avatar

Level 2

Hi,

i've configured a google analytics snippet using Generic Analytics Snippet in CloudServices section.

The html rendered is:

<div class="servicecomponents cloudservices"><div class="cloudservice generictracker">ù <script type="text/javascript">   // snippet code       </script> </div></div>

 

Is it possible to change the html rendered? In head section generally <div> tags are not used.

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

I believe that this is not a configurable setting. However - here is an AEM documentation topic that may help you:

http://docs.adobe.com/docs/en/cq/current/administering/external_providers.html

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

I believe that this is not a configurable setting. However - here is an AEM documentation topic that may help you:

http://docs.adobe.com/docs/en/cq/current/administering/external_providers.html

Avatar

Level 2
Thanks. In this case how can i put analytics snippet in head section of pages? What's the best practice?