Identify devices used to login to out Service portal

flemming1
Giga Contributor

HI there

We're building a Service portal and while talking about the layout on a mobile device, it just hit me that I can't find a way to identify what type of device a user is logged in with.

I would like to do the following:
  1. Identify the device
    1. Android, iOS, Windows, Mac
    2. Identify the screen size and resolution
    3. Identify the version of the device (optional)
  2. Identify the browser they are using (optional)
    1. Identify the version of the browser

I guess the more info we can get about the device, the better. Then we can always choose what to use.

Thanks up front

Flemming

2 REPLIES 2

amaradiswamy
Kilo Sage

Hi Flemming,



Below link may be useful.


How To Use Google Analytics: Beginners Guide | DKS Systems



Regards


Swamy


Shahed Shah1
Tera Guru

Hi Flemming



A user agent string is stored in the Transactions [syslog_transaction] table for each transaction that takes place. You can get to it by navigating to System Logs > Transactions (All user).



If you're interested in Service Portal related transactions, you could filter down the list with something like:


[Created] [on] [Today] AND [URL] [starts with] [/api/now/sp/] AND [Type] [is] [REST]



The table retains around 7 days worth of logs so you will not be able to go far back for analytics. Perhaps that's something that can be worked up using PA. Though, I've not tried it before.



Hope this helps


Shahid