Docs › Diagnostics and troubleshooting
Health checks and the background worker
In the plugin: Tracking Nexus → Diagnostics
On this page
The Diagnostics page checks the parts of Tracking Nexus that can quietly stop working, and says in plain words which one needs you. This page explains each check and the background worker behind server-side sending.
The Health list
(opens the full screen)
At the top right, a red badge says how many checks need attention. Each line then says what is wrong and, where there is somewhere to fix it, has a button.
| Check | What it tells you |
|---|---|
| Storage | The plugin's tables are in place and how many conversions are kept. If they are missing or newer than the plugin, tracking is paused. |
| Tracking | On or off. Switch on opens Get started. |
| Environment | The site's type (production, staging, development or local). Tracking is paused on a copy that isn't production unless you turn on Track on this … site in Consent & privacy. A warning, not an error. |
| Consent | Who decides consent. If the consent source isn't available, tracking is paused; Fix in Consent & privacy opens the page. It also lists consent plugins it found. |
| Background worker | How server copies are scheduled and when the worker last ran. A warning when it hasn't run for more than five minutes. |
| Credentials | How many tokens are saved (encrypted). If the site's security keys changed, the saved tokens can no longer be opened and you must enter them again on Platforms. |
| Capturing leads and orders, Saving settings, Report totals | Whether the plugin recorded an error doing that job, and when. A capture error doesn't affect the lead or order itself. A settings error clears when you save the page again. |
The background worker
Browser copies of an event are sent by the visitor's browser. Server copies are sent by a background worker on your site. It sends queued copies, tries failed ones again, closes browser copies that no browser confirmed within an hour, and sends server copies of browsing events in batches.
The worker is scheduled every minute. It uses Action Scheduler when another plugin provides it, and WordPress's own scheduler (WP-Cron) otherwise; the Background worker line says which. It does nothing while tracking is paused (a non-production copy, or no active licence); waiting copies stay queued.
When the worker is late
WP-Cron only runs when someone visits your site. On a quiet site, or one that has switched WP-Cron off, the worker can fall behind. The fix is a real server cron job: have it call wp-cron.php every minute (your host can set this up), or run wp tracking-nexus run every minute with WP-CLI. For a one-off check, wp tracking-nexus status prints the same diagnostics, with no secrets.
Warnings you may see elsewhere
The same findings appear in a bar at the top of the plugin's pages. Critical ones also show on WordPress's Dashboard and Plugins screens, and WordPress's own Tools → Site Health has a test called Tracking Nexus delivery. They cover:
- Saved tokens that can no longer be read (critical).
- Server copies paused because a token is missing or was refused (critical). Check the token on Platforms; saving resumes them.
- The worker not having run for over 15 minutes while copies wait (critical).
- Conversions that failed in the last day.
- The daily clean-up not running, so old data isn't deleted. This also means WP-Cron isn't running.
- Test mode left on for Google Analytics, Pinterest or Snapchat, so server events aren't counted as real conversions.
- A proxy or CDN the plugin doesn't recognise (it knows Cloudflare and Amazon CloudFront). A developer can list its addresses with the
tracking_nexus_trusted_proxiesfilter. - The queue of server copies being full for a day, or new visitors arriving faster than the request limits allow, so some were tracked in the browser only.
Deliveries, last 24 hours
Under the Health list, a table shows for each platform how many conversions were Sent, are Waiting and Failed. Select a failed number to open those conversions in Activity. With Server copies of browsing events switched on, a second table shows those copies and the Last problem.
Questions
Why does it say the background worker hasn't run?
WP-Cron probably isn't firing on a quiet site, or it is switched off. Add a real cron job that loads wp-cron.php every minute, or run wp tracking-nexus run every minute.
Why is tracking paused on my staging site?
Tracking pauses on any copy of a site that WordPress reports as not production. To test against test accounts, switch on Track on this … site in Consent & privacy.
What does "Credentials: these no longer open" mean?
The site's security keys changed after your tokens were saved, so they can't be decrypted. Enter them again on each platform's page. Defining TN_ENCRYPTION_KEY in wp-config.php (a random value of 32 characters or more) keeps them readable through future key changes.
Do I need to do anything about the Site Health test?
Only if it reports a problem. It uses the same checks as this page and links back to Diagnostics.
Last updated 27 November 2026