| 1 |
=== Logtivity === |
| 2 |
Contributors: logtivity |
| 3 |
Tags: logtivity, activity log, logging, event monitoring, download monitor, memberpress, user activity |
| 4 |
Requires at least: 4.7 |
| 5 |
Tested up to: 5.6.1 |
| 6 |
Stable tag: 1.0 |
| 7 |
Requires PHP: 7.0 |
| 8 |
License: GPLv2 or later |
| 9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 10 |
|
| 11 |
Track activity/events on your website. Connect your site to Logtivity to send logs to the third party service for metrics and security purposes. |
| 12 |
|
| 13 |
== Description == |
| 14 |
|
| 15 |
Logtivity is a Dedicated Event Monitoring Solution for WordPress. This plugin will capture events/actions on a WP site and send them to Logtivity for logging, reporting and checking for alerts. Some actions this plugin will track include installing/updating plugins, creating, updating and deleting users, page/post/custom post type CRUD actions and more. |
| 16 |
|
| 17 |
Logtivity allows you to store all your sites logs in one place, set up alerts for key actions you may wish to be notified of, keep a papertrail of actions taking place on your website, export and create reports on to view the events more visually using charts. |
| 18 |
|
| 19 |
[More information on Logtivity](https://logtivity.io/). |
| 20 |
[Logtivity Terms of Use](https://logtivity.io/terms/). |
| 21 |
[Logtivity Privacy Policy](https://logtivity.io/privacy/). |
| 22 |
|
| 23 |
== Screenshots == |
| 24 |
|
| 25 |
1. Configurable Site Dashboard |
| 26 |
2. Site Logs with powerful filtering |
| 27 |
3. WordPress Settings Page |
| 28 |
4. Set up unlimited alerts for any activity you want to know about as soon as it happens. Straight to your mailbox or slack channel. |
| 29 |
|
| 30 |
== Installation == |
| 31 |
#### From your WordPress dashboard |
| 32 |
Visit 'Plugins > Add New' |
| 33 |
Search for 'logtivity’ |
| 34 |
Activate Logtivity from your Plugins page. |
| 35 |
|
| 36 |
#### From WordPress.org |
| 37 |
Download logtivity. |
| 38 |
Upload the 'logtivity' directory to your '/wp-content/plugins/' directory, either through the UI (Plugins > Add new) or via SFTP or example. |
| 39 |
Activate Logtivity from your Plugins page. |
| 40 |
|
| 41 |
#### Once Activated |
| 42 |
Visit 'Tools > Logtivity' to view the settings page. |
| 43 |
Enter your Logtivity API key, configure your options and your good to go! |
| 44 |
|
| 45 |
== Frequently Asked Questions == |
| 46 |
|
| 47 |
= Can I log custom events? = |
| 48 |
|
| 49 |
Yes, the plugin provides a flexible API to log and store custom events with Logtivity. An example of logging a custom event is below. |
| 50 |
|
| 51 |
` |
| 52 |
Logtivity::log() |
| 53 |
->setAction('My Custom Action') |
| 54 |
->addMeta('Meta Label', $meta) |
| 55 |
->addMeta('Another Meta label', $someOtherMeta) |
| 56 |
->addUserMeta('Stripe Customer ID', $stripeCustomerId) |
| 57 |
->send(); |
| 58 |
` |
| 59 |
|
| 60 |
= Can I disable user information being sent with the logs = |
| 61 |
|
| 62 |
Yes. You can choose to only log a profile link, user ID, username, IP address, or nothing at all. |
| 63 |
|
| 64 |
= Can I disable all default logging and only store custom logs. = |
| 65 |
|
| 66 |
Yes! You can easily disable all default logging that this plugin provides so that you can only store the logs that matter to you manually. |
| 67 |
|
| 68 |
You can also disable buit in logs on an individual basis via the filter example below: |
| 69 |
|
| 70 |
` |
| 71 |
add_action('wp_logtivity_instance', function($Logtivity_Logger) { |
| 72 |
|
| 73 |
if (strpos($Logtivity_Logger->action, 'Page was updated') !== false) { |
| 74 |
$Logtivity_Logger->stop(); |
| 75 |
} |
| 76 |
|
| 77 |
}); |
| 78 |
` |
| 79 |
|
| 80 |
== Changelog == |
| 81 |
|
| 82 |
= 1.0 = |
| 83 |
* Fix php warning when tracking a logout event. |
| 84 |
|