X
🐾 Coming from PetMatchPro 6.x? Version 8 adds real adoption analytics, similar-animal suggestions, SEO-friendly URLs, and overlay badges. See What's New →
PetMatchPro
  • Partners
    • AnimalsFirst
    • PetPoint
    • RescueGroups
  • What’s New
  • Shop
  • Demo
  • FAQ
  • Knowledge Base
  • About Us
  • Contact Us
  • My Account
  • Cart
Select Page
Green rocket icon for Getting Started documentation category

Getting Started

6
  • Activate Your License
  • Setup Wizard Walkthrough
  • Connecting Your Shelter System
  • Understanding License Tiers
  • Creating Your First Search Page
  • Creating Your First Detail Page
Blue code brackets icon for Shortcodes and Configuration documentation category

Shortcodes & Configuration

12
  • Shortcode Builder
  • [pmp-search] Reference
  • [pmp-details] Reference
  • [pmp-detail] Reference
  • [pmp-option] Reference
  • Parameters by License Tier
  • Common Shortcode Recipes
  • Pagination Setup
  • Excluding Values
  • Search Filter Button
  • Detail Button Hover Text
  • Search Card Hover Text
Purple palette icon for Templates and Design documentation category

Templates & Design

7
  • Search Templates Gallery
  • Detail Templates Gallery
  • Poster Templates
  • Theme Template Overrides
  • Color Customization
  • Font Size Customization
  • Detail Title Formats
Orange image with star icon for Icons and Overlays documentation category

Icons & Overlays

6
  • Understanding Pet Icons
  • Understanding Overlays
  • Icon Reference Gallery
  • Customizing Icon Display
  • Value-Based Icons
  • Icon Size Customization
Teal tag icon for Labels and Customization documentation category

Labels & Customization

3
  • Custom Labels Guide
  • Changing Labels via Filtering
  • Custom Currency & Date Formats
Blue funnel icon for Filters and Search documentation category

Filters & Search

5
  • Setting Up Search Filters
  • Species & Breed Filtering
  • Filter Value Management
  • Excluding Values via Filtering
  • Partner-Specific Filter Options
Violet chain link icon for Partner Integration Guides documentation category

Partner Guides

3
  • AnimalsFirst Integration Guide
  • PetPoint Integration Guide
  • RescueGroups Integration Guide
Red bar chart icon for Analytics and Tracking documentation category

Analytics & Tracking

7
  • Understanding PMP Analytics
  • GA4 Configuration
  • Google Tag Manager Setup
  • Leveraging Analytics
  • WP-Cron Requirements for PetMatchPro Analytics
  • Queue Health and Tools
  • Privacy and Data Retention
Amber wrench icon for Troubleshooting and FAQ documentation category

Troubleshooting

15
  • Common Error Messages
  • API Connection Issues
  • Template Not Found Errors
  • Theme Template Override Not Loading
  • Performance & Caching Best Practices
  • Animals Not Displaying
  • Stale Content / Cache Issues
  • Styling Conflicts
  • Empty Field Display
  • Analytics Queue Stuck or WP-Cron Not Running
  • Premium Feature Not Appearing After Upgrade
  • Troubleshoot the PetMatchPro Shortcode Builder
  • Reading PMP Debug Logs
  • wp-config.php Configuration Constants
  • How to Contact Support
Lightbulb icon representing PetMatchPro best practices guides for homepage layouts, button strategy, performance tuning, and template selection

Best Practices

10
  • Featuring Animals on Your Homepage
  • Adding Animals to Sidebars and Other Pages
  • Using Banners and Subtitles Effectively
  • Overlays and Icons for Quick Visual Cues
  • Writing Effective Detail Page Instructions
  • Button Configuration for Conversion
  • Optimizing Performance with API Caching
  • Customizing Typography and Icon Sizes
  • Lost and Found Search Best Practices
  • Template Selection Guide
View Categories
  • Home
  • Knowledge Base
  • Analytics & Tracking
  • Queue Health and Tools

Queue Health and Tools

5 min read

Queue Health and Tools #

Requires Preferred license. Applies to PetMatchPro 8.7.0 and later.

This article covers the operational instruments PetMatchPro provides to keep an eye on the analytics pipeline: the Queue Health card on the Analytics tab, and the Flush Queue Now and Run Cron Self-Test buttons on the Tools tab.

The Queue Health Card #

Find it under PetMatchPro > Analytics > Analytics Queue Health. The card shows three rows:

Row What It Shows What “Healthy” Looks Like
Queue Depth Number of impression entries currently buffered, waiting on the next cron flush Anywhere from 0 to a few hundred is normal during active traffic. Should drop to 0 within 60 seconds of activity ending.
Last Flush How long ago the cron task last drained real impression data into the analytics database. This timestamp tracks data freshness, not cron activity – on a site with no recent visitor traffic the cron is still running every minute on an empty queue, but “Last Flush” continues showing the age of the last real drain. “Never” appears on a brand-new install or immediately after Clear All Data, until the first impression batch is committed. Under 60 seconds during active traffic. “Never” on a fresh install is fine. Any age (even hours) is fine on a low-traffic site as long as no warning badge appears next to it.
Next Scheduled When the cron task is set to fire next A time under 60 seconds in the future.

Refresh Button #

Below the three rows is a Refresh button that re-pulls current health metrics in place without reloading the entire admin page. Useful when monitoring the pipeline during active traffic – click Refresh every few seconds to watch Queue Depth grow as impressions arrive, then drop to 0 when the next 1-minute cron tick drains them.

Refresh works in both Queue Health locations: the Analytics tab card and the Tools tab Analytics Queue accordion. The Tools-tab Flush Queue Now button automatically triggers a Refresh after a successful flush, so depth and last-flush values update without a manual click.

Warning States #

The yellow “Cron may be broken” badge appears when PetMatchPro detects the WP-Cron handler has not run in more than 5 minutes – the same threshold that triggers the synchronous-flush safety fallback. Two scenarios produce the badge:

  • On “Next Scheduled” – No future cron event is registered for the analytics flush hook. Usually a plugin conflict that unscheduled the event, or WP-Cron is disabled at the host level without a real cron-job replacement.
  • On “Last Flush” – The cron handler itself has not fired in over 5 minutes. (Note: this is a separate signal from the “Last Flush” timestamp’s age – the badge is gated on the last cron tick, not the last data flush. So a low-traffic site with cron firing fine on empty queues will show an old “Last Flush” age but NO badge – that is healthy. Conversely, on a busy site with broken cron, the queue accumulates and the badge appears alongside whatever the last real-flush age was.)

If you see either badge, see the WP-Cron requirement guide.

Flush Queue Now Button #

Found at PetMatchPro > Tools > Analytics Queue. Click the button to drain the queue immediately, without waiting for the next scheduled cron tick.

When to use it #

  • After a content change. You just published a batch of new animals and want the dashboard to reflect impressions on them right away rather than waiting up to 60 seconds.
  • Before exporting analytics data. Drain the queue first so the export captures everything currently buffered.
  • While diagnosing a sync issue. A successful manual flush rules out a coding problem – if the manual button works but cron does not, the issue is with WP-Cron, not PetMatchPro.

What it shows #

After clicking, the button reports the number of rows drained as a green badge (“Flushed N rows.”). It then automatically triggers a full Queue Health refresh, so all three rows (Queue Depth, Last Flush, Next Scheduled) update in place to reflect the post-flush state – depth drops to 0, Last Flush updates to “just now”, and any “Cron may be broken” badge clears if the flush brought staleness back below threshold. If the flush fails, you will see a red “Flush failed.” badge; check your error log for the actual cause.

Run Cron Self-Test Button #

Found at PetMatchPro > Tools > Cron Self-Test. This is an active diagnostic that confirms WP-Cron is actually firing on your site, regardless of what the Queue Health card says.

How it works #

  1. You click “Run Cron Self-Test”.
  2. PetMatchPro schedules a single one-shot WP-Cron event 60 seconds in the future.
  3. The page polls every 5 seconds for up to 2 minutes.
  4. If the test event fires within the deadline: green “Cron is healthy” badge.
  5. If the deadline elapses without the event firing: yellow “Cron does not appear to be firing” warning, with a link to the cron requirement KB article.

The test runs independently of the analytics queue, so a “healthy” result confirms cron itself is working – any analytics issue is elsewhere. A “failing” result means WP-Cron needs attention before analytics can recover.

When to run it #

  • Right after enabling tracking on a new install, to confirm the pipeline works.
  • If the dashboard shows zero new impressions despite real traffic.
  • If the Queue Health card shows a “Cron may be broken” badge and you want to confirm before contacting your host.
  • After upgrading WordPress, PetMatchPro, or any caching/security plugin, to confirm nothing broke cron.

Rebuild Daily Summaries Button #

Found at PetMatchPro > Tools > Rebuild Daily Summaries. Clicking the button re-aggregates raw analytics events into the daily summary table that powers the dashboard.

Why this exists #

The dashboard reads from a daily summary table – one row per (date, event type, method, animal, species, source, action type) combination – instead of GROUPing the raw events table on every render. A 5-minute cron and a nightly 3 AM finalize keep the summary current automatically. The Rebuild button is for the cases where the cron has not had a chance to run yet:

  • Right after upgrading to 8.7.0. The summary table starts empty; this button backfills it from your existing raw event data so the dashboard has data to display.
  • After a database restore. If you restore a backup that has raw events but stale (or missing) summary rows, click Rebuild to bring them into sync.
  • While diagnosing dashboard issues. If the dashboard shows zero data despite raw events being present, Rebuild rules out a stale summary table.

What it does #

  1. Finds raw-event dates not yet present in the summary table, oldest first.
  2. Processes up to 90 days per click (capped to keep the request fast).
  3. Refreshes today’s summary in addition to the historical backfill so the dashboard reflects the latest activity immediately.
  4. Reports the number of days processed and rows written.

If your analytics history is longer than 90 days and you need to backfill the entire range, click the button repeatedly – each click picks up where the previous one left off.

What These Tools Do Not Do #

  • They do not edit your wp-config.php. If WP-Cron is fully disabled at the host level, the tools can detect it but cannot fix it. You (or your host) must add a real cron job. See cron requirement.
  • They do not auto-refresh. The Queue Health card reflects state at the time of the page load. Reload the Analytics tab to see fresh numbers.
  • They do not require Preferred license to view, but do require manage_options capability to act. Editor-role users will not see the buttons.

Next Steps #

  • WP-Cron Requirement – Setting up real cron when the self-test fails
  • Understanding PMP Analytics – The metrics this queue feeds
  • Interpreting Position Impact – Reading the dwell-gated position data
Queue Health and Tools ultima modifica: 2026-04-29T20:04:03-04:00 da PetMatchPro
Updated on April 29, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
WP-Cron Requirements for PetMatchPro AnalyticsPrivacy and Data Retention

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Queue Health and Tools
    • The Queue Health Card
      • Refresh Button
      • Warning States
    • Flush Queue Now Button
      • When to use it
      • What it shows
    • Run Cron Self-Test Button
      • How it works
      • When to run it
    • Rebuild Daily Summaries Button
      • Why this exists
      • What it does
    • What These Tools Do Not Do
    • Next Steps

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login