Tracker Debugger

Location in WordPress: WP-Admin ▸ Statistics ▸ Settings ▸ General ▸ Open Debugger

The Tracker Debugger is a real-time diagnostics console built into WP Statistics. It helps you verify that the tracker.js script is loading correctly, detect configuration issues and PHP errors, and view a live feed of recent visitor hits—all without leaving your dashboard.

Why use the Tracker Debugger?

Use caseWhat you gain
New installation / site migrationConfirm that tracker.js is being served, that hits reach the collection endpoint, and that no caching or ad-blockers are interfering.
Sudden drop in statsQuickly see if PHP errors or mis-configured consent/DNT rules are preventing hits from being recorded.
Ad-blocker or privacy-tool testingValidate that the built-in ad-blocker bypass is working across real visitors.
Plugin/theme debuggingDetect when a caching plugin, security layer, or custom code blocks or alters tracking requests.

Opening the Debugger

  1. Log in to your WordPress dashboard using an Administrator account.
  2. Navigate to Statistics ▸ Settings.
  3. Open the General tab.
  4. Click Open Debugger. A new window or tab will appear with the live diagnostics view.

Layout & Indicators

The debugger is divided into four panels, each using traffic-light colours and icons to make status checks instantly clear.

1. Potential Issues

ItemMeaningWhat Success looks like
Tracker.js StatusConfirms that the JavaScript file was delivered by your server and executed in the browser.Loaded Successfully (green check)
Hit Endpoint StatusVerifies that the browser could send a tracking request (hit) to your WordPress site and received a 200 OK response.Successful (green check)

If either item shows Failed or Blocked, no statistics will be recorded. Check:

2. Helpful Notes

These are informational flags—neither errors nor successes.

NoteWhy it matters
Do Not Track (DNT)Indicates whether the visitor’s browser sent the DNT header. If Enabled, WP Statistics skips tracking that visitor, so you may see lower counts than in other analytics tools.
Consent Management is DisabledYou have not enabled WP Statistics’ consent module. If you operate in a jurisdiction that requires consent (e.g., GDPR), consider enabling it.

3. Verified Items

CheckDetails
Ad-blocker Bypass is EnabledTracker.js used its fallback endpoint to avoid known ad-block filters.
Caching Plugins DetectedThe debugger lists any caching plugins so you can exclude the tracking endpoint from caching if needed.
No Filters or Exceptions AppliedConfirms that you have not excluded this visitor by IP, role, or custom filter.
PHP Errors Detected in tracker.jsDisplays the exact PHP warning/error captured during the most recent hit. Click to expand for stack trace and file path.

Action required: Any PHP warning or notice can stop hit registration. Click the row, copy the error, and send it to your developer or our support team.

4. Recent Tracker Activity

A live table shows the last hits with:

Use this table to:

Troubleshooting Checklist

SymptomLikely CauseFix
Tracker.js Status: FailedFile missing, script blocked by CSP, or theme removed wp_head()Check file exists at /wp-includes/js/wp-statistics/tracker.js; ensure wp_head() is present; relax CSP for self.
Hit Endpoint Status: FailedREST API disabled, 403 by firewall, or nonces expiredWhitelist /wp-statistics/api/hit; disable “REST API Off” plugins; clear cache.
PHP error flaggedTheme/plugin conflictClick the error → copy message → disable suspect plugin/theme or update WP Statistics.

If issues persist, consult the full Troubleshooting Guide or contact our support team via the link at the bottom of the debugger.

Best Practices

Need more help?

The Tracker Debugger is your quickest window into what the tracker is doing under the hood. If you still see discrepancies after following the steps above, open a support ticket and include:

These details help us diagnose conflicts and get you back on track faster.

Let’s get started
Take your business to next level

Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.