question

Carlos S. avatar image
Carlos S. asked ·

UEM - Browser version detection.

Hi,

One of our customers, is using UEM intensively, but what we have noticed and tested from several desktops is, UEM showing the browser version a bit off i.e.:

An Internet Explorer 8 on Windows XP SP3 sometimes shows as IE 8 and sometimes as IE 7

Could not find documentation on how does de JavaScript Agent get the version, either from user-agent, or on a different way?

How does the JavaScript agent detect the current browser version , in example, for Visits?

Thanks in advance,
Carlos. 

 

web performance monitoring
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Jerry L. avatar image
Jerry L. answered ·

I think I had a check box at a customer site in the browser that caused some issues with IE version that showed up in UEM, compatibility check box maybe in the internet options....   User-Agent string would be different based on it having a check in the box or not    Some users may have it checked and some may not.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Carlos S. avatar image
Carlos S. answered ·

Hi Jerry,

Thanks for your reply, it was a good tip, I ended up on an MSDN blog, where says that IE 8 would usually introduce itself as IE7 if in "local network" or "intranet access".

Or it could be just running on compatibility mode for IE 7.

I guess the check box could be there or using F12 and switching Modes.

Thanks again,

Carlos.

 

 

 

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Roman S. avatar image
Roman S. answered ·

Hi Carlos,

You can use http://user-agent-string.info/ to verify the browser version that UEM will detect from the user agent string...

Best, Roman

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Carlos S. avatar image
Carlos S. answered ·

Thank you Roman and Jerry,

Issue solved, by "default" IE introduces itself as a previous version, particularly for "local" intranet or local network access to apps.

Basically by using F12 and forcing Mode IE 8 it begins to present or show user-agent 8 - as expected -, if Compatibility View is selected it shows up as IE 7, same behavior with IE 8 and 9.

This is important to know and inform the customers, since they may be aware of the differences when looking at UEM metrics (Client or Browser Familiy/Version).

Thanks again!

Carlos.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Ray D. avatar image
Ray D. answered ·

I am trying to use my UEM to determine visits by browser version as well.  IE visits are all reported as IE7 or IE8.  When I know we have customers visiting our website with IE11, including myself.  I understand what you are saying about compatibility mode and F12 - changing Emulation setting for  ‘user agent string’…  However, I don’t want to ask my customers to change their browser settings, just so dynaTrace can accurately reflect the number of visits by browser version.

So... what are my options? … or can any of my Measures or Business Transactions be modified to capture the actual IE browser version?  Such as the Evaluation/Filter/Splitting - “Client Family of Visits” or the BT - “Visits by Client Family”

Thank you,

RayJr

4 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Can you post the User-Agent string that dynaTrace detects as IE7 or IE8 even though they are e.g: IE11? Maybe there is something on the User-Agent string that will tell us the "real" browser version that you can then use

0 Likes 0 · ·

I'm using IE 11 on Windows 8 - I have identified one issue, UEM never picks up my visit, I had to find my visit via Transaction Flow then Pure Path. So there might be something else I'm missing or overlooking... Any advice?

Running IE 11 with compatibility mode ENABLED, the 'user-agent' details: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; Touch; .NET4.0E; .NET4.0C; Tablet PC 2.0; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; BRI/2)

Running IE 11 with compatibility mode DISABLED, the 'user-agent' details: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko

Thank you,

RayJr

 

0 Likes 0 · ·

If your visit doesnt show up - can you check the following things

a) does the dtagent.js file show up in your HTML page? -> look at the source code of the page

b) can you enter the URL for the dtagent.js file in your browser address bar and check if you can access that URL?

c) check if your browser doesnt block any javascript files

Andi

0 Likes 0 · ·

Yes sir

a)<script type="text/javascript" src="/dtagent56_np3_5876.js" data-dtconfig="rid=RID_2418|rpid=-401117319|domain=welldata.net|tp=500,50,0,1"></script>

b) yes, if I put in the full address, it asks if I want to run or save the js

c) if I try to run it - it says 'the publisher of dtagent56_np3_5876.js couldn't be verified, are you sure you want to run the program. 

RayJr

0 Likes 0 · ·
Andreas G. avatar image
Andreas G. answered ·

Can you additionally try to check if your browser can reach the /dynaTraceMonitor URL? This is the URL that dtagent.js uses to send back the captured data.

2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Andi,

I narrowed it down, based on a UEM setting I found.  I am now seeing visits by Client Family IE 11, but not all.

Signal splitting with IIS 6.0 – The sending of large signals via POST body is not possible when IIS 6.0 is involved. Please adjust your application's UEM settings by checking "Split large signals" in the edit-System-Profile-dialog > User Experience vertical tab > JavaScript Agent branch > Configure Advanced Events...

This setting is enabled now and I'm seeing many more visits and more Client Family splitting's...

However, I am now really seeing my visit from IE 11 as IE 7, when viewed in Compatibility Mode. Below are the user-agent details found in user action details:

User Action Details
Client IP: 192.168.9.178
Session: A15F3C20C354909841ABF1D9F4E95C91
Page-ID: 271079558_153
URL: https://www.welldata.net/Settings/UserSettings.aspx
Title: NOV - WellData : User Settings
Action Name: click on "FTP Settings"
Action Type: click
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3)
Dom-Nodes: 0 Dom Load Time [ms]: 201
Latency [ms]: 12 Perceived render time [ms]: 235ms (1899x1071)
JavaScript Error-Count: 0 JavaScript Warning-Count: 0

 

Thank you,

RayJr

0 Likes 0 · ·

Good to know you nailed the first problem.

As for the second. I fear that there is really not a whole lot you can do. We look at the User-Agent String to identify the browser type and version. And if the browser "fakes" its identiy then there is nothing we can do. The only option you have is to find a way to overwrite the User-Agent string that is used by IE. I think there is a registry setting that you can specify.

The only other thought that I have is that you can look at the OS instead of the Browser version. If you see that somebody is using NT 6.3 (which I assume is the internal version of Windows 8) you know that they are most likely not using IE7 but actually IE11)

Andi

0 Likes 0 · ·
Andreas G. avatar image
Andreas G. answered ·

Here is an interesting RFE that was just posted which shows that it is possible to detect the correct version of the browser via the User-Agent String: RFE - Dyntrace Internet Explorer Browser Detection

I just talked with the responsible Product Manager and he is looking into this. Please vote on the RFE to give this a higher priority

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Ray D. avatar image
Ray D. answered ·

Andi,

Thank you again for all your help and suggestions.  I also reviewed the RFE and voted. 

RayJr

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

David J. avatar image
David J. answered ·

voted on this up too Soon every visit I have will be marked as IE7 even though they'll come from 7,8,9,10 or 11

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Gomez H. avatar image
Gomez H. answered ·

Check this info about Compatibility mode detection:

1.- https://social.msdn.microsoft.com/Forums/vstudio/en-US/ae715fd2-1ddd-46f7-8c26-9aed6b2103f1/how-to-detect-compatibility-mode-in-ie-any-version?forum=netfxjscript

2.- https://gist.github.com/jasongaylord/5733469

3.- https://groups.google.com/forum/#!msg/browscap/40-5XTokTjM/CoS_BbmUoeYJ

Important note: if the IE makes a visit to a dt UEM monitored server and then it moves into compability mode, it will still be injected. The only way to clearly browse in compatibility mode is to clear the cache (and all cookies from the site you want to go), switch into compatibility mode and then visit the dt UEM monitored server you want.

 

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.