Google Analytics / Cpanel gets spam hostnames

Over the past few weeks, I have seen many 00:00:00 sessions from spam servers. I want to not only block them in Google Analytics, but also in cPanel, if possible.

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

+5
source share
2 answers

Block spam traffic from Google Analytics

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

  • A valid host name filter that takes care of all phantom spam in any form (referral, organic or fake direct visit)
  • Campaign source filter with an expression created with all known scanner spammers.

As an additional feature, you can enable the built-in function "Exclude all hits from known bots and spiders", this option will exclude all traffic from bots / crawlers that are not spam, but they also do not visit people.

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

Block spam traffic from cPanel

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

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

+3
source

This is my sound too easy, but you can just put off the call

ga('send', 'pageview') //May look different due to different Goggle Analytics Code 

for 50 ms-1s. This will allow recording only those users who remain at least 50 ms-1. I don't know what will be the best timing, but this seems to be an easy way to do this.

0
source

All Articles