v.1.0
Easy DataLayer Manager
Automatically generate a structured window.dataLayer for WordPress and WooCommerce — no manual coding required.
- Zero-configuration auto detection
- Built-in WooCommerce support
- Optional per-page custom variables (Pro)
Free to use. Pro adds per-page custom variables.
01 — KEY BENEFITS

Runs on every page
Detects page context and outputs a consistent dataLayer automatically.

WooCommerce-ready
Includes product, cart, and checkout context when WooCommerce is active.

Extendable via Pro
Pro lets you add custom variables per page/post/product.
02 — DATA LAYER
Rich data context, automatically injected.
Easy DataLayer Manager builds a payload from WordPress context (home, posts, pages, archives, search) and injects it on the frontend using the standard dataLayer.push() pattern.
Included Variables
- Page type / template context
- Post/page IDs and titles
- Categories and tags
- Logged-in state
- Site metadata
03 — PRICING
Start free, upgrade for power
FREE
- Automatic detection + injection
- Works immediately after activation
- WooCommerce support
- View output in the browser console
- Add custom data variables
Currently in WordPress.org review.
$59
Everything in Free, plus:
- Add custom variables per page/post
- Admin UI for editing variables
- Preview detected variables
- Conflict protection for reserved keys
- Custom values override defaults
04 — INSTALLATION
Up and running in 60 seconds.
01
Download the ZIP file
02
WordPress Admin → Plugins → Add New →
Upload Plugin
03
Activate Easy DataLayer Manager
04
Visit any page and confirm window.dataLayer is present

Developer Preview: AI Prompt
Copy this entire document and paste it into an AI coding assistant. The AI will create a WordPress plugin called Scripts + Pixels DataLayer Manager.
The plugin automatically populates a JavaScript dataLayer object on every front-end page. Analytics tools like Google Tag Manager (GTM) and Google Analytics 4 (GA4) use this object to receive context about the current page—e.g. page type, post ID, product data, cart totals—without manual configuration. The plugin detects WordPress context (home, post, page, category, archive, search, etc.) and, when WooCommerce is active, product, cart, and checkout data. It injects these variables into window.dataLayer using the standard push method so they are available to GTM and other scripts. No coding or setup is required. There is no licensing or premium features—just automatic detection and injection.
Get the Complete AI Prompt
Enter your details to receive the complete AI prompt.
05 — REQUIREMENTS
WordPress 5.0+
PHP 7.4+
WordPress 5.0+
06 — FAQS
Frequently Asked Questions
Yes. It simply outputs window.dataLayer. GTM/GA4 can read it if you use them.
By generating a consistent, structured dataLayer, the plugin makes site context and content easier for analytics tools and downstream systems; including AI and LLM-powered services to interpret and reuse reliably.
The plugin is designed to be lightweight and run with minimal overhead.
It continues working. Output is based on WordPress context, not theme code.
Free: yes. Pro depends on your license terms.
Ready to get started?
Download the free plugin or unlock Pro to add per-page custom variables.