By default the Bing is not recognized as a search engine in AWStats 6.9 and older versions.
We can make it possible by doing some changes in the configuration file.
To add BING support, we have to edit search_engines.pm in the lib directory.
Just go through the steps
1. SSH into the server with root privilege.
2. Go to “usr/local/cpanel/3rdparty/bin/lib”
3. List the file “search_engines.pm” [ls -l search_engines.pm].
4. Before doing any change, take a backup of the file that need to edit.
[cp -p search_engines.pm search_engines.pm.`date +%F`]
5. To enable BING support, we need to edit the following sections as mentioned below:
@SearchEnginesSearchIDOrder_list1
Find
‘msn\.‘,
Insert this line right after that:
‘bing\.com‘,
%SearchEnginesHashID
Find
‘msn\.’,’msn’,
Insert this line right after that:
‘bing\.com’,’bing’,
%SearchEnginesKnownUrl
Find
‘msn’,’q=’,
Insert this line right after that :
‘bing’,’q=’,
%SearchEnginesHashLib
Find
‘msn’,'<a href=”http://search.msn.com/” title=”Search Engine Home Page [new window]” target=”_blank”>MSN Search</a>’,
Insert the following line right after that:
‘bing’,'<a href=”http://www.bing.com/” title=”Search Engine Home Page [new window]” target=”_blank”>Bing</a>’,
At last the AWStats search_engines.pmĀ has been updated in such a way to support Bing. Now the “Bing” visitors will be listed in the search engines section and will find their keywords under Search Keyphrases and Search Keywords.
Please note that the ‘Bing” visitors will be listed after the next awstats update. After the awstats update, you can verify the “Bing support” from the following sections.
Awstats [for the particular domain] >> Referrers: >> Origin >> Referring search engines
Awstats [for the particular domain] >> Referrers: >> Search >> Search Keyphrases & Search Keywords