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.
I installed the plugin but your above tutorial does not tell at all from where to view the Unique visitor stats??
Also the plugin does not clarify that?
Can you explain how do we view the unique visitor number stat and where?
I am surprised at your half-hearted tutorial above
Sorry, I thought “It adds a globally unique ID to an image tag that is visible in server logs” pretty much covered those questions. The plugin does not provide any statistics, and I have no current plans to add the ability. I will edit the description to reflect that.
Some history: this plugin was developed to help me track visits from someone stalking my family from an AOL account with dynamic IP addresses. Raw server logs are better evidence to submit to the FBI than compiled stats from a plugin.
Thanks for the feedback!
Can You help me with unique visitors counter, visible on my wordpress page?
Answer at my email.
This is exactly what I have been looking for… I find Google analytics is not all that reliable on unique users as it double counts. thanks for this Richard.