<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic capture orderID using CSS sector. in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/capture-orderID-using-CSS-sector/m-p/181228#M3532</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;Hi Team,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We have a requirement to capture custom attribute "order request ID". So to capture that we have used session and action property.&lt;/DIV&gt;&lt;DIV&gt;Under session and action property, we are using CSS selector, as expression type and Data type as an&amp;nbsp; double.&amp;nbsp;&lt;SPAN&gt;Below is the CSS selector for the same.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;#mat-dialog-7 &amp;gt; app-order-placed-modal &amp;gt; mat-dialog-content &amp;gt; div &amp;gt; div &amp;gt; div &amp;gt; span&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;unfortunately it's not working. unable to capture desired output.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can someone help us on the same. Thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Amit Singh Bisht&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Wed, 23 Feb 2022 08:21:01 GMT</pubDate>
    <dc:creator>amitbsht321</dc:creator>
    <dc:date>2022-02-23T08:21:01Z</dc:date>
    <item>
      <title>capture orderID using CSS sector.</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/capture-orderID-using-CSS-sector/m-p/181228#M3532</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;Hi Team,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We have a requirement to capture custom attribute "order request ID". So to capture that we have used session and action property.&lt;/DIV&gt;&lt;DIV&gt;Under session and action property, we are using CSS selector, as expression type and Data type as an&amp;nbsp; double.&amp;nbsp;&lt;SPAN&gt;Below is the CSS selector for the same.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;#mat-dialog-7 &amp;gt; app-order-placed-modal &amp;gt; mat-dialog-content &amp;gt; div &amp;gt; div &amp;gt; div &amp;gt; span&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;unfortunately it's not working. unable to capture desired output.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can someone help us on the same. Thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Amit Singh Bisht&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Feb 2022 08:21:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/capture-orderID-using-CSS-sector/m-p/181228#M3532</guid>
      <dc:creator>amitbsht321</dc:creator>
      <dc:date>2022-02-23T08:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: capture orderID using CSS sector.</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/capture-orderID-using-CSS-sector/m-p/182495#M3551</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without knowing how your page looks, it is impossible to give you an exact answer, so here are the things you can try:&lt;BR /&gt;We are using document.querySelector("#mat-dialog-7 &amp;gt; app-order-placed-modal &amp;gt; mat-dialog-content &amp;gt; div &amp;gt; div &amp;gt; div &amp;gt; span") to find the value you want to capture. You can enter that in the console of the developer tools of your browser to see if that is actually an item that can be found on the page.&lt;/P&gt;&lt;P&gt;Your selector is highly depending on the structure of the html, so it might just change randomly and therefore can not be found. It is always best to have an id on the element to capture, to be 100% that it can be captured.&lt;/P&gt;&lt;P&gt;Additionally check that the page this element is on, is actually running the javascript agent. If this element is in a frame or an iframe, we will not be able to capture this element, unless the javascript agent is available. Having it available on a top frame is not enough.&lt;/P&gt;&lt;P&gt;Also check this: Is this value available all the time or is it only available at random points in time? We are capturing the data whenever an action FINISHES, so if you have values that change or only get shown intermediately, it can be a problem as well.&lt;/P&gt;&lt;P&gt;And as a last thing: run "dtrum.getAndEvaluateMetaData()". It will returns an object showing you the currently available metadata we can capture for this page and might also show why the value is missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 10:34:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/capture-orderID-using-CSS-sector/m-p/182495#M3551</guid>
      <dc:creator>simon_schatka</dc:creator>
      <dc:date>2022-03-15T10:34:44Z</dc:date>
    </item>
  </channel>
</rss>

