• Resolved pawelgp

    (@pawelgp)


    I’d love to exclude from statistics every (no title) which corresponds to {domain}/wp-admin/false that shows too often enlarging pageviews of probably Internet robots. Doesn’t have to be removed totally, but at least as an option (on/off) to filter these or manually set exclusion list ex. {domain}/to_exclude to be omited in stats for a client. Is it possible to be done, please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Lap

    (@lapzor)

    I’m not familiar with bots (or anything) causing hits on wp-admin/false.
    Do you maybe have some more knowledge about this, what exactly is sending the bots to that link or if this is related to some plugin on your site or such?

    By default, any bot that admits to being a but (via the user agent header) will already be filtered out.

    If this is common traffic that is caused by bots that do not send an honest user agent we would indeed not want to include this in the statistics, but I’ve not seen this happen before yet so I would like to know more about it first. I will also ask Danny to see if he knows what could cause this.

    Thanks for letting me know.

    Plugin Author Danny van Kooten

    (@dvankooten)

    I’ve yet to experience this myself too, have never seen bots hitting that website. But for what it’s worth, you can use the following filter snippet to disable loading the tracking script for any URL on your website starting with /wp-admin/.

    
    add_filter( 'koko_analytics_load_tracking_script', function() {
    	if (stripos($_SERVER['REQUEST_URI'], '/wp-admin/') === 0) {
    		return false;
    	}
    
    	return true;
    });
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘no title result for /wp-admin/false’ is closed to new replies.