Documentation

289 unique views, 358 total views
Last changed: 2009-03-04 8.14am

Work in progress…

Installation

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.

pixelstats trackingpixel

Kommentar schreiben