Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.06 KB

README.md

File metadata and controls

37 lines (28 loc) · 2.06 KB

Posts Unique View Counter

GitHub version GPLv2 license PRs Welcome saythanks

Easily count unique views of your posts.

How does it work?

  • All views of the post will start at zero (0) upon the plugin installation.
  • When a visitor viewed your post, it will save a cookie on the visitor so that same visitor will only count as one (1) view, this way we can uniquely identify each visitor.
  • The cookie expires after a month, so if the same person viewed your post after the cookie expires it will count as another view.
  • Visitors who use "incognito" or something similar will be counted always as a unique visitor because "incognito" mode does not save cookies.
  • One (1) visitor = One (1) cookie.

Installation

  1. In your WordPress admin menu, hover to Plugins and click Add New.
  2. Enter Posts Unique View Counter in the searchbox.
  3. Find the plugin entitled Posts Unique View Counter by David Angulo then click Install Now.
  4. Click Activate once the plugin is installed.

Installation using Composer

composer require wpackagist-plugin/posts-unique-view-counter

Screenshots

  1. Posts Unique View Counter running on Twenty Twenty theme.
  2. Posts list page with view column.
  3. Posts Unique View Counter settings.

License

Copyright © 2022 David Angulo, released under the GPL2 license, see LICENSE.