EC Diag E-commerce Journey Diagnostics

Chrome MV3 extension for local, opt-in diagnosis of GA4, dataLayer, cross-pixel tracking, payload quality, funnel state, and e-commerce journey friction.

EC Diag E-commerce Journey Diagnostics

Project overview

EC Diag is a Chrome extension built to silently observe a user's journey on an e-commerce storefront and produce a structured per-session JSON for tracking diagnosis. Capture is 100% local, enabled only per site, and masks PII before persistence. The side panel shows a GA4 checklist, funnel, diagnostics, and realtime log, helping marketing, data, and engineering teams understand whether events, payloads, and critical journey steps are working correctly.

EC Diag Chrome extension showing popup, checklist, funnel, diagnostics, and realtime event log screens
EC Diag captures journeys locally, validates GA4 payload quality, finds funnel gaps, and exports structured JSON or an LLM-ready analysis prompt.

Challenge

Validate e-commerce instrumentation on real stores without breaking the site, sending sensitive data to third parties, or relying on a single implementation pattern, since each storefront may use Shopify, VTEX, WooCommerce, Magento, GTM, GA4, proxies, or different pixels.

Solution

Layered Manifest V3 architecture with pure logic in src/lib, safe MAIN-world interceptors for dataLayer, gtag, ga, fetch, XHR, sendBeacon, and pixels, passive content-script observers, recursive PII masking, IndexedDB for raw events, chrome.storage for aggregate state, and rule-based inferences with evidence and confidence.

Tech Stack

  • Chrome Extension
  • JavaScript
  • GA4
  • Event Tracking
  • Data Quality

Technical scope

  • Local, per-site opt-in and read-only capture
  • GA4 checklist, funnel, diagnostics, and realtime log
  • PII masking before event persistence
  • JSON export and LLM-ready prompt export

Let's build something amazing?

We are ready to understand your technical challenge and propose the best architecture. Contact us for an initial consultation without commitment.

OnTimeStack

© 2026 OnTimeStack. All rights reserved.

Privacy Policy
Designed by Sarah Ninsi