Removing some query parts from referers in AWStats
For checking what’s going on my blog and other sites I use AWStats – very popular and powerful web logs analyzer.
Because I have many hits from forums, many referer links contains session ids. It pollutes ‘Links from an external page’ section and make very long list of duplicated urls.
AWStats has a feature to remove some query parameters but I discovered (and it’s quite clear documented) that it works only for analyzed site links, not for referers 🙁
This long list made me angry every time I tried to look at it, so today I told myself: “Enough! It’s time to do something with it!”
And now I have new option available: URLReferrerWithQueryWithoutFollowingParameters 🙂
Patch: awstats-URLReferrerWithQueryWithoutFollowingParameters.diff
New option works exactly the same way as URLWithQueryWithoutFollowingParameters but removes some parts of referer.
I tested it against AWStats 7.1 and 7.1.1 – it works.
And as usual: use it at your own risk 🙂
Comments
Removing some query parts from referers in AWStats — No Comments
HTML tags allowed in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>