<?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 Re: addActionProperty does not work in Dynatrace tenant runs on RUM Classic Gen2 without DPS licensing in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/addActionProperty-does-not-work-in-Dynatrace-tenant-runs-on-RUM/m-p/296115#M7278</link>
    <description>&lt;P&gt;thanks it is resolved now&lt;/P&gt;</description>
    <pubDate>Fri, 13 Mar 2026 00:37:15 GMT</pubDate>
    <dc:creator>mkarmocha</dc:creator>
    <dc:date>2026-03-13T00:37:15Z</dc:date>
    <item>
      <title>addActionProperty does not work in Dynatrace tenant runs on RUM Classic Gen2 without DPS licensing</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/addActionProperty-does-not-work-in-Dynatrace-tenant-runs-on-RUM/m-p/296064#M7276</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to capture User Action using addAction, addActionProperty, leaveAction, however the addActionProperty does not work, though I created Javascript Variable for the properties i am passing in addActionProperty.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How did I create;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Click on Application &amp;gt; Edit &amp;gt; Capturing &amp;gt; Session and action Properties &amp;gt; Add Property &amp;gt; Custom defined property.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And then I chose Javascript Variable put other details.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My code below;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;const dtrum = window?.dtrum;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;if (!dtrum) {&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;logger.info(`trackCustomUserAction (dtrum API undefined) actionName=[${actionName}] `);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;return;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;const actionId = dtrum.enterAction('feature_initialized’);&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if (properties &amp;amp;&amp;amp; typeof dtrum.addActionProperties === 'function') {&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;dtrum.addActionProperties(actionId, null, null, {status, action});&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dtrum.leaveAction(actionId);&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So when my code is executed the values does not seems to be logged in dynatrace.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if i set property values in global windows then Dynatrace UI grabs the value and logs the status and action for the user. Below ithe working code&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;const actionId = dtrum.enterAction('feature_initialized’);&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//Created Javascript variable in Session and User Property&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;// capture expression named as DT_OBSERVABILITY&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;// assigning it in global window, so that dynatrace UI could capture value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;window.POC = window.POC || {};&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;window.POCstatus = values?.status ?? '';&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;window.POC.action = values?.action ?? '';&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;dtrum.leaveAction(actionId);&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to understand why addActionProperty does not work, is it related to Our Dynatrace tenant runs on RUM Classic Gen2 without DPS licensing. I see that we do not have experience vital and user events available. Could someone help clarify as I need to document this as I am trying to log user actions in our web application&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2026 07:26:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/addActionProperty-does-not-work-in-Dynatrace-tenant-runs-on-RUM/m-p/296064#M7276</guid>
      <dc:creator>mkarmocha</dc:creator>
      <dc:date>2026-03-12T07:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: addActionProperty does not work in Dynatrace tenant runs on RUM Classic Gen2 without DPS licensing</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/addActionProperty-does-not-work-in-Dynatrace-tenant-runs-on-RUM/m-p/296071#M7277</link>
      <description>&lt;P&gt;The issue is here:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN&gt;And then I chose Javascript Variable put other details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Choosing "Javascript &lt;STRONG&gt;variable&lt;/STRONG&gt;" will lead to the behaviour you mentioned here:&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN&gt;However, if i set property values in global windows then Dynatrace UI grabs the value and logs the status and action for the user.&amp;nbsp;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;What you want is to select "JavaScript &lt;STRONG&gt;API&lt;/STRONG&gt;" instead.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2026 06:08:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/addActionProperty-does-not-work-in-Dynatrace-tenant-runs-on-RUM/m-p/296071#M7277</guid>
      <dc:creator>wkimchan</dc:creator>
      <dc:date>2026-03-12T06:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: addActionProperty does not work in Dynatrace tenant runs on RUM Classic Gen2 without DPS licensing</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/addActionProperty-does-not-work-in-Dynatrace-tenant-runs-on-RUM/m-p/296115#M7278</link>
      <description>&lt;P&gt;thanks it is resolved now&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 00:37:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/addActionProperty-does-not-work-in-Dynatrace-tenant-runs-on-RUM/m-p/296115#M7278</guid>
      <dc:creator>mkarmocha</dc:creator>
      <dc:date>2026-03-13T00:37:15Z</dc:date>
    </item>
  </channel>
</rss>

