<?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 Session Propertiers in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Session-Propertiers/m-p/286776#M7108</link>
    <description>&lt;P&gt;I have a variable within my application that contains a Key and Value variable. How can I extract the variables to obtain this data from the user sessions? For example: the variable is called "offer." Inside it is a JSON file containing different variables at various levels, payments: 10. I want to obtain payments.&lt;BR /&gt;This is done in the session properties to obtain business data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Sep 2025 23:13:26 GMT</pubDate>
    <dc:creator>juanrergis</dc:creator>
    <dc:date>2025-09-24T23:13:26Z</dc:date>
    <item>
      <title>Session Propertiers</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Session-Propertiers/m-p/286776#M7108</link>
      <description>&lt;P&gt;I have a variable within my application that contains a Key and Value variable. How can I extract the variables to obtain this data from the user sessions? For example: the variable is called "offer." Inside it is a JSON file containing different variables at various levels, payments: 10. I want to obtain payments.&lt;BR /&gt;This is done in the session properties to obtain business data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 23:13:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Session-Propertiers/m-p/286776#M7108</guid>
      <dc:creator>juanrergis</dc:creator>
      <dc:date>2025-09-24T23:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Session Propertiers</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Session-Propertiers/m-p/286777#M7109</link>
      <description>&lt;P&gt;Hi if you're using RUM JavaScript version 1.295 or later, Dynatrace supports direct JSON parsing from session storage or JavaScript variables.&lt;/P&gt;&lt;H5&gt;Example:&lt;/H5&gt;&lt;P&gt;If your variable is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "offer": {
    "payments": 10,
    "details": {
      "currency": "USD"
    }
  }&lt;/LI-CODE&gt;&lt;P&gt;And it's stored in sessionStorage.offer, you can extract payments like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to Application Settings → Capturing → Session and action properties.&lt;/LI&gt;&lt;LI&gt;Click Add property → Custom-defined property.&lt;/LI&gt;&lt;LI&gt;Set:&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Expression type&lt;/STRONG&gt;: JavaScript variable&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;: offer_payments&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;: sessionStorage.offer.$payments&lt;BR /&gt;&lt;BR /&gt;The $ prefix tells Dynatrace to parse the value as JSON and extract the nested key payments.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If your variable is already a JSON string, use sessionStorage.offer.$payments. If it's a nested object, you can go deeper like sessionStorage.offer.$details.currency.&lt;BR /&gt;&lt;BR /&gt;You can also check the official documentation for reference:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/user-session-properties?_gl=1*rtxvk5*_ga*MTA5OTAxNzM3Mi4xNzI3ODA4NjYw*_ga_1MEMV02JXV*czE3NTg3NTYwOTEkbzE0OCRnMSR0MTc1ODc1Njg1MCRqNjAkbDAkaDA.*_gcl_au*MTQxMzU4NTA4OC4xNzU1MTc4ODI0#examples-of-action-and-session-properties" target="_self"&gt;https://docs.dynatrace.com/docs/shortlink/user-session-properties&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 23:44:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Session-Propertiers/m-p/286777#M7109</guid>
      <dc:creator>Anderson-Luna</dc:creator>
      <dc:date>2025-09-24T23:44:38Z</dc:date>
    </item>
  </channel>
</rss>

