Scripts + Pixels DataLayer Manager

Àpèjúwe

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 Ìtumọ̀ Yorùbá: – Automatically detects page type, post data, categories, tags, and more
  • WooCommerce Support Ìtumọ̀ Yorùbá: – Detects product data, pricing, cart information, and checkout details
  • Zero Configuration Ìtumọ̀ Yorùbá: – Works out of the box with no setup required
  • Clean Code Ìtumọ̀ Yorùbá: – Follows WordPress coding standards and best practices
  • Developer Friendly Ìtumọ̀ Yorùbá: – 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 Ìtumọ̀ Yorùbá: – Type of page (post, page, category, tag, archive, search, 404, etc.)
  • postId Ìtumọ̀ Yorùbá: – Post/Page ID
  • postTitle Ìtumọ̀ Yorùbá: – Post/Page title
  • postAuthor Ìtumọ̀ Yorùbá: – Author name
  • postCategory Ìtumọ̀ Yorùbá: – Post categories
  • postTags Ìtumọ̀ Yorùbá: – Post tags
  • isLoggedIn Ìtumọ̀ Yorùbá: – Whether user is logged in
  • siteName Ìtumọ̀ Yorùbá: – Site name
  • siteUrl Ìtumọ̀ Yorùbá: – Site URL
  • And more…

WooCommerce Variables

When WooCommerce is active, additional variables are automatically detected:

  • productId Ìtumọ̀ Yorùbá: – Product ID
  • productName Ìtumọ̀ Yorùbá: – Product name
  • productPrice Ìtumọ̀ Yorùbá: – Product price
  • productQuantity Ìtumọ̀ Yorùbá: – Product quantity
  • cartTotal Ìtumọ̀ Yorùbá: – Cart total
  • checkoutStep Ìtumọ̀ Yorùbá: – 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

Àwọn àwòrán ìbòjú

Ìgbéwọlẹ̀

  1. Upload the plugin files to the /wp-content/plugins/scripts-and-pixels-datalayer-manager directory, or install the plugin through the WordPress plugins screen directly
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Visit any page on your website and check the browser console for dataLayer variables

FAQ

Does this work with Google Tag Manager?

Yes! The plugin creates a dataLayer object that is compatible with Google Tag Manager and Google Analytics 4.

Do I need to configure anything?

No configuration is required. The plugin automatically detects and injects variables on all pages.

Does this work with WooCommerce?

Yes! When WooCommerce is active, the plugin automatically detects product, cart, and checkout data.

Can I add custom variables?

Custom variables per page are available in the premium version. The free version includes automatic detection of WordPress and WooCommerce variables.

Where can I see the dataLayer variables?

Open your browserÌtumọ̀ Yorùbá: ’s Developer Tools (F12), go to the Console tab, and type dataLayer. YouÌtumọ̀ Yorùbá: ’ll see all the automatically detected variables.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“Scripts + Pixels DataLayer Manager” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Scripts + Pixels DataLayer Manager” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

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