What does the DataLayer Inspector extension by CookieOfficer do?
DataLayer Inspector is a browser extension that shows every entry in the dataLayer of the open page as it happens: GTM events, gtag calls and Google Consent Mode v2 consent states.
It is built for people who implement GTM, analysts and agencies. You don't need to open the console or GTM preview mode. Click the extension icon to see what data the page sends and whether consent is set up correctly.
Add to ChromeAll consent states in one table
Seven Google Consent Mode v2 consent states, each with its default and current value. You will see at once what changed after a click on the banner and which consent states the page does not set.
Finds errors in your consent setup
The Checks tab looks for the most common errors and suggests what to fix. For example: a consent default command sent only after GTM has loaded.
Every event as readable JSON
Expand an entry to see all its data: e-commerce, custom parameters and arrays. One button copies the entry to the clipboard.
How to install DataLayer Inspector?
Installation takes a few seconds and you don't need an account.
Go to the extension store
Click the button below to go straight to the extension page in the Chrome Web Store. It is also available for Edge, Firefox and Opera.
Add the extension to your browser
Click “Add to Chrome” and confirm the installation. The extension icon will appear in the top right corner of your browser.
Open a page and click the icon
Go to the page you want to check and click the extension icon. You will see dataLayer events, consent states and test results.
More tools for checking consent and cookies
Frequently asked questions about the DataLayer Inspector extension
Yes. The extension is free and you don't need a CookieOfficer account. You can install it in Chrome, Edge, Firefox and Opera.
Preview mode needs access to the GTM container. The extension works on any website without signing in: click its icon to see dataLayer entries, gtag calls and consent states.
No. The extension only reads dataLayer entries and does not change how GTM processes them.
Yes. In the extension settings you can add your own data layer names for a given website.
No. The extension runs in your browser and does not send data about the websites you visit.
Take control of consent and cookies
Start with CookieOfficer and manage consent, your cookie banner and your cookies from one platform.