<?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: Hybrid Mobile User Sessions and Web Requests/User Actions in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114343#M1317</link>
    <description>&lt;P&gt;It basically needs to be applied where you execute your network call. If you have not a single point which is executing the call, you need to apply it for every call. If you need more help open a support case so we can analyze the situation.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 09:03:15 GMT</pubDate>
    <dc:creator>matthias_hochri</dc:creator>
    <dc:date>2020-11-23T09:03:15Z</dc:date>
    <item>
      <title>Hybrid Mobile User Sessions and Web Requests/User Actions</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114335#M1309</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;We recently instrumented a hybrid mobile application using the Cordova plugin to have the Mobile RUM (external) performance data.&lt;/P&gt;&lt;P&gt;Now the following things bothering me:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Top web requests appearing under &lt;STRONG&gt;the network performance &amp;gt; top providers &amp;gt; &lt;/STRONG&gt;&lt;STRONG&gt;our publically available external&lt;/STRONG&gt;, which cannot correlate to any user session.&lt;/LI&gt;&lt;LI&gt;Secondly, the user session details are showing only the below events and actions.&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25564-1593688308002.png" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 11:15:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114335#M1309</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2020-07-02T11:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Mobile User Sessions and Web Requests/User Actions</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114336#M1310</link>
      <description>&lt;P&gt;Hi Babar!&lt;/P&gt;&lt;P&gt;for 1:&lt;/P&gt;&lt;P&gt;What kind of library are you using for the web requests? If they originate from a User Action in the web part and go through a library (or your own implementation) to the native part of the app, then they can not be correlated. Which libraries are you using?&lt;/P&gt;&lt;P&gt;for 2:&lt;/P&gt;&lt;P&gt;When setting up the Cordova mobile app through the Dynatrace instrumentation wizard, a web application is created. If the UI of your app is mainly written in web technologies, then all the User Actions will be sent to this web application. Please note that User Actions in the web application will only be created if they can be correlated with a web request.&lt;/P&gt;&lt;P&gt;–Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 15:47:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114336#M1310</guid>
      <dc:creator>thomas_billi</dc:creator>
      <dc:date>2020-07-06T15:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Mobile User Sessions and Web Requests/User Actions</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114337#M1311</link>
      <description>&lt;P&gt;If you want to have more visibility there is currently a workaround possible:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;async makeRequest() {&lt;BR /&gt;	// Set Mobile dtAdk cookie because native web request don't add cookies&lt;BR /&gt;	this.http.setCookie("YOUR_URL", "dtAdk=" + this.getCookieValue("dtAdk"));&lt;BR /&gt;	// Create XHR Action via JavaScript OneAgent&lt;BR /&gt;	let actionId = dtrum.enterXhrAction("Mobile First HTTP", XhrActionMode.CREATE_ACTION_WITH_USER_INPUT, 'YOUR_URL');&lt;BR /&gt;	// Make HTTP Request with x-dtpc, x-dtreferer and x-dynatrace header&lt;BR /&gt;	await this.http.get('YOUR_URL', {}, { "x-dtpc": this.getCookieValue("dtPC"), "x-dtreferer": dT_.gAR(actionId), "x-dynatrace": "" });&lt;BR /&gt;	// Leave XHR After request is done&lt;BR /&gt;	dtrum.leaveXhrAction(actionId);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;getCookieValue(a) {&lt;BR /&gt;	var b = document.cookie.match('(^|[^;]+)\\s*' + a + '\\s*=\\s*([^;]+)');&lt;BR /&gt;	return b ? b.pop() : '';&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;this.http is the http library where you are firing the web requests. Basically this snippet does the following: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Set the current dtAdk Cookie onto the URL where the request happens (This can be changed to the domain and not the URL directly)&lt;/LI&gt;&lt;LI&gt;JS Agent is creating an XHR Action&lt;/LI&gt;&lt;LI&gt;Web Request will be tagged with 3 dynatrace related headers (x-dtpc, x-dtreferer, x-dynatrace)&lt;/LI&gt;&lt;LI&gt;Leave the XHR Action &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Result: You have an XHR Action in the User session with a web request which is linked to the server side. &lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 06:12:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114337#M1311</guid>
      <dc:creator>matthias_hochri</dc:creator>
      <dc:date>2020-07-07T06:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Mobile User Sessions and Web Requests/User Actions</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114338#M1312</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://answers.dynatrace.com/users/16273/view.html" nodeid="16273"&gt;@Matthias H.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kind reply with a workaround solution. Let me go back to the developers especially those who instrumented the mobile application and then I will come back to you for further assistance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 14:22:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114338#M1312</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2020-07-07T14:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Mobile User Sessions and Web Requests/User Actions</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114339#M1313</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://answers.dynatrace.com/users/37349/view.html" nodeid="37349"&gt;@Thomas B.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kind reply. Let me go back to the developers to grab this information and then I will come back to you for further assistance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 14:23:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114339#M1313</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2020-07-07T14:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Mobile User Sessions and Web Requests/User Actions</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114340#M1314</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://answers.dynatrace.com/users/37349/view.html" nodeid="37349"&gt;@Thomas B.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I got the below answer.&lt;/P&gt;&lt;P&gt;The HTTP requests are managed by the IBM Mobile First Plugin:&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 10:16:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114340#M1314</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2020-07-08T10:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Mobile User Sessions and Web Requests/User Actions</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114341#M1315</link>
      <description>&lt;P&gt;Hey Babar! Thanks for the info. Does the snippet, that Matthias provided, solve the problem? If not, could you then please open a support request so this can be handled properly?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 05:37:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114341#M1315</guid>
      <dc:creator>thomas_billi</dc:creator>
      <dc:date>2020-07-14T05:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Mobile User Sessions and Web Requests/User Actions</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114342#M1316</link>
      <description>&lt;P&gt;&lt;A href="https://answers.dynatrace.com/users/16273/view.html" rel="user" target="_blank"&gt;@Matthias H.&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;I have a similar scenario where visibility is broken with the Cordova Hybrid Web view deployment. We can see mobile actions entering Dynatrace but we cannot track the underlying mapping to server side requests.&lt;BR /&gt;&lt;BR /&gt;May I ask if your shared script can be applied once (i.e. on a commonly accessed web view page) on a primary web view page? Or it needs to be applied everywhere?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 11:03:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114342#M1316</guid>
      <dc:creator>zero_ho</dc:creator>
      <dc:date>2021-04-12T11:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Mobile User Sessions and Web Requests/User Actions</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114343#M1317</link>
      <description>&lt;P&gt;It basically needs to be applied where you execute your network call. If you have not a single point which is executing the call, you need to apply it for every call. If you need more help open a support case so we can analyze the situation.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:03:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Hybrid-Mobile-User-Sessions-and-Web-Requests-User-Actions/m-p/114343#M1317</guid>
      <dc:creator>matthias_hochri</dc:creator>
      <dc:date>2020-11-23T09:03:15Z</dc:date>
    </item>
  </channel>
</rss>

