Hi,
does somebody know if it is possible to hide referrers from amazonaws.com from the statistic plugin?
I don't want to deny access from amazonaws.com, i just don't want to view those entries at the bottom of my statistic. I also don't want the referrer in my blog-konfig. The entries just mess up my stats, because the access the site every 15 minutes (to fetch some content).
Thank you and regards, Harald
Hide amazonaws.com from Statistics?
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
Re: Hide amazonaws.com from Statistics?
It is not, as far as I can see. Not with the “normal” options of the plugin. I doubt that there is an easy, update-safe trick doing i.e. some MySQL voodoo, but I wouldn't know.Harald Weingaertner wrote:does somebody know if it is possible to hide referrers from amazonaws.com from the statistic plugin?
YL
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
Re: Hide amazonaws.com from Statistics?
Tanks for your reply yellowled.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Hide amazonaws.com from Statistics?
I'd suggest to setup a cronjob that removes those statistics daily? Alternatively, you can patch include/functions.inc.php the function serendipity_displayTopUrlList() - there where the SQL part "WHERE" is build you can put a
to filter it. However I'm not sure that we should add such a filter in our current codebase as an option, what do others think? We could even outsource it as a global $serendipity variable like $serendipity['ignoreReferrer'] with an array of hosts to ignore...?!
Code: Select all
WHERE host NOT LIKE 'amazonaws.com' AND day > date...
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
Re: Hide amazonaws.com from Statistics?
Thanks Garvin,
personal i would love to have a filter, where i could filter some referrers out of my statistics. Maybe this should be done in the statistic plugin?
Thanks for the two workarounds.
Best regards, Harlad
personal i would love to have a filter, where i could filter some referrers out of my statistics. Maybe this should be done in the statistic plugin?
Thanks for the two workarounds.
Best regards, Harlad