SM - GTM Events for WooCommerce
This plugin pushes WooCommerce events to Google Tag Manager’s dataLayer, enabling enhanced eCommerce tracking.
by Martin Nestorov · github.com/mnestorov/smarty-gtm-events-for-woocommerce · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mnestorov/smarty-gtm-events-for-woocommerce/archive/refs/heads/main.zipFrom the readme
SM - GTM Events for WooCommerce
- Developed by: Martin Nestorov
- Explore more at nestorov.dev
- Plugin URI: https://github.com/mnestorov/smarty-google-feed-generator
Overview
This plugin pushes WooCommerce events to Google Tag Manager’s dataLayer, enabling enhanced eCommerce tracking.
Description
The SM - GTM Events for WooCommerce plugin enables tracking of key WooCommerce events in Google Tag Manager by pushing them to the dataLayer. It covers critical eCommerce events such as product views, add to cart actions, and purchases, making it easier to set up tracking for enhanced eCommerce analytics.
Installation
1. Upload the plugin folder to /wp-content/plugins/ directory, or install it through the WordPress plugins screen.
2. Activate the plugin through the Plugins screen in WordPress.
3. Ensure that Google Tag Manager is configured to listen to the custom events from this plugin.
Event Descriptions
The plugin tracks and pushes the following events to the dataLayer:
1. viewitem
Triggered on single product pages, this event provides detailed information about the viewed product.
Data Structure:
2. viewitemlist
Triggered on product list pages, such as shop or cate