Automattic / WP-Job-Manager

Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
https://wpjobmanager.com
GNU General Public License v3.0
899 stars 368 forks source link

Add stats admin settings screen #2730

Closed pgk closed 8 months ago

pgk commented 8 months ago

Fixes #2729

Changes Proposed in this Pull Request

Testing Instructions

Release Notes

New or Updated Hooks and Templates

Deprecated Code

Screenshot / Video

Screenshot 2024-01-31 at 3 55 38 PM
Plugin build for 6b9f6cbc008a73d447919b6a787758794cb666be
📦 Download plugin zip
▶️ Open in playground
yscik commented 8 months ago
pgk commented 8 months ago
  • Would it make sense to enable stat collection, but have a separate option to disable stats on the frontend for employers?

Hmmm maybe yes!

* The Require paid listings might not make it into the first iteration, and the Paid listings addon should be adding it

Noted, and removed.

* Date range wise I'm looking into showing stats for the whole listing duration, that sounds the most useful for employers.

How would we codify that? Something like a select box with options? Or hard-rule?

* Retention wise, we probably want to control this. Job listings stats we'd delete when the listing is deleted, and global sites stats site owners would likely want to see for years (which we'd archive monthly.)

Sounds good.

I am merging it and we can figure out the date-range and retention in subsequent prs.