2

This question already has an answer here:

Today I saw keyword in Google Analytic, which is:

vitaly rules google☆*:.。.゚゚・ヽ(^ᴗ^)丿・゚゚.。.:*☆ ¯_(ツ)/¯(•ิ•ิ)(ಠ益ಠ)(ಥ‿ಥ)(ʘ‿ʘ)ლ(ಠ_ಠლ)( ͡° ͜ʖ ͡°)ヽ(゚д゚)ノʕ•̫͡•ʔᶘ ᵒᴥᵒᶅ(=^. .^=)oo

Location is showing Samara in GA, I would appreciate if someone can tell, how to block this spammy traffic via .htacccess file?

marked as duplicate by John Conde Apr 29 '15 at 13:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

Just create a valid hostname filter in GA. 90% of the spam will never bother you again. Read the section on Ghost Referrals:

http://www.analyticsedge.com/2014/12/removing-referral-spam-google-analytics/

  • But how can I block this traffic in .htaccess. I even dont know domain name of this spammy traffic – Naeem May 12 '15 at 15:07
1

This type of spam never accesses your site so blocking it in your htaccess file won't have any effect. To keep clean your GA you should stop it with filters You can either use the hostname solution Mike suggests or add filter for it.

  • Go to Admin tab in Google Analytics

  • Select the View you want to filter > Filter > New Filter

  • In Filter Type choose Custom Filter > Exclude Filter

  • Field: Campaign Term

  • Filter Pattern: Enter Vitaly rules google

You can check this 2 related answers for more info about Referrer Spam

https://stackoverflow.com/a/28354319/3197362

https://stackoverflow.com/a/29717606/3197362

  • But how can I block this traffic in .htaccess. I even dont know domain name of this spammy traffic. As you can see there are weird characters – Naeem May 12 '15 at 15:07
  • You can't block this traffic from the .htaccess file, this type of spam attacks directly GA, it never accesses your site. You can find more on the links provided here stackoverflow.com/a/30177813/3197362. I strongly recommend you to use the valid hostname filter that will get rid of most of the spam. – Carlos Escalera Alonso May 12 '15 at 15:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.