Social Traffic Monitor is a plugin for WordPress blogs that monitors your blog traffic for activity coming from social news or bookmarking sites.
To install, copy social-traffic-monitor.php to the wp-content/plugins/ directory of your blog. Activate the plugin from your Administration panel, and then, using the theme editor, add this line of code wherever you want to display the chart and/or referrers:
<?php social_traffic(); ?>
Alternatively, you can supply some custom HTML to display along with the chart and/or referrers, if they are displayed by calling the plugin like so:
<php social_traffic('<div>%s</div>'); ?>
The "%s" will be replaced by the output created by the plugin. In this instance, the div tags will only be output if the plugin has something to display.