jevangoldsmith.com

Analytics

Status: canonical Audience: engineering, agents Purpose: define privacy-friendly measurement and local event debugging

Provider

The site uses a provider-neutral privacy endpoint model in js/analytics.js. If a Plausible script is added later, the same events are forwarded to window.plausible. Until an endpoint or provider token is configured, events are stored locally for debugging and never leave the browser.

Provider config lives in data/site.config.json under analytics.

Tracked

Not Tracked

Debugging

Open the browser console and run:

window.JGAnalytics.flushDebugEvents()

This returns locally queued events and clears the queue. Analytics must never block navigation, form submission, or page rendering.