MetricPoints help

WordPress Plugin

Connect the browser beacon and WordPress health evidence to your site, with optional CSP reporting.

Skip to guide

Integrations / WordPress Plugin

MetricPoints Browser Beacon for WordPress

One plugin connects your WordPress site to MetricPoints. It installs the browser beacon and adds WordPress application evidence alongside external monitoring, so your agency can investigate site health, business-function failures, and recent changes in one place.

External monitoring works without the plugin, including on non-WordPress sites. Add the plugin for WordPress context; enable browser collection separately when you want evidence from real visitor sessions.

Download WordPress plugin

Requires WordPress 5.8 or later and PHP 7.4 or later, a MetricPoints account with the site added, and access to install plugins in WordPress.

What the integration adds

  • Browser evidence: JavaScript errors, unhandled promise rejections, performance metrics including Core Web Vitals, and optional network-failure monitoring. User tracking and session replay are separate options.
  • WordPress health: REST API and loopback checks, uploads writability, URL/SSL mismatches, maintenance or coming-soon state, failed updates, and privacy-limited PHP fatal-error fingerprints.
  • Forms and mail: supported form-system detection, entry counts and recent submission times where storage is available, unusual submission silence after an established baseline, supported submission outcomes, and WordPress mail attempts or failures. Coverage depends on the form plugin and its storage adapter.
  • WooCommerce: store visibility, purchasable products, cart and checkout page checks, a no-order add-to-cart probe, recent order-status counts, payment-gateway configuration presence, and shipping-method coverage when available.
  • Background processing: WordPress cron state, overdue events, and Action Scheduler backlog or failures when available.
  • Search visibility: indexing settings, homepage noindex and canonical checks, robots.txt, sitemap reachability, and SEO plugin context.
  • Cache and compatibility: cache and optimization plugins, cache drop-ins, public cache headers, dynamic-page cache risks, runtime versions, compatibility requirements, and duplicate plugin-family advisories.
  • Change context: core, plugin, and theme updates; activation and deactivation; routing, visibility, and selected configuration changes; and privileged-user changes to help correlate a failure with what changed.
  • Optional CSP reporting: use an existing policy owner or choose WordPress-managed report-only or enforcing headers.
  • Optional approved diagnostics: advertise supported actions such as a fresh snapshot, connector self-check, mail diagnostic, or supported page-cache clear. Availability depends on the site, and execution requires explicit agency approval.

Mail handoff does not prove inbox delivery, and the standard WooCommerce cart probe does not place an order or prove a paid checkout. Inbox-receipt monitoring and explicitly enabled staging test-order checks require their own setup.

Install and connect

  1. In MetricPoints, open the site from All Sites, then choose Setup → WordPress plugin.
  2. Copy the site key. Choose Create credential and copy the private connector credential immediately; MetricPoints shows it once.
  3. Download the plugin ZIP above. In WordPress, open Plugins → Add New → Upload Plugin, upload the ZIP, install, and activate.
  4. Open Settings → MetricPoints in WordPress. Paste the site key and private connector credential into their separate fields, save, then verify the connection.
  5. Under WordPress evidence → Choose WordPress signals, review which signals to send. WordPress health signal options are enabled by default; safe remediation is off.
  6. Choose the browser collection and consent settings below before enabling the browser beacon. Save changes, then use Send health snapshot to check WordPress evidence delivery.
  7. Return to the site's Setup and Health views in MetricPoints to verify incoming evidence and review coverage.

The public site key identifies browser telemetry and may appear in page JavaScript. The private connector credential signs WordPress verification, snapshots, and action results; keep it server-side and never paste it into a browser snippet. The plugin encrypts it using the WordPress auth salt. The saved field stays blank, so use the connection status to confirm it is configured.

Use the plugin to install the beacon once. Remove a duplicate manual or tag-manager beacon installation to avoid collecting the same visitor evidence twice.

Browser collection, consent, and privacy

The browser beacon is off by default. User tracking, session replay, network monitoring, and admin tracking are also off. Performance tracking is selected by default but only runs when the beacon is enabled and collection is permitted.

  • Require consent integration: the default mode loads the beacon only when your consent integration returns true from the metricpoints_browser_beacon_consent_granted WordPress filter for that visitor. Selecting this mode alone does not connect a consent tool.
  • Collect without a plugin consent gate: choose this explicitly only after reviewing the site's notices and collection requirements.
  • Interaction data: enable user tracking only when needed. Session replay also requires user tracking and the browser beacon to be enabled. Fingerprinting and persistent browser storage remain disabled.

The site operator controls notices, consent, legal basis, and retention. WordPress health snapshots contain bounded operational metadata and exclude submitted form fields, email bodies and recipients, passwords, and the private connector credential. Browser evidence can include URLs, error messages, stack traces, and optional interaction context; review collection settings before enabling it.

Optional CSP setup

Enable the plugin's CSP monitoring tools if you need CSP reporting, then choose who owns the policy:

  • External owner: WordPress does not write CSP headers. Copy the displayed report URI into the policy managed by your host, CDN, server, or security plugin.
  • Monitor only: WordPress writes Content-Security-Policy-Report-Only to report violations without blocking resources.
  • Manage and enforce: WordPress writes an enforcing Content-Security-Policy. Validate your policy in report-only mode before enabling enforcement.

The normal setup uses the site's shared key. An optional CSP reporting key supports older installations with separate CSP and browser project keys. Avoid conflicting policies from multiple header owners. See CSP setup for reporting details.

Verify each evidence source

  1. WordPress connection: verify after saving both credentials, then send a health snapshot and check its status. Scheduled snapshots use WordPress cron twice daily, so reliable cron execution matters.
  2. Browser delivery: use Send browser test event. Success confirms that MetricPoints accepted a test event; the admin tool can send directly even when the beacon is unavailable.
  3. Public visitor collection: visit a public page before and after granting consent. Confirm that the beacon loads and reports only when permitted. An admin test does not prove visitor collection or consent integration works.
  4. Site coverage: in Site Health → Settings → Evidence sources, mark browser beacon or WordPress evidence as expected when your monitoring setup relies on it. Review stale or missing evidence in the site's Health view.

WordPress evidence supports the same All Sites, Site Health, incident, and history workflows as external checks. Observations and old or recovered events do not automatically mean a current incident; open an issue to review its explanation and supporting evidence.

Troubleshooting and credential changes

  • Connection fails: check that both credentials belong to this site, WordPress can reach MetricPoints over HTTPS, and the server clock is accurate. A public site key alone cannot authenticate WordPress evidence.
  • Browser evidence is missing: check that the beacon is enabled, consent permits collection, and cache, optimization, content-blocking, or CSP rules are not preventing the script or requests. Test a public page, not only the WordPress admin.
  • Snapshots are stale: try Send health snapshot, inspect its result, and check WordPress cron and outbound connectivity. Browser traffic and WordPress check-ins are separate evidence sources.
  • Some form or store evidence is unavailable: check the relevant signal setting, installed plugin support, and reported coverage. Missing storage or unsupported adapters limit what can be confirmed.
  • Private credential was lost or exposed: use Rotate credential in the site's Setup card, paste the replacement into WordPress, save, and verify again. Re-enter or rotate the credential if the WordPress auth salt changes.
  • Upgrading an older installation: install the current unified plugin and complete the two-credential connection flow. Review consent and collection settings, existing CSP ownership, and any separate legacy CSP key.

Continue with evidence sources, form monitoring, or browser beacon setup.

Still need help? Contact MetricPoints. Include the site and what you were trying to do; leave out passwords and tokens.