Wusage 7.1 Manual: useragentgroups

You are looking at the manual for Wusage 7.1. This product is three years old! Check out Wusage 8.0 and its remarkable new features.

Wusage 7.1 Manual

useragentgroups Option

To reach this option in the configuration file editor, follow these steps:

1. Edit Configuration
2. Configure Reports...
3. Top User Agents Report...
4. Patterns...

If you prefer to manually edit your configuration files, use the following syntax for this option:



Example
useragentgroups
#
#The first match wins. If the user agent contains something like
#(compatible; REAL BROWSER NAME HERE) then the real browser name
#is automatically extracted -- you do not need to worry about this.
#
#VERY IMPORTANT: write spaces in patterns as a '?' to avoid ending
#the pattern prematurely!
#
MSIE?4* Microsoft Internet Explorer 4.0
MSIE?3* Microsoft Internet Explorer 3.0
MSIE?2* Microsoft Internet Explorer 2.0
MSIE?1* Microsoft Internet Explorer 1.0
Mozilla/4* Netscape 4.0
Mozilla/3* Netscape 3.0
Mozilla/2* Netscape 2.0
Mozilla/1.1* Netscape 1.1
Mozilla/1* Netscape 1.0
Lynx* Lynx Text Browser
#
end useragentgroups

Description

The Top User Agents Report: Patterns (useragentgroups) option is used to indicate that all agents matching a particular pattern should be reported as the same browser name in the Chart Top Web Browsers (useragents) report. Each entry in the useragentgroups option contains a pattern or regular expression and a title for that pattern. See the Patterns and Regular Expressions section for more information.

The three patterns shown above match all references to each of several different popular web browsers. Each character of each user agent name is matched against each pattern in the list. An * in a pattern matches any number of characters in a document name. A ? in a pattern matches any one character. Patterns have additional features, including support for regular expressions; for more information, see the Patterns and Regular Expressions section.


Table of Contents
Topical Configuration Editor Reference
Alphabetical Configuration Editor Reference
Alphabetical Configuration File Reference
Glossary of Frequently Used Terms

Contact Us

Follow us on Twitter | Contact Us

Copyright 1994-2012 Boutell.Com, Inc. All Rights Reserved.