I have found this only to work about 35% of the time, but if you can get an ip address, and search google for it, you may find posts by that ip address to forum sites with the same content as your site.
But on the fly, for each visitor, nope, can't do it.
I hope your not building a spamming database.