Skip to content

Enhance WPCC page stats to update dynamically from event tracker data #593

@Piyopiyo-Kitsune

Description

@Piyopiyo-Kitsune

Summary

Enhance the WordPress Campus Connect page so the Events Completed and Students Reached numbers update dynamically using event tracker data instead of being manually maintained.

Page: https://wordpress.org/education/campus-connect/

Problem

The current stats on the WPCC page require manual updates, which can lead to outdated numbers and additional maintenance overhead.

Proposed Solution

Pull both stats dynamically from the event tracker.

Events Completed

Increment this total for each event where:

  • the event is a Campus Connect event, and
  • the event status is Closed

Students Reached

Sum the Actual Attendees field across all events where:

  • the event is a Campus Connect event, and
  • the event status is Closed

Expected Behavior

The WPCC page should automatically display up-to-date totals for:

  • Events Completed
  • Students Reached

Notes

  • Confirm how Campus Connect events are identified in the tracker
  • Confirm the tracker/source of truth for this data
  • Define handling for events with empty or missing Actual Attendees
  • Ensure updates to closed events are reflected in the totals
  • Consider caching/performance for public page rendering

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions