Documentation
289 unique views, 358 total viewsLast changed: 2009-03-04 8.14am
Work in progress…
Installation
- Download at http://downloads.wordpress.org/plugin/pixelstats.zip
- Extract to
wp-contents/plugins - Activate in your Plugin pane in Wordpress
To show off your Stats add the following code to your Wordpress Template code:
- Unique views:
<?php print(get_pixelstats()); ?> - Total views:
<?php print(get_pixelstats(false)); ?>
After update:
- Deactivate and activate plugin to make sure all database settings are up to date (indexes etc.)
Tracking
Wherever the_content() or the_content_rss() is used to display an article text, a tracking pixel is built in the output. When the browser is requesting that pixel, the hit is written into the Wordpress database, tracking the time, the viewed article ID and a user ID.
The user ID is automatically generated and contains no information about the user whatsoever. It is stored into a visitor’s browser cookie, to identify that user afterwards ab]nd to distinguish recurring and non-recurring users. So when counting unique views, every article view for each visitor is only counted once.
Das ist ein privates Blog von