Skip to content
Sign in
Scripts + Pixels DataLayer Manager icon

Scripts + Pixels DataLayer Manager

Automatically detects WordPress context and injects dataLayer variables for analytics tools (GA4/GTM).

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

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.

Key Features

  • Automatic Detection – Automatically detects page type, post data, categories, tags, and more
  • WooCommerce Support – Detects product data, pricing, cart information, and checkout details
  • Zero Configuration – Works out of the box with no setup required
  • Clean Code – Follows WordPress coding standards and best practices
  • Developer Friendly – Well-documented code and extensible hooks

How It Works

  1. Install and activate the plugin
  2. Visit any page on your website
  3. Open browser Developer Tools (F12)
  4. Type dataLayer in the console
  5. See all automatically detected variables!

WordPress Variables

The plugin automatically detects and injects variables like:

  • pageType – Type of page (post, page, category, tag, archive, search, 404, etc.)
  • postId – Post/Page ID
  • postTitle – Post/Page title
  • postAuthor – Author name
  • postCategory – Post categories
  • postTags – Post tags
  • isLoggedIn – Whether user is logged in
  • siteName – Site name
  • siteUrl – Site URL
  • And more…

WooCommerce Variables

When WooCommerce is active, additional variables are automatically detected:

  • productId – Product ID
  • productName – Product name
  • productPrice – Product price
  • productQuantity – Product quantity
  • cartTotal – Cart total
  • checkoutStep – Checkout step
  • And more…

Free vs Premium

Free 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

Written by Joobi from the project's own listing. See the source page

analyticsdatalayergoogle tag managertrackingwoocommerce
28 Nov 2026
Version 1.0.3 released. Not scanned yet.

1.0.3

  • Confirm compatibility with WordPress 7.1 (Tested up to updated).

1.0.2

  • Add plugin screenshots for the WordPress.org directory listing.

1.0.1

  • Readme updates for the WordPress.org plugin directory.

1.0.0

  • Initial release
  • Automatic detection of WordPress variables
  • WooCommerce support
  • Admin interface for viewing status and documentation
  • Meta box for viewing auto-detected variables
19 Mar 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)