Find out what sites your visitors frequent
- May 28th, 2008
- 8:45 AM (GMT-4)
- Digg This Post!
- Submit to reddit!
- Bookmark This
- No Comments posted
- Discussion Feed
- 103 views
There are a lot of blogs on the internet and most of them will have all of the social networking badges. As a webmaster wouldn’t it be nice to know what social networks your visitors frequent so that you could show only the appropriate badges?
Website developer Aza Raskin has come up with a simple JavaScript solution. It is a small javascript that will create a list of links in an iframe and then decide which site a visitor has been to based on the link color. When you visit sites on the web the links change colors to let you know that the link has been visited. This little javascript will return a list of sites that have been matched as visited. Now this is not a fool proof way but it is the best way currently. There are a few catches. The user has to have JavaScript enabled in their browser. It also only goes based on the browser history so if they clear their history often it won’t pick-up on this.
I am going to look into integrating this into my site maybe in a wordpress plug-in so that I can show only the relevant badges to my visitors. Obviously I would have a default list of badges to show just in case the script was not able to detect any of the sites. If you would like to get the script to use on your site be sure to visit this blog post.





