Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Analytics /Cpanel getting spam hostnames [closed]

Over the last few weeks I have seen a lot of 00:00:00 sessions come from spamming servers. I want a way to not only block them in Analytics but also in cPanel if possible.

If anyone knows the best way to remove all spamming hostnames please share.

like image 321
RussellHarrower Avatar asked Oct 19 '22 05:10

RussellHarrower


1 Answers

Blocking Spam Traffic From within Google Analytics

You can use a combination of 2 filters to stop all the spam in google analytics:

  • A Valid Hostname Filter that will take care of all ghost spam in any form (referral, organic or fake direct visit)
  • A Campaign Source Filter with an expression built with all the known Crawlers Spam.

As an extra you can enable the built-in feature “Exclude all hits from known bots and spiders“, this option will exclude all the traffic from bots/crawlers that are not spam but they aren’t human visits either.

You can read more here http://www.ohow.co/what-is-referrer-spam-how-stop-it-guide/

Blocking Spam Traffic From cPanel

You can use IP Deny Manager within cPanel to block spam referrals.

You can read more here http://geekflare.com/block-spam-referral-traffic-to-your-website-through-cpanel/

like image 200
Faheem Sohail Avatar answered Oct 27 '22 09:10

Faheem Sohail