The Unique Visitors plugin allow you to identify specific anonymous repeat visitors. It adds a globally unique ID to an image tag that is visible in server logs. This cookie-based ID is also made available for other plugins to use with a simple function call. The plugin does not compile visitor statistics, and there are no plans to add the functionality.
The Unique Visitors plugin works with WordPress v3.4.2, and above. It was originally developed for WordPress v2.02, but the simple plugin has worked perfectly with every subsequent version without needed modification and is expected to work with any future version.
No other plugins are required to function, although you may want to create a wrapper plugin to extract anything useful. It is not necessary to configure the plugin or edit your templates.
- Create a new
/unique-visitors/folder in the
- Copy all of the files in the zip archive into the new
- Activate the plugin in the WordPress Plugin Admin panel.
- Installation complete!
For the average user, there’s nothing to do. In fact, if you’re an average user, this plugin isn’t meant for you at all. No other plugins are required. It is not necessary to configure the plugin or edit your templates. The only thing you’ll notice is that your raw server (Apache, Tomcat, whatever) logs will have new lines like the following:
WordPress plugin developers might also find all sorts of creative ways to use the globally unique identifier, available with the
get_unique_visitors_id function. Example usage (not that you’d normally print it out!):
<?php echo get_unique_visitors_id(); ?>
gives you a nice long unique identifier like this:
This plugin is provided as-is, without any warranty of any kind, express, implied or otherwise, including without limitation, any warranty of merchantability or fitness for a particular purpose. In no event shall I be liable for any special, incidental, consequential or indirect damages of any kind, or any damages whatsoever resulting from loss of; use, data or profits, whether or not advised of the possibility of damage, and on any theory of liability, arising out of or in connection with the use or performance of this plugin.