Re: What browsers are users using?

Anonymous
Not applicable

What browsers are users using?

Is there a way to tell within Marketo what browsers individuals are using to access our website?

I thought I could find this information out by looking at the user agent found under the activity details in the activity log. Upon further investigation I found that even when I do use Internet Explorer 8 my activity log is recording my user agent as "Mozilla/4.0" (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0E; .NET4.0C). Which I'm interpreting to mean Mozilla Firefox.

-Thanks!
Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: What browsers are users using?

Hey Cari-
The best way to find this information is to look in Google Analytics under browser type.
Anonymous
Not applicable

Re: What browsers are users using?

The "Mozilla/4.0" reference is just there for historical purposes. After the word compatible it says MSIE 8.0, which indicates Internet Explorer 8 (your browser).

You can find out more about user agent strings for different browser versions here: http://www.useragentstring.com/pages/useragentstring.php

However, if you are just generally trying to understand the types of browser people use when they visit your site, then as Adam says, use Google Analytics - it will be a lot less painful than sifting through user-agent strings by hand.
Anonymous
Not applicable

Re: What browsers are users using?

The browser is detected by two properties of the navigator object:
navigator.appName
navigator.appVersion
 
A quick example for a test landing page:
 
<script>
 
document.write("Name: " + navigator.appName);
 
</script>
 
You can capture the value to a hidden field and, if that is relevant for your company, query the substring to find the browser ID.
 
In PHP (server-side) you can use
 
$_SERVER['HTTP_USER_AGENT'],
 

Bryan highlights an excellent point regading ths historical nature of "Mozilla".
Most browsers will show "Mozilla/4.0" or "Mozilla/5.0" indeed.
Opera is one of the very few exceptions. 
The detection test http://faisalman.github.com/ua-parser-js/   shows: 
Opera/9.80 (Macintosh; Intel Mac OS X 10.7.5) Presto/2.12.388 Version/12.12

You can freely download the script for your own use from
https://github.com/faisalman/ua-parser-js
It contains example code.

Anonymous
Not applicable

Re: What browsers are users using?

Thanks everyone for the quick replies. We do use Google Anayltics to determine which browsers are hitting our website in general but we were trying to troubleshoot when a form stopped working in IE8. I thought Marketo would have the information I needed to help determine the form failure timeframe. Now thanks to you guys I can now determine that informaiton.