FAQ

DataLayer size checker FAQ

What is a dataLayer?

A dataLayer is a JavaScript array used by tools like Google Tag Manager to pass page, user, ecommerce, and event information into tracking tags.

Why does dataLayer size matter?

A very large dataLayer can make tracking harder to debug and can contribute to performance issues depending on how often it is read, copied, or pushed to.

Can this tool scan React and Next.js websites?

Yes. The manual scanner is best for React dataLayer and Next.js dataLayer checks because values often appear after JavaScript runs.

Why can a browser scan be blocked?

Browsers protect websites from cross-origin access. CORS and security headers can stop a static tool from reading another domain directly.

What is the most accurate way to check dataLayer size?

Run the manual scanner on the page itself and paste the JSON result back into DataLayerSize.com.

Does this tool store scanned URLs?

No. The static site does not store submitted URLs or scan results.

What size is too large for a dataLayer?

Under 50 KB is usually fine. 50 KB to 150 KB is worth reviewing. Over 150 KB may need attention.

Can a large dataLayer slow a website down?

It can contribute to performance and tracking issues depending on how it is used, but size alone does not always mean a page is slow.

Does this replace Google Tag Manager debugging tools?

No. It is a quick GTM dataLayer checker for size and common issues. Use GTM preview and your analytics tools to verify important tracking behaviour.