Generic analytics snippet | Community
Skip to main content
Level 2
October 16, 2015
Solved

Generic analytics snippet

  • October 16, 2015
  • 2 replies
  • 1010 views

Hi! I've followed this tutorial to define a Google Analytics Snippet :

http://docs.adobe.com/docs/en/cq/current/administering/external_providers.html#Creating%20a%20new%20Service%20with%20a%20Generic%20Snippet

The only way i've found to include the snippet in every page is:  <cq:include path="cloudservices" resourceType="cq/cloudserviceconfigs/components/servicecomponents"/>

but the generated html has some <div> tags so I can't include it in <head> section.

 

Any ideas?

Thanks 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

gcarlino
Adobe Employee
gcarlinoAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015
essewebAuthor
Level 2
October 16, 2015

Thanks, i'll try it.