Mike Rockett Posted December 21, 2016 Share Posted December 21, 2016 So I'm seeing these across nearly all of my domains in Google Analytics... Anyone else gettin this? I guess there's no easy way to prevent it from happening. Or perhaps I should whitelist languages through htaccess? 1 Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted December 21, 2016 Share Posted December 21, 2016 Nice catch! See it too. I guess that is Putin's personal hacker squad making itself known to all web-traffic concerned . 2 Link to comment Share on other sites More sharing options...
arjen Posted December 21, 2016 Share Posted December 21, 2016 Join the club 3 Link to comment Share on other sites More sharing options...
Mike Rockett Posted December 21, 2016 Author Share Posted December 21, 2016 I'm going to try create GA filters that only allow tracking of specific languages - that seems to be the only way to go about it, considering that these douche bags (sorry, they really are) hijack Analytics IDs. I could also use segments, but filters could workwell for this. Link to comment Share on other sites More sharing options...
elabx Posted December 21, 2016 Share Posted December 21, 2016 Can confirm, no wall can stop spam. 1 Link to comment Share on other sites More sharing options...
Mike Rockett Posted December 21, 2016 Author Share Posted December 21, 2016 19 minutes ago, elabx said: Can confirm, no wall can stop spam. It's almost as if I shouldn't even bother with analytics. But hey, I'll do what I can and see what happens. Link to comment Share on other sites More sharing options...
BitPoet Posted December 21, 2016 Share Posted December 21, 2016 I've seen that too, hand in hand with a near doubling of new sessions in GA with arbitrary pages/view rate for last month, so this really messes up the stats. I've found some reports saying that these entries all come from Accept-Language headers (not Measurement Protocol) so it should be possible to block these requests at server level with a regex on Accept-Language that throws away anything that doesn't match the required format given in rfc7231. I'm going to take a look after Christmas hols if Akamai lets me add that such a filter in DSA. It should be relatively easy to do in Apache and NGINX, something like RewriteCond %{HTTP:Accept-Language} !^$|\*$|([a-z]{2,3}(-[a-z]{2,3})?)(\s*,\s*[a-z]{2,3}(-[a-z]{2,3})?)*($|;) [NC] RewriteRule ^.*$ "-" [F] The regex isn't a complete validity check and untested yet, but it should get the job done. Might even work for a GA filter too. 2 Link to comment Share on other sites More sharing options...
netcarver Posted December 21, 2016 Share Posted December 21, 2016 Perhaps running the 6G Firewall might help. Link to comment Share on other sites More sharing options...
fbg13 Posted December 21, 2016 Share Posted December 21, 2016 Just came across this article https://kinsta.com/blog/language-spam/. 3 Link to comment Share on other sites More sharing options...
Mike Rockett Posted December 22, 2016 Author Share Posted December 22, 2016 11 hours ago, BitPoet said: I've seen that too, hand in hand with a near doubling of new sessions in GA with arbitrary pages/view rate for last month, so this really messes up the stats. I've found some reports saying that these entries all come from Accept-Language headers (not Measurement Protocol) so it should be possible to block these requests at server level with a regex on Accept-Language that throws away anything that doesn't match the required format given in rfc7231. I'm going to take a look after Christmas hols if Akamai lets me add that such a filter in DSA. It should be relatively easy to do in Apache and NGINX, something like RewriteCond %{HTTP:Accept-Language} !^$|\*$|([a-z]{2,3}(-[a-z]{2,3})?)(\s*,\s*[a-z]{2,3}(-[a-z]{2,3})?)*($|;) [NC] RewriteRule ^.*$ "-" [F] The regex isn't a complete validity check and untested yet, but it should get the job done. Might even work for a GA filter too. Thanks - I have now done that for those spammers that spam through the site. Just wisg Google made it easier to run filters on GA for those that don't spam through the site/domain. 7 hours ago, fbg13 said: Just came across this article https://kinsta.com/blog/language-spam/. Thanks - that looks good. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now