Solved
DTM data layer
Can someone please share a code snippet or a sample of how we would populate the data layer in a CQ component to expose data to DTM?
Can someone please share a code snippet or a sample of how we would populate the data layer in a CQ component to expose data to DTM?
In your page template you can just add a code-snippet like
<script>
var digitalData={... your datalayer };
</script>
This way DTM can access it.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.