How to Track WordPress Password Usage

PPWP Statistics extension gives you the ability to track your password usage. You can see who visited the private content, when and where they accessed or how many times they entered the passwords. All this data can be exported to CSV format as well.

Requirements:

In this article, we will walk you through the following sections:

Access statistics page

You can access the password statistic page by navigating to Password Protect WordPress >> Statistics from your admin dashboard.

You can view three types of password statistics here. Select which type you want to see and then click on “Apply” button.

Individual password usage

This table shows you the password usage of individual pages.

  • Total Usage: how many times this page has been accessed with the correct passwords. This number equals to all individual password usage.
  • Protection Status: the current status of this page – protected, unprotected or deleted.

A post can be protected with multiple passwords. Click to the arrow icon next to the post name to see which passwords were used to unlock this content.

  • Type: the type of password – global or roles.
  • Total Usage: how many times this password has been used.
  • Unique IP Addresses: the number of unique IP addresses. This figure can sometimes be less than the total usage if visitors come from the same IP addresses.
  • Status: the current status of this password – active, inactive, expired or deleted.

In order to see who have used this password and when they accessed the content, click on “View details” button.

Sitewide password usage

This table shows who has visited your private site, when they accessed and where they come from.

  • Total usage: The number of times this password has been used. Normally, this is the number of people unlocking your site with this password.
  • Unique IP Addresses: the number of unique IP addresses accessing your private site. This number could be less than the total usage if users come from the same IP addresses.
  • Status: the current status of this password – active or deleted.
  • Landing Page: where users inputted this password to access your private site.
  • Redirect URL: to where users were redirected once entering the right password. The value will be empty if there is no redirect URL set at the time users access your protected site.

PCP password usage

This table shows who has used your shortcode global passwords to access the private content sections.

  • Total Usage: the number of time this password has been used
  • Unique IP Addresses: the number of unique IP addresses. This figure can sometimes be less than the total usage if users come from the same IP addresses.
  • Status: the current status of this password – active, inactive, expired or deleted
  • Post Name: the post including shortcode where users input password.

Access Levels password usage

This table shows who has used Access Levels passwords to access your private categories.

  • Landing page refers to where users enter the password. It could be the main category page or an individual post under that category.

Notices:

  • Our extension will get and display the real-time password status whether a password is expired, deleted or still active. So if there are a lot of passwords on your site, it may cause timeout or 500 error.

If that’s the case, you should skip checking the password status on our statistics dashboard page. Simply insert this line on your wp-config.php to achieve so.

define( 'PPWP_STATS_SKIP_PWD_STATUS', true);

All password status will display “N/A” instead.

  • These tables will be empty if no one enters your passwords.
  • If you create a duplicate password with the deleted one, their data will be combined.
  • N/A displays under Username if the visitor hasn’t logged in.

Export password data

Since version 1.2.0, Statistics extension enables you to export password usage in CSV format.

Simply select which data you want to export, then click on the “Export” button in the top-right corner of the screen.

Lasted updated on March 19, 2020