WordPress User Activity Log Plugin – Logtivity

Description

Logtivity is an activity log that helps you understand exactly what’s happening on your WordPress site.

Logtivity is the best activity log for WordPress. You can record all the user activity on your site. Then you can turn the activity log data into beautiful, useful charts. You can also use the activity log data to send notifications to email or Slack. Plus, you can easily search and export the information.

If you have customers on your WordPress site, you’ll find Logtivity to be invaluable. Because Logtivity records all the important activity, you can see real customer journeys across your WordPress site. This can be incredibly helpful for customer support: the actiivty log will show see exactly what a user has done on your site.

To get started, simply install the Logtivity plugin and then connect your site to Logtivity. You’ll immediately start to see the results. You will see everything this user has done from installing plugins and updating posts, to changing blocks and plugin settings.

Logtivity is a SaaS service
You will need to create a Logtivity account to store your activity logs. Click here to get started with Logtivity!

Yes, Logtivity will keep a record of the activity on your website. However, that’s just where the magic begins. You can then use your data in Logtivity and do three additional things:

  • Create beautiful activity log charts to visualize your data.
  • Send alert notifications to Slack and email.
  • Easily export activity log reports to CSV files, not matter how many logs you have.

Here’s an introduction to those three options, showing why Logtivity is the best activity log plugin for WordPress:

Create beautiful charts from your activity log

The image on the top of this page shows what’s possible with Logtivity. First, I searched my site’s data for file downloads and then clicked the “Convert to Report” button. Logtivity did the rest. With a couple of mouse clicks, I’ve created a chart showing all the daily file downloads.

Logtivity customers can build a whole dashboard full of charts, so you can quickly see the number of logins, downloads, payments and anything else that’s important to you.

Click here to see more about activity log charts.

Send Email and Slack notifications for user activity

Once your site is connected to Logtivity, you can set up unlimited alerts for any activity you want to know about as soon as it happens. You can send the alerts to your inbox or Slack channel.

One Logtivity customer employs various writers, so they’ve set up a series of Slack alerts that show when the writers log in. You can use this as a security alert, letting you know every time someone in the Administrator role logs in.

Another customer sends themselves an email every time a plugin or theme is updated. They only run updates on Monday, but realized that some plugins will run their own auto-updates. Logtivity allows them to be constantly aware of all site changes. A third customer sends themselves an alert every time there have been no plugin updates in the last week! They want to make sure they don’t forget to run updates.

eCommerce sites can use Logtivity for convenient notifications and set up alerts for all new, changed, and canceled subscriptions. Click here to see more about alerts.

Click here to see more about activity log notifications.

Export user activity logs to CSV

Logtivity was started because one of our clients had reporting problems due to the amount of data collected on their site. The client was using a plugin that stored data in the WordPress database. Whenever we tried to export large amounts of logs, the site would show 502 errors. We needed to have the information stored separately. Being a dedicated service, Logtivity can optimize for things such as exporting 100,000 logs.

Click here to see more about activity log exports.

What user activities does Logtivity record?

Below is a list of all core WordPress actions that Logtivity records for your site. In addition to support for the WordPress core, Logtivity records events for many plugins and themes.

  • WordPress Core Updated
  • WordPress Core Installed
  • Post Updated
  • Post Published
  • Post Trashed
  • Post Restored from Trash
  • Post Permanently Deleted
  • Attachment Uploaded
  • Attachment Meta Updated
  • Theme Switched
  • Theme Deleted
  • Theme Updated
  • Theme Installed
  • Theme File Edited
  • Theme Customizer Updated
  • User Logged In
  • User Logged Out
  • User Created
  • User Deleted
  • Profile Updated
  • Plugin Activated
  • Plugin Deactivated
  • Plugin Deleted
  • Plugin Updated
  • Plugin Installed
  • Plugin File Edited

Easy Digital Downloads activity logs

Logtivity has detailed activity log support for the Easy Digital Downloads plugin and some extensions. Easy Digital Downloads is one of the best and most popular ways to sell digital products with WordPress. The activity logs, reports, and notifications provided by Logtivity will be helpful for anyone selling with Easy Digital Downloads.

Inside Logtivity, you will find support for the main Easy Digital Downloads plugin, including these actions:

  • File Downloaded
  • Payment Completed
  • Payment Refunded
  • Customer Created
  • Download Added to Cart
  • Download Removed from Cart
  • Discount Applied
  • Discount Published
  • Discount Trashed
  • Discount Updated

There’s also support for the Software Licensing extension and the the Recurring Payments extension:

  • License Created
  • License Activated
  • License Activation Failed
  • License Deactivated
  • License Renewed
  • License Renewal Notification Unsubscribed
  • License Status Changed
  • License Upgraded
  • Site Deactivated
  • Site Added
  • Subscription Renewed
  • Subscription Created
  • Subscription Updated
  • Subscription Status Changed
  • Subscription Deleted
  • Payment Method Updated

Activity logs for WordPress user logins

It’s important to havee an activity log on your WordPress site. You need to know many people are visiting, making purchases, and logging in to your site. Yes, you can track visitors with Google Analytics, and you can track purchases with your payment gateway, but it’s harder to track WordPress-specific information such as log ins. Using Logtivity, you can get an overview of who is logging in to your site, and how many people are logging in every day.

If Logtivity is active on your site, you can go to the “Logs” screen and search for all the “User Logged in” events. You can use the search boxes to drill down for more specific information. For example, you can use the “Context” box to search for a particular user role. You can use this to search for all “Administrator” logins or all “Editor” logins.

You can also use the search option as a security log and look for nefarious patterns in the audit logs. For example, you can search by IP address to see if one person is using multiple logins. Or you can search by username to see if one account is being shared by different people.

Click here to see more about activity logs for user logins.

Screenshots

  • Configurable Site Dashboard
  • Site Logs with powerful filtering
  • WordPress Settings Page
  • Set up unlimited alerts for any activity you want to know about as soon as it happens. Straight to your mailbox or slack channel.

Installation

From your WordPress dashboard

Visit ‘Plugins > Add New’
Search for ‘logtivity’
Activate Logtivity from your Plugins page.

From WordPress.org

Download logtivity.
Upload the ‘logtivity’ directory to your ‘/wp-content/plugins/’ directory, either through the UI (Plugins > Add new) or via SFTP or example.
Activate Logtivity from your Plugins page.

Once Activated

Visit ‘Tools > Logtivity’ to view the settings page.
Enter your Logtivity API key, configure your options and your event monitoring will start!

FAQ

What plugins do Logtivity activity logs support?

Logtivity has some support for most WordPress plugins. If the plugin uses post types, we record when most post types are updated, created or deleted.

We currently have integrations with Easy Digital Downloads, Memberpress and Download Monitor. These integrations allow you to track things like Memberpress subscription creations, changes, or cancellations and also track when files are downloaded through Download Monitor.

We are working on more detailed event monitor support for some key plugins, including eCommerce plugins such as WooCommerce and Easy Digital Downloads.

Please contact us for specific details on any plugin that you are using.

Can I log custom events?

Yes, the plugin provides a flexible API to log and store custom events with Logtivity. An example of logging a custom event is below. This example is recording information from Stripe.com for a customer:

Logtivity::log()
    ->setAction('My Custom Action')
    ->addMeta('Meta Label', $meta)
    ->addMeta('Another Meta label', $someOtherMeta)
    ->addUserMeta('Stripe Customer ID', $stripeCustomerId)
    ->send();

Click here to see more about custom activity logs.

Is Logtivity a GDPR-compliant activity log?

Yes, Logtivity gives you complete control over the user tracking information recorded in the audit logs. You can choose your GDPR settings. You can decide to only log a profile link, user ID, username, IP address, or nothing at all.

  • Inside your WordPress site, go to “Tools” and then “Logtivity”.
  • You can uncheck the boxes on this screen to stop Logtivity from recording personal user trackking data.

Here’s an overview of the key GDPR-compliant settings:

  • Store User ID: If you check this box, when logging an action, we will include the users User ID in the logged action.
  • Store Users Profile Link: If you check this box, when logging an action, we will include the users profile link in the logged action.
  • Store Users Username: If you check this box, when logging an action, we will include the users username in the logged action.
  • Store Users IP Address: If you check this box, when logging an action, we will include the users IP address in the logged action.

Click here for more about the GDPR and activity logs.

Can I disable all activity logs and only store custom logs?

Yes! You can easily disable all event monitoring that this plugin provides so that you can only store the audit logs that matter to you manually. You can also disable built in logs on an individual basis via the filter example below:

add_action('wp_logtivity_instance', function($Logtivity_Logger) {

    if (strpos($Logtivity_Logger->action, 'Page was updated') !== false) {
        $Logtivity_Logger->stop();
    }

});

Click here for more about disabling activity logs.

Can I rename the activity logs?

Yes, it is possible to rename the events that are stored in Logtivity’s audit logs. For example, you can add this code to your site’s functions.php file. This code will result in an event “File Downloaded” being logged as “Resource Downloaded”.

add_action('wp_logtivity_instance', function($Logtivity_Logger) {
    if (strpos($Logtivity_Logger->action, 'File Downloaded') !== false) {
        $Logtivity_Logger->setAction('Resource Downloaded');
    }
});

Click here for more about renaming activity logs.

Can I export the activity logs?

Yes, Logtivity makes it easy to export your user activity data into a CSV file. Follow these steps for your audit log export:

  • To get started, visit the “Logs” area inside https://app.logtivity.io.
  • You can either search for a specific result, or you can use export all your event monitoring logs.
  • When you see the logs you want to export, click “Actions” and then “Export to CSV”.
  • Logtivity will show you the following message: “Export scheduled”.
  • When the export file is ready, Logtivity will send you an email with a download link to the CSV file.

Click here to see more about exporting activity logs.

Can I send activity log notifications to Slack channels?

Yes, You can use Logtivity to send alerts to your Slack account. Follow these steps to connect Logtivity to a channel in your Slack account:

  • In the Logtivity app, click on the name of your team.
  • Click “Alert Channels”.
  • Check the “Slack” box.
  • Enter the name of your Slack channel.
  • Click the “Add Channel” button.
  • You will now see a screen where Slack asks you to allow Logtivity access. Click the “Allow” button.
  • You will be redirected back to the Logtivity app.
  • Any alert for this Logtivity team will now be sent to your Slack account.

Click here to see more about activity logs and Slack notifications.

How does Logitivity compare to other activity log plugins?

There are some good WordPress activity log plugins including WP Activity Log, WP User Activity, User Activity Log, Activity Log, WP Cerber, Jetpack activity log, User Activity Tracking and Log, WP Stream, Simple History, Aryo Activity Log and more.

Logtivity is different from those plugins in several important ways:

  • It is a hosted service, so you don’t have to store all the data in your site’s database. This can really slow down your site! Logtivity allows you to store much more data, and export it more easily.
  • Deeper integration with key plugins such as Easy Digital Downloads and MemberPress.
  • Visualize your data with Logtivity’s charts.

Logitivity branding information

Logtivity is the official brandname. When writing about this activity plugin, please make sure to uppercase the L:

  • Logtivity (correct)
  • logtivity (incorrect)
  • Logtivity.io (incorrect)
  • Log tivity, loggtivity, logg tivity (all incorrect)

Reviews

اگست 12, 2021
I contacted them here yesterday and got a reply in minutes. I followed up by email and again got an instant, helpful reply. Very helpful!
Read all 1 review

Contributors & Developers

“WordPress User Activity Log Plugin – Logtivity” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.7.0

Release Date – Wednesday 17th August 2021

  • Improvements to Settings page.
  • Log EDD License Renewed
  • Log EDD License Renewal Notification Unsubscribed
  • Log EDD License Status Changed to [new_status]
  • Log EDD License Upgraded
  • Log EDD Site Deactivated
  • Log EDD Site Added
  • Log EDD Subscription Renewed
  • Log EDD Subscription Created
  • Log EDD Subscription Updated
  • Log EDD Subscription [status] eg. Expired, Cancelled etc.
  • Log EDD Subscription Deleted
  • Log EDD Payment Method Updated

1.6.1

Release Date – Wednesday 4th August 2021

  • Begin adding support for the Easy Digital Downloads Software Licensing Addon.
  • Log License Created events.
  • Log License Activated events.
  • Log License Activation Failed events.
  • Log License Deactivated events.
  • Don’t log new comments when they are marked as spam.

1.6.0

  • Added initial Easy Digital Downloads core integration.
  • Track when Core Settings are updated.
  • Track when Permalinks are updated.
  • Track when Memberpress Transactions are Created/Updated.
  • Track when Memberpress Emails are sent.
  • Track when a Memberpress User Profile is updated.
  • Track when Memberpress Settings are Updated.
  • Track WordPress comments CRUD.

1.5.0

  • Renamed Download Monitor Action name to File Downloaded.
  • Added Request URL as log meta.
  • Added Request Type as log meta.

1.4.0

  • Removed deprecated async method from Logtivity_Logger class.
  • Added API key verification when updating Logtivity settings.

1.3.1

  • Fix user info not always being picked up on User login action.
  • Fix 0 being logged for username when not logged in.
  • Fixed duplicate logs being recorded when Updating a post in Gutenberg.

1.3.0

  • Added revision link to Post Updated logs.
  • Added Role to Content parameter for User Logged In and User Logged Out.

1.2.0

  • Added context parameter to API calls to separate out Actions from Titles.

1.1.0

  • Add logging when updating menus.
  • Add logging when updating widgets.
  • Fix spelling mistake in postPermanentlyDeleted method.

1.0

  • Fix php warning when tracking a logout event.