Social Traffic Monitor WordPress Plugin

Social Traffic Monitor is a plugin for WordPress blogs that monitors your blog traffic for activity coming from social news or bookmarking sites.

When someone clicks on a link to your blog on one of the major social news or bookmarking sites (currently Digg, Netscape, Reddit, Newsvine, Fark, Slashdot, Del.icio.us, and StumbleUpon), the plugin begins to log the visits to that page. This data can then be displayed in the form of a graph of visitors per hour.

Graph produced by the Social Traffic Monitor WordPress plugin

Each vertical line represents one hour, and you can customize how many hours the graph shows. You can also choose to display and link to the top referrers below the graph – a great way to prompt other users to return to those sites and vote for your story.

To install, unzip social-traffic.php and upload it 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.

Note: this plugin will only display the graph and/or referrers on single-post pages, and it won’t display anything unless that post has been accessed from one of the social news sites.

Note: watch the Social Traffic Monitor section of my blog for information on updates to this plugin.

28 thoughts on “Social Traffic Monitor WordPress Plugin

  1. Hi. Looks good from what I see of it on your site, but I can’t get it working on mine. I use WP 2.3. I have created a widget and added the code to it but all it shows is the title ‘Social Traffic’. I have tested it by clicking a link to an article of mine on bookmarked on Reddit but still no output.

  2. wow, this is a great plugin, found it while searching for a torrent stats plugin. your plugin will come in real handy for me as I receive a lot of traffic from social networking sites, esp fark and SU.

  3. Robert Lnn says:

    This is a cool tool and something I will probably push for to my users that has wordpress.

    Any plans on developing this further?

    Anyway, Thank you!

  4. DP says:

    I’m wondering if this plugin is working as well. Had it up on my site now for a few weeks and no stats are showing.

  5. I am now not certain the place you are getting your info, however good topic. I must spend some time studying more or understanding more. Thanks for fantastic info I used to be searching for this info for my mission.

  6. Social media is becoming more and more relevant these days. Especially now that Google is using Google+ with everything and watching for social indicators. Thanks for developing such a great plugin!

  7. Pavels says:

    hi, is there any way to get list of visitor’s social profiles on fb/twi/g+ (if visitor is logged in fb or twi or g+ at the time of visit to website) ?

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>