dcsimg

How to update the browsers.ini for Google Android in versions of Webtrends Analytics prior to 8.1

Products

Webtrends Analytics 8.1
Webtrends Analytics 8.0
Webtrends Analytics Legacy

Issue

How to update the browsers.ini for Google Android in versions of Webtrends Analytics prior to 8.1

Resolution

As noted above, these steps only apply to the versions mentioned. Versions of Webtrends Analytics 8.1 and later use the updater.

The following steps describe the method for updating the browsers.ini for Google Android. Note that the order of the update is important. A copy of an updated browsers.ini will be attached to this document as soon as it is available.

Make the following changes in the browsers.ini file in the location below:
Webtrends\storage\config\component\lookupdata

Here is the end of the ORIGINAL [Browsers] section:
?
Browser26=CHROME

Browser27=SAFARI
Browser28=GECKO

?
[CHROME]
log=CHROME
text=Google Chrome

[SAFARI]
log=SAFARI
text=Safari

[GECKO]
log=GECKO

text=Mozilla

Here is the end of the NEW [Browsers] section (Note that GOOGLEANDROID must come before SAFARI since the Android user-agent contains the string SAFARI”)
?
Browser26=CHROME

Browser27=GOOGLEANDROID
Browser28=SAFARI
Browser29=GECKO

?
[CHROME]
log=CHROME
text=Google Chrome

[GOOGLEANDROID]
log=ANDROID
text=Google Android Browser

[SAFARI]
log=SAFARI
text=Safari

[GECKO]
log=GECKO

text=Mozilla

Here is the end of the ORIGINAL [Platforms] section:
?
Platform52=IPHONE

[IPHONE]
log1=IPHONE
text=iPhone
?

Here is the end of the NEW [Platforms] section:
?
Platform52=IPHONE
Platform53=ANDROIDPLATFORM

[IPHONE]
log1=IPHONE
text=iPhone

[ANDROIDPLATFORM]
log1=ANDROID
text=Google Android
?

Save the changes, stop the Webtrends – Scheduler Agent and Webtrends – User Interface services and replace the browsers.ini file in the following locations with the one that was modified:

C:\Program Files\WebTrends
C:\Program Files\WebTrends\modules\analysis\engine\[version]

Restart the services and after the next analysis you will see:

Google Android Browser” in the Browsers report and Browsers By Version report.
“Google Android
in the Platforms report.


More Information

There is no need to add Android to the [Wireless Browsers] section in browsers.ini. The logic to determine the browser first looks in the [Browsers] section. Then, only if a match is not found in the [Browsers] section, a match is sought in the [Wireless Browsers] section. Even if we put Android ONLY in [Wireless Browsers] it would never be found there because the user-agent string also contains ?Safari?, which is a valid non-wireless browser string in the [Browsers] list.