datalayer-inspector

Privacy Policy — DataLayer Inspector

Last updated: 2026-05-29

Overview

DataLayer Inspector is a Chrome extension that reads the window.dataLayer array from the active browser tab and displays its contents inside the extension’s side panel and DevTools panel. It is a local, read-only developer tool.

Data Collection

DataLayer Inspector does not collect, store, transmit, or share any data.

How the Extension Works

When you open the side panel or the DevTools panel, the extension:

  1. Uses chrome.scripting.executeScript to read the window.dataLayer array from the active tab — the same array that Google Tag Manager writes to.
  2. Serializes the array to JSON and transfers it to the extension UI.
  3. Displays the events locally inside the panel.

This process runs entirely inside your browser. The data never leaves your device.

Permissions Explained

Permission Why it is needed
sidePanel To render the side panel UI
scripting To read window.dataLayer from the active tab via executeScript
tabs To identify the active tab and its URL
host_permissions (http://*/*, https://*/*) Required by Chrome for scripting.executeScript to work on any web page

The broad host_permissions scope is necessary because the extension must be able to inspect any website the developer is working on. It does not grant the extension any ability to modify pages or send data externally.

Third-Party Services

None. The extension does not use any third-party SDKs, APIs, or services.

Children’s Privacy

This extension is a developer tool not intended for use by children under 13. It does not knowingly collect any information from children.

Changes to This Policy

Any future changes to this policy will be reflected in an updated version published in this repository and on the Chrome Web Store listing.

Contact

Diego Telles — telles.workspace@gmail.com