<?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: Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions? in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/271091#M6780</link>
    <description>&lt;P&gt;Thanks a lot, its worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2025 15:59:42 GMT</pubDate>
    <dc:creator>Aboud</dc:creator>
    <dc:date>2025-02-26T15:59:42Z</dc:date>
    <item>
      <title>Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266325#M6687</link>
      <description>&lt;P&gt;I tried to retrieve web sessions for my web application to determine the network type (such as 3G or 4G) that users are using, but no sessions are being returned. Could you assist me in resolving this issue?&lt;/P&gt;
&lt;P&gt;Here is the query I used:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class=""&gt;*&lt;/SPAN&gt; &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; usersession&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; useraction.application &lt;SPAN class=""&gt;=&lt;/SPAN&gt; "my_web_app" &lt;SPAN class=""&gt;AND&lt;/SPAN&gt; usersession.networkTechnology &lt;SPAN class=""&gt;IN&lt;/SPAN&gt; ("3G", "2G", "4G", "5G", "802.11x", "CTRadioAccessTechnologyHSDPA", "CTRadioAccessTechnologyLTE")&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;This query works for &lt;STRONG&gt;mobile apps&lt;/STRONG&gt;, and sessions are successfully retrieved. However, when querying for &lt;STRONG&gt;web app sessions&lt;/STRONG&gt;, no data is returned. Could you please help me understand why the query works for mobile apps but not for web sessions?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 07:25:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266325#M6687</guid>
      <dc:creator>Aboud</dc:creator>
      <dc:date>2024-12-31T07:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266337#M6688</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Mobile apps often have more direct access to device and network information, while web applications are more restricted due to browser security measures as w&lt;/SPAN&gt;eb browsers generally do not expose detailed network type information (like 3G, 4G, etc.) to web applications for privacy and security reasons,&lt;BR /&gt;You can add user session properties to you web applications with the dtrum API&lt;BR /&gt;&lt;A href="https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#sendSessionProperties" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#sendSessionProperties&lt;/A&gt;&lt;BR /&gt;and the network information API &lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API" target="_blank" rel="noopener"&gt;https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 Dec 2024 13:39:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266337#M6688</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-12-30T13:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266342#M6689</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/82768"&gt;@Aboud&lt;/a&gt;&amp;nbsp;- you are looking for "&lt;SPAN&gt;Effective connection type" for web apps:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_0-1735565022937.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25501i79200E9DF17AD953/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_0-1735565022937.png" alt="ChadTurner_0-1735565022937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Mobile sessions list is as Network Technology and Connection Type:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_4-1735567188334.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25505i657A336137EDDBE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_4-1735567188334.png" alt="ChadTurner_4-1735567188334.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'll have to check, but I'm thinking there is a split between the two being Web Vs Mobile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 14:04:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266342#M6689</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2024-12-30T14:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266366#M6690</link>
      <description>&lt;P&gt;As per my knowledge it is not captured by web application, if you run below query, the connection type is "UNKNOWN" mostly.&lt;BR /&gt;Probably because of different browsers.&lt;BR /&gt;select connectionType FROM usersession WHERE applicationType="WEB_APPLICATION"&lt;BR /&gt;&lt;BR /&gt;There is one way to capture this for one of the browsers:&lt;BR /&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/effectiveType#browser_compatibility" target="_blank"&gt;NetworkInformation: effectiveType property - Web APIs | MDN&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 21:33:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266366#M6690</guid>
      <dc:creator>RohitBisht</dc:creator>
      <dc:date>2024-12-30T21:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266375#M6691</link>
      <description>&lt;P&gt;&lt;STRONG&gt;The mobile app session data attempts to obtain the details from device.&lt;/STRONG&gt; It stores these within the user session table, which is why it can be queried.&lt;/P&gt;
&lt;P&gt;Conversely, &lt;STRONG&gt;web applications has this data collected on a best effort basis from the browser network APIs&lt;/STRONG&gt; (as Rohit pointed out). It means not all modern browsers support this, so it will often be missing. Furthermore, the browsers only support showing 2g, 3g, 4g up to 10Mbit/s from what I've seen. It's not much use at showing 'modern' downlink speeds (i.e. 200Mbit/s will still show as 4g, 10Mbit/s)&lt;/P&gt;
&lt;P&gt;This is also not stored in the user session / actions table. Rather, it's stored in the waterfall analysis view of a user action and so it's only kept in short term retention for up to 10 days. It means it cannot be queried directly with USQL.&lt;/P&gt;
&lt;P&gt;You will see this on the UA view:&lt;/P&gt;
&lt;DIV class="dxj-i"&gt;
&lt;DIV class="dxj-d"&gt;&lt;SPAN class="gwt-InlineLabel dxj-c" title="Effective connection type"&gt;Effective connection type: &lt;/SPAN&gt;&lt;SPAN class="gwt-InlineLabel" title="4g"&gt;4g&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="dxj-i"&gt;
&lt;DIV class="dxj-d"&gt;&lt;SPAN class="gwt-InlineLabel dxj-c" title="Network downlink"&gt;Network downlink: &lt;/SPAN&gt;&lt;SPAN class="gwt-InlineLabel" title="10 Mbit/s"&gt;10 Mbit/s&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="dxj-d"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="dxj-d"&gt;&lt;SPAN class="gwt-InlineLabel" title="10 Mbit/s"&gt;&lt;SPAN class="gwt-InlineLabel" title="10 Mbit/s"&gt;To be able to query it from USQL, it needs to be converted to user session / action properties first. This might be possible by referencing a JS variable.&lt;BR /&gt;Note, you can confirm which browsers support this as follows.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="dxj-d"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="dxj-d"&gt;&lt;SPAN class="gwt-InlineLabel" title="10 Mbit/s"&gt;&lt;SPAN class="gwt-InlineLabel" title="10 Mbit/s"&gt;In DevTools, on the console, this works on Edge:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="dxj-d"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="The_AM_0-1735601365745.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25513i5914D463330A5EAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="The_AM_0-1735601365745.png" alt="The_AM_0-1735601365745.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV class="dxj-d"&gt;
&lt;P&gt;But not on Mozilla Firefox:&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="The_AM_1-1735601400867.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25514iEC273E21C1402DC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="The_AM_1-1735601400867.png" alt="The_AM_1-1735601400867.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 Dec 2024 23:32:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266375#M6691</guid>
      <dc:creator>The_AM</dc:creator>
      <dc:date>2024-12-30T23:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/270766#M6777</link>
      <description>&lt;P&gt;Hello Andrew,&lt;/P&gt;&lt;P&gt;I followed the steps outlined in the documentation and used the JavaScript variable navigator.connection.connectionType as suggested. However, when I run the query in any web app, I am not getting any values returned.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aboud_0-1740382261522.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26596iE5560051D0F299FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aboud_0-1740382261522.png" alt="Aboud_0-1740382261522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;SELECT *&lt;BR /&gt;FROM usersession&lt;BR /&gt;WHERE useraction.application = "Web_App"&lt;BR /&gt;AND useraction.stringProperties.webnetworksession = "4g"&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 07:38:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/270766#M6777</guid>
      <dc:creator>Aboud</dc:creator>
      <dc:date>2025-02-24T07:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/271091#M6780</link>
      <description>&lt;P&gt;Thanks a lot, its worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 15:59:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/271091#M6780</guid>
      <dc:creator>Aboud</dc:creator>
      <dc:date>2025-02-26T15:59:42Z</dc:date>
    </item>
  </channel>
</rss>

