Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can get around this with some fairly simple hacks. Write some JavaScript that evals a part of your page or something crazy like loading part of itself from Rot13 text file. Have this js generate an ID you can identify as 'real' or 'fake'. Filter your analytics by this ID. If you want to be extra funny make real and fake IDs look indistinguishable to human eyes.

99.9% of spammers are too lazy to spend any time figuring this out for a single site, and their tools won't even tell them spam isn't working. I've gotten away with adding a simple static ID to everything and except for really large juicy targets spammers don't even watse time on this.

All of my sites get zero spam with this filter



Can you elaborate on that? How do you make the real and fake ids?


The spammer bots are so dumb that using anything besides default "pageview" events seems to work


I assume he means something like the real ids being divisible by 2, while the fake ids are not.


Can you share any details on this implementation? Sounds really interesting.


I love me a good honeypot.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: