Description
Customer Activity helps WooCommerce store owners quickly see which customers currently have products in their cart and when they were last active.
The plugin adds:
- A dashboard widget for quick monitoring
- A dedicated admin page with a full activity table
- Online/offline detection
- Cart item and cart total tracking
- Flexible role-based tracking
- Configurable display columns
- Automatic cleanup of old tracking data
Perfect for B2B stores, wholesale shops, sales teams, and customer follow-up workflows.
Features
- Track customers with active WooCommerce carts
- See last customer activity time
- Detect online/offline customer status
- Display cart item count and cart total
- Dashboard widget with customizable fields
- Full activity page in wp-admin
- Add a note for follow-up with the client
- Dormant Customers tab to identify customers who have stopped ordering
- Track only selected user roles
- Exclude WordPress core roles automatically
- Automatic cleanup of inactive tracking data
- Lightweight and simple configuration
Dashboard Widget
The dashboard widget gives a quick overview of customers currently active with products in their cart.
Available fields:
- Company
- Name
- Last activity
- Online status
- Cart items
- Cart total
Activity Page
The activity page includes:
- Customer profile links
- Activity timestamps
- Online indicators
- Cart information
- Remove action
Online Detection
Customers are considered online if they were active within the configured time window.
Role Tracking
Track only the roles you want.
Examples:
- customer
- wholesale_customer
- b2b_customer
- distributor
WordPress core roles are automatically excluded.
Automatic Cleanup
Old tracking data can be automatically removed after a configurable number of days.
Set cleanup to 0 to disable cleanup.
Installation
- Upload the plugin to /wp-content/plugins/
- Activate the plugin
- Make sure WooCommerce is active
- Open Customer Activity in wp-admin
- Configure your settings
FAQ
Does this plugin require WooCommerce?
Yes.
Does the plugin track guests?
No. Only logged-in users are tracked.
Can I track custom B2B roles?
Yes.
Can administrators be tracked?
No.
Can I disable automatic cleanup?
Yes. Set cleanup days to 0.
Screenshots
Changelog
1.2.2
- Fix Active Cart table layout — Online Status column reduced to icon only (50px) to free up space for Name column
- Fix Note / Reminder column width reduced from 220px to 200px
- Fix Actions column set to fixed 80px width
1.2.1
- Add popover on note preview click — shows full note text without opening the edit form
- Add close button and click-outside-to-close on popover
- Fix note preview now stores full text in data-full-note attribute for popover
1.2.0
- Add inline note form per customer — text note + optional reminder date
- Add reminder date badge with overdue highlight in red
1.1.1
- Improve dormant query — single grouped SQL instead of N+1 calls per customer
- Add HPOS compatibility — detects wp_wc_orders (HPOS) vs wp_posts (legacy) automatically
- Add bulk billing meta fetch — one query per meta key instead of one per customer
- Add pagination — 50 customers per page with prev/next and page number nav
1.1.0
- Add Dormant Customers tab listing customers with no recent orders, 3 months, 6 months, 1 year+
1.0.0
- Initial release
- Dashboard widget
- Full activity page
- Online detection
- Cart tracking
- Role tracking
- Automatic cleanup
- Configurable columns





