Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

CQ component exposing data to DTM


Level 3


I have a custom component button created in CQ ( CQ5.5). We are planning to use CQ5.5 with DTM

The custom button component being modular, can be used anywhere across the site, or even within the same page. We need to populate a data layer attribute which captures where in the page(which section) and which page the component is dropped.

The question i have is who's responsibility is to capture the information which defines the section where the  component is used in the page. Is this something that can be done in DTM, by the component instance  generating a unique id?

Or the component needs to have some logic embedded which will capture the section information from the markup?


0 Replies