<?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: React-native send events in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/React-native-send-events/m-p/286980#M7111</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;sendEvent is part of the New RUM APIs for RUM on Grail which is currently in preview - as you also mentioned User Actions this sounds like Dynatrace Classic, for which this API does not work. This API also has limitations on which fields can be modified and as the log shows most of your fields are dropped and also the event is reported with dropped custom properties.&lt;BR /&gt;For Dynatrace Classic you can only enrich user actions with child events like described in user action modification like&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#modify-auto-actions" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#modify-auto-actions&lt;/A&gt;&amp;nbsp;which is not yet available for React Native. You would need to just manually create user actions and child events for your use-case.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Sep 2025 11:54:57 GMT</pubDate>
    <dc:creator>Patrick_H</dc:creator>
    <dc:date>2025-09-29T11:54:57Z</dc:date>
    <item>
      <title>React-native send events</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/React-native-send-events/m-p/286976#M7110</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to send a custom event from my React-native application to the Dynatrace portal. I am using the&amp;nbsp;dynatrace/react-native@2.323.1 plugin. My main objective is to log or capture the amount of times users visit a certain screen. The standard UserAction only displays which screen I want a little more information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How I send the event (There is currently no UserAction going on that happend before):&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;static &lt;/SPAN&gt;&lt;SPAN&gt;sendLog&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;log: &lt;SPAN&gt;object&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;: &lt;SPAN&gt;void &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;Dynatrace&lt;/SPAN&gt;.&lt;SPAN&gt;sendEvent&lt;/SPAN&gt;&lt;SPAN&gt;({ &lt;/SPAN&gt;...log, nothingToSeeTestField: 'Testvalue' &lt;SPAN&gt;})&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I get the following logs when sending the event:&lt;/P&gt;&lt;P&gt;LOG [SendEventValidation]: modifyEvent({"body":{"event":"page_visit","pageName":"Mijn Dossiers","pageKey":"mijn-dossiers","timestamp":1759144670432,"sessionId":"session_1759144663479_3yj7cg6ns","platform":"ios","previousPage":"alle-dossiers","incidentCount":0},"severityNumber":9,"severityText":"INFO","nothingToSeeTestField":"nothingToSeeTestValue"})&lt;BR /&gt;LOG [SendEventValidation]: isKeyNameAllowed(): Filtering key body as this field or namespace is reserved!&lt;BR /&gt;LOG [SendEventValidation]: isKeyNameAllowed(): Filtering key severityNumber as this field or namespace is reserved!&lt;BR /&gt;LOG [SendEventValidation]: isKeyNameAllowed(): Filtering key severityText as this field or namespace is reserved!&lt;BR /&gt;LOG [SendEventValidation]: isKeyNameAllowed(): Filtering key nothingToSeeTestField as this field or namespace is reserved!&lt;BR /&gt;LOG [EventPipeline]: insertEvent({"dt.support.api.has_dropped_custom_properties":true,"start_time":1759144670436,"duration":0})&lt;BR /&gt;LOG [EventPipeline]: forwardEvent({"dt.support.api.has_dropped_custom_properties":true,"start_time":1759144670436,"duration":0,"dt.rum.event.source.type":"react_native","react_native.bundle.name":"simca","react_native.bundle.version":"2.0.6"})&lt;/P&gt;&lt;P&gt;&amp;nbsp;This happens on both Android and iOS.&lt;/P&gt;&lt;P&gt;So my question is: where can I find the event, if it is being sent at all? Is it even possible to send an event this way, or does it always need to be linked to a UserAction? Or is there a better way to capture the user behaivor for visting the screens.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Sep 2025 11:36:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/React-native-send-events/m-p/286976#M7110</guid>
      <dc:creator>Dyllan</dc:creator>
      <dc:date>2025-09-29T11:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: React-native send events</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/React-native-send-events/m-p/286980#M7111</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;sendEvent is part of the New RUM APIs for RUM on Grail which is currently in preview - as you also mentioned User Actions this sounds like Dynatrace Classic, for which this API does not work. This API also has limitations on which fields can be modified and as the log shows most of your fields are dropped and also the event is reported with dropped custom properties.&lt;BR /&gt;For Dynatrace Classic you can only enrich user actions with child events like described in user action modification like&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#modify-auto-actions" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#modify-auto-actions&lt;/A&gt;&amp;nbsp;which is not yet available for React Native. You would need to just manually create user actions and child events for your use-case.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 11:54:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/React-native-send-events/m-p/286980#M7111</guid>
      <dc:creator>Patrick_H</dc:creator>
      <dc:date>2025-09-29T11:54:57Z</dc:date>
    </item>
  </channel>
</rss>

