title: How to integrate DTM (Dynamic Tag Management) with AEM 6?
body: <p>I am a newbie to Adobe DTM (Dynamic Tag Management) and have not done any kind of training related to it. However, I have been given a requirement to integrate DTM with AEM 6. I Have some requirements related to Omniture where certain events on the website are tracked and that information needs to be sent to DTM. I have followed steps described on this blog (<a href="http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/" rel="nofollow noreferrer">http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/</a>) to customize the client context by creating a new session store and storing some sample data inside it. Now, next part is to retrieve this data into DTM which I am completely unaware on how to do. What is need to achieve in particular is to create a new data element as shown in the screenshot below and write some custom java script to access the data stored inside the client context (which is present in the session store) as explained in the blog mentioned. </p>
  
  <p><img src="https://i.stack.imgur.com/GNP0e.jpg" alt="enter image description here"></p>
  
  <p>I have no idea on how to integrate DTM with AEM instance and how to get hold of that data needed using the script. There is no info available on the internet regarding this, hence request you to help me in case anybody have worked on such a requirement earlier. Any help is highly appreciated</p>