gtm-datalayer-detective

GTM DataLayer Detective

A Chrome DevTools extension for debugging Google Tag Manager (GTM) implementations and GA4 events in real-time.

Overview

GTM DataLayer Detective provides a clean, side-by-side view of GTM dataLayer events and GA4 network requests, making it easy to debug and validate your analytics implementation. The extension captures events in real-time and presents them in an organized, developer-friendly interface.

Features

Dual-Column Interface

Real-Time Event Capture

Multi-Container Support

Search & Filter

Preserve Log

Data Export

Developer-Friendly Display

Using the Extension

  1. Open Chrome DevTools (F12 or Right-click → Inspect)
  2. Look for the “GTM DataLayer Detective” tab in the DevTools tabs
  3. Navigate to a page with GTM installed
  4. Events will appear automatically as they fire

Usage Guide

Basic Operations

Clear Events

Export Data

Preserve Log

Search Events

Filter by Container

Understanding the Display

DataLayer Events (Left Column)

Each event shows:

GA4 Network Requests (Right Column)

Each request shows:

Technical Details

Supported Data Types

The extension recognizes and properly displays:

Browser Compatibility

Contributing

This extension was developed to make GTM debugging easier. If you encounter bugs or have feature requests, please document them with:

Credits

Developed to simplify Google Tag Manager and GA4 debugging for developers and analysts.


© 2026 Ross Foniri