🌤️ We hope you’re all having a great summer. In Sweden – where Simple History is developed – we have nice and warm summer days now. Perfect days for… a new release of the plugin with experimental support for email reports and new REST API endpoints for stats.
Email reports
Agencies and companies with many websites have requested ways to more easy keep track of their websites without needing to log in into each site every now and then. The new Email Reports is one a new way for you to get a quick glance of what’s been happening on a website. When enabled, the emails are sent monday mornings, to a list of e-mail addresses that you specify.
We are still developing this feature and have not yet determined what exactly to show in the email, so at the moment it’s hidden behind the experimentals features flag. We also want to make sure we battle test this on websites we manage to see how it permormes and looks for websites with a wide variety of events and admins.
Screenshots of email and settings
Here’s a preview how the email looks, in this case for a local test development site. We have tried to keep the email short and sweet – and with support for hooks so you can add your own data to the email if you want.

We have also tried to keep the settings simple. Basically just a checkbox to enable the emails and a list of email recipients.
For you convenience there is also links to preview the email with live data in a new browser tab or to send a test email to your email.

Stats REST API endpoints
The core functions that power the detailed Stats and Summaries page now have REST API endpoints. This makes it possibly to get stats like the number of events per day for a period and show in custom graphs or dashboards.
Full changelog
Added
- Weekly email reports: Enabled for users with experimental features enabled, this new feature let you get an weekly email with a brief summary of what’s been happening on your site. The emails are opt-in so you need to add your email address to the settings to start receiving them. (We have not yet decided on the exact contents of the email, so here is a chance for you to test and send feedback!)
- REST API Endpoints for Event Statistics:
- 🔒 All endpoints require administrator privileges
- 📈 Available endpoints:
/wp-json/simple-history/v1/stats/summary– Brief overview with total counts for events, users, content, media, plugins, and core updates/wp-json/simple-history/v1/stats/activity-overview– Daily activity breakdown/wp-json/simple-history/v1/stats/peak-days– High activity day analysis/wp-json/simple-history/v1/stats/peak-times– Peak activity time patterns/wp-json/simple-history/v1/stats/users– Detailed user activity insights/wp-json/simple-history/v1/stats/content– Content modification statistics/wp-json/simple-history/v1/stats/media– Media upload and management metrics/wp-json/simple-history/v1/stats/plugins– Plugin installation and update data/wp-json/simple-history/v1/stats/core– WordPress core update tracking
- These endpoints contain the same data as the Premium add-on uses on the Stats and Summaries page/History insights page.
Changed
- Improvements to the layout of the quick stats box.
- Misc internal code improvements.
Fixed
- Fix PHP notice due to
wpdb::prepare()not using placeholders correctly.