Forum Discussion
Anonymous
7 years agoNot applicable
User Agent Format
Hi All, I am writing a report that needs to show responses by Device type an dwe only store the User Agent code e.g. Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NE...
- Anonymous7 years ago
Hi
The problem is these strings di not have a std format so to determine the device is to say the least hard.
compatible; MSIE 7.0; Windows NT 6.2 in this example the device would be Computer due to the MSIE 7.0
The other prblem is they are random to an extent and there are databases tiy can get to link to.
The reason I asked the question was if any one who had worked with User Agents had worked out a formula to get the device data without a looku p DB.
The more I read about the User Agents it seems a lookup DB may be t he way to go
Greg_Deckler
Community Champion
7 years agoSo what part of that string do you want?