Scripts + Pixels DataLayer Manager automatically creates and manages a dataLayer object for your WordPress site. This object contains structured data about your pages, posts, products, and user interactions that can be used by analytics tools like Google Tag Manager (GTM) and Google Analytics 4 (GA4).
No coding required! The plugin automatically detects WordPress and WooCommerce data and injects it into the dataLayer on every page.
dataLayer in the consoleThe plugin automatically detects and injects variables like:
pageType – Type of page (post, page, category, tag, archive, search, 404, etc.)postId – Post/Page IDpostTitle – Post/Page titlepostAuthor – Author namepostCategory – Post categoriespostTags – Post tagsisLoggedIn – Whether user is logged insiteName – Site namesiteUrl – Site URLWhen WooCommerce is active, additional variables are automatically detected:
productId – Product IDproductName – Product nameproductPrice – Product priceproductQuantity – Product quantitycartTotal – Cart totalcheckoutStep – Checkout stepFree Version Includes:
* Automatic detection of WordPress and WooCommerce variables
* Works on all page types (posts, pages, products, archives, etc.)
* Zero configuration required
Premium Version Adds:
* Custom variables per page/post/product
* Visual editor in WordPress admin
* Preview auto-detected variables before publishing
* Priority support and updates