GTM4WP – A Google Tag Manager (GTM) plugin for WordPress
Google Tag Manager (GTM) is Google’s free tool for everyone to manage and deploy analytics and marketing tags as well as other code snippets using an intuitive web UI. To learn more about this tool, visit the official website. This plugin places the GTM container code snippets onto your WordPress website so that you do not need to add it manually. Multiple containers are also supported! The plugin complements your GTM setup by pushing page meta data and user information into the so called data layer. Google’s official help pages includes more details about the data layer. PHP 7.4 is required to use this plugin. GTM container code placement The original GTM container code is divided into two parts: The first part is a javascript code snippet that is added to the section of every page of the website. This part is critical to enable all features of GTM, and this plugin helps to place this part correctly on your site. The second part is an iframe snippet that acts as a failsafe/fallback should users’ JavaScript be disabled. Google recommends – for best performance – to place this code snippet directly after the opening tag on each page. Albeit not ideal, it will work when placed lower in the code. This plugin provides a code placement option for the second code snippet. If your WordPress theme is compatible with the additions of WordPress 5.2 then this plugin will place this second code to the right place. Users of the Genisis theme, GeneratePress theme, Elementor, Oxygen Builder and Beaver Builder Theme will also have this placed correctly. To utilize this, set the compatibility mode in plugin options to off. All other users can place this second code snippet using a custom PHP code (“Manually coded” option) or select the so called “Footer” option to add the code lower in the code (it is not the recommended way but will work) Basic data included post/page titles post/page dates post/page category names post/page tag names post/page author ID and name post/page ID post types post format post count on the current page + in the current category/tag/taxonomy custom terms associated with any post type logged in status logged in user role logged in user ID (to track cross device behaviour in Google Analytics) logged in user email address (both unhashed and SHA256 hased values to be used with tracking) logger in user creation date site search data site name and id (for WordPress multisite instances) IP address of the visitor (please use the explicit consent of the visitor to utilize this) Browser / OS / Device data browser data (name, version, engine) OS data (name, version) device data (type, manufacturer, model) Data is provided using the WhichBrowser library: http://whichbrowser.net/ Weather data (beta) Push data about users’ current weather conditions into the dataLayer. This can be used to generate weather-related audience/remarketing lists on ad platforms and allows for user segmentation in your web analytics solutions: weather category (clouds, rain, snow, etc.) weather description: more detailed data temperature in Celsius or Fahrenheit air pressure wind speed and degrees Weather data is queried from Open Weather Map. Depending on your websites traffic, additional fees may apply: http://openweathermap.org/price An (free) API key from OpenWeatherMap is required for this feature to work. ipstack.com is used to determine the site visitor’s location. A (free) API key from IPStack.com is required for this feature to work: https://ipstack.com/product Media player events (experimental) Track users’ interaction with any embedded media: YouTube Vimeo Soundcloud DataLayer events can be chosen to fire upon media player load, media is being played, paused/stopped and optionally when the user reaches 10, 20, 30, …, 90, 100% of the media duration. Tracking is supported for embedded media using the built-in oEmbed feature of WordPress as well as most other media plugins and copy/pasted codes. Players injected into the website after page load are not currently supported. Scroll tracking Fire tags based on how the visitor scrolls from the top to the bottom of a page. An example would be to separate “readers” (who spend a specified amount of time on a page) from “scrollers” (who only scroll through within seconds). You can use these events to fire Analytics tags and/or remarketing/conversion tags (for micro conversions). Scroll tracking is based on the solution originally created by Nick Mihailovski Thomas Baekdal Avinash Kaushik Joost de Valk Eivind Savio Justin Cutroni Original script: http://cutroni.com/blog/2012/02/21/advanced-content-tracking-with-google-analytics-part-1/ Blacklist & Whitelist Tag Manager tags, triggers and variables To increase website security, you have the option to white- and blacklist tags/triggers/variables. You can prevent specific tags from firing or the use of certain variable types regardless of your GTM setup. If the Google account associated with your GTM account is being hacked, an attacker could easily execute malware on your website without accessing its code on your hosting server. By blacklisting custom HTML tags and/or custom JavaScript variables you can secure the Tag Manager container. Integration Google Tag Manager for WordPress integrates with several popular plugins. More integration to come! Contact Form 7: fire an event when a Contact Form 7 form was submitted with any result (mail sent, mail failed, spam detected, invalid input) WooCommerce: Implementation of GA4 E-commerce Does not support promotions since WooCommerce does not have such a feature (yet) Does not support refunds Compatibility with High Performance Order Storage (HPOS) AMP: load your AMP container on the AMP version of your pages Cookiebot: use automatic cookie blocking mode if needed Google Consent Mode v2: fire the “default” command with specific consent flags to integrat with non-certified Consent Management Platforms (CMPs) and plugins. Server side containers If you are using a server side container you can enter your custom domain name and custom path to load gtm.js from your there. Exclude specific user roles from being tracked You can set which user roles needs to be excluded from tracking when a user with that role visits the frontend. This will completely disable the container code for that user.
Top keywords
- code16×1.56%
- data14×1.36%
- page13×1.26%
- user11×1.07%
- post10×0.97%
- gtm9×0.88%
- google8×0.78%
- tags8×0.78%
- container7×0.68%
- media7×0.68%
- tag7×0.68%
- custom6×0.58%
Pixel Tag Manager for WooCommerce – Google Analytics 4, Google Ads, and More Pixels
The Pixel Tag Manager for WooCommerce plugin delivers automated eCommerce event tracking — with no coding required. Setup takes less than 2 minutes, making it easy to start tracking customer behavior and conversions across multiple platforms. Pixel Tag Manager seamlessly integrates with: Google Analytics 4 (GA4), Google Ads (Conversion Tracking, Enhanced Conversions, Dynamic Remarketing), Microsoft Advertising (Bing Ads), Meta Pixel (Facebook Pixel), Facebook Conversion API, Snapchat, Pinterest, TikTok, and Twitter. This powerful tool enables WooCommerce store owners to track essential user actions, gain actionable insights, and build highly targeted audiences for advertising campaigns, ultimately driving better ad performance and higher ROI. The plugin also supports Google Consent Mode V2, ensuring compliance with privacy regulations. With Facebook Conversion API integration, you can improve event matching, enhance attribution, and reduce cost per action (CPA) throughout the customer journey. Using Google Tag Manager, Pixel Tag Manager automatically captures a wide range of WooCommerce events, including: Page Views Product Views Product List Views Add to Cart (from listings & product pages) Remove from Cart Checkout Initiation & Checkout Steps Purchases / Order Conversions (including Thank You page visits) Supported Platforms * Google Analytics 4 (GA4) * Google Ads (Conversion, Enhanced Conversion, Dynamic Remarketing) * Microsoft Ads * Meta Pixel & Facebook Conversion API * TikTok (including Conversion API) * Pinterest (including Conversion API) * Snapchat * Twitter * Bing Ads Why It Matters Understanding shopper behavior is at the heart of effective marketing. This plugin automates tracking of critical WooCommerce events (page views, add-to-cart, checkout, purchase, etc.), giving you the insights needed to optimize ad spend and boost ROAS. Top Features 🚀 Quick Setup: Install and add your Pixel IDs in under 2 minutes. 🛠 No Coding Needed: Enable tracking via simple settings with tooltips. 📊 Complete Event Coverage: Automatically tracks add-to-cart, checkout steps, purchases, product views, and more. ⚡ Lightweight: Optimized for speed, minimal impact on your store performance. 🌍 Multi-Platform: Works with all major advertising and analytics platforms. Pixel Tag Manager offers integration capabilities for WooCommerce stores. Pixel Tag Manager streamlines the tracking process via Google Tag Manager, ensuring a smooth and efficient experience. Google Tag (NEW): Easily add and manage your Google Tag for seamless integration with Google services. Choose to use it for GA4, Google Ads, or both, all from a simple, user-friendly interface. Accurate GA4 Tracking: Pixel Tag Manager provides precise tracking for Google Analytics 4 (GA4). It monitors all eCommerce events such as page views, item list views, item views, item selection, cart additions (both from product and list pages), cart removals, all checkout steps, and purchase events. Google Ads Tracking: You can track your campaign performance effectively for Google Ads Conversion and Enhanced Conversion Tracking. Dynamic Remarketing with Google Ads: Enable Google Ads Dynamic Remarketing Tracking to create remarketing and dynamic remarketing visitor lists, particularly useful for retail businesses. Track your store form submissions with Google Analytics 4 Microsoft Ads Pixel: This plugin also supports Microsoft Ads Pixel (formerly Bing Ads Pixel), which is crucial for pay-per-click advertising on Bing, Yahoo!, and DuckDuckGo search engines. Facebook Conversion API: Utilize the Facebook Conversion API to enhance tracking and measurement across Facebook’s advertising ecosystem. Meta Ads Pixel (Facebook Ads Pixel): Track all eCommerce events seamlessly with Meta Ads Pixel, ensuring comprehensive tracking for Facebook advertising. Snapchat Ads Pixel: You can also track conversions effectively on Snapchat with the Snapchat Ads Pixel. Twitter Ads Pixel: Track valuable data for your Twitter advertising campaigns using the Twitter Ads Pixel. TikTok Ads Pixel & Conversion API (NEW): Comprehensive eCommerce event tracking with enhanced server-side conversion tracking for improved accuracy and reliability. Pinterest Conversion API (NEW): Enhanced ad performance tracking with server-to-server integration for more accurate conversion measurement. Advanced Matching (NEW): Improved user identification across platforms (Facebook, TikTok, Twitter, Bing, and Pinterest) for more accurate tracking and attribution. Conversion API Logs (NEW): Built-in viewer to monitor and debug the latest API calls directly from your WordPress dashboard. Granular Event Controls (NEW): Fine-tune your tracking with advanced controls for purchase event triggers and data sharing preferences. GrowInsights360 GA4 Dashboard GrowInsights360 is a powerful analytics dashboard that helps you visualize and understand your Google Analytics 4 (GA4) data — all in one place. With secure Google OAuth integration, you can easily connect your GA4 account and start monitoring key website metrics. Gain insights across multiple dimensions such as traffic, conversions, user behavior, and performance. Google Analytics Dashboard Overview: View GA4 insights across multiple timeframes, including Today, This Week, This Month, This Quarter, Last Quarter, This Year, and Last Year. General Reports: Access Google Analytics insights across various timeframes to track performance trends over time. Product Performance Reports: Get detailed insights with multi-dimensional analysis to understand how individual products are performing on your e-commerce site. Purchase Journey Reports: Analyze user journeys across dimensions such as country, device category, language, city, and browser. Comparison Options: Each metric includes built-in comparisons to previous periods. (e.g., This Week vs Last Week) Time-Based Performance & Custom Date Range: Select from various preset dates or set a custom date range. Download CSV & PDF: Export your table data in CSV or PDF format. Clean, intuitive interface 🚀 Pro Features (Upgrade To PRO) 📊 Google Analytics & Tag Management Google Analytics 4 (GA4) with Enhanced E-commerce Tracking Form Submission Tracking in GA4 Implement all tracking using Google Tag Manager Google Ads Enhanced Conversion Tracking Google Ads Dynamic Remarketing Google Ads Form Conversion Tracking 📱 Social Media Pixels & Conversion API Facebook Pixel with Conversion API TikTok Pixel with Conversion API Pinterest Pixel with Conversion API Twitter Pixel with Advanced Tracking Snapchat Pixel with Advanced Tracking Advanced Matching across all platforms (Facebook, TikTok, Twitter, Bing, Pinterest) 🛠 Advanced Features Conversion API for Facebook, TikTok, Pinterest Conversion API Logs Viewer Granular Event Controls for purchase tracking ROAS (Return on Ad Spend) tracking for TikTok Ads Microsoft Ads (Bing) Pixel with Dynamic Remarketing Axeptio Integration with Google Consent Mode v2 Complete eCommerce event tracking for all platforms Priority Support and Regular Updates (Upgrade To PRO Now) 🆓 Free Features 🔍 Basic Tracking (Page Views & Purchases) Google Analytics 4 (GA4) – Basic Events Google Ads Conversion Tracking Facebook Pixel – Basic Events TikTok Pixel – Basic Events Pinterest Pixel – Basic Events Twitter Pixel – Basic Events Snapchat Pixel – Basic Events Microsoft Ads (Bing) Pixel – Basic Events 📈 Analytics & Reporting GrowInsights360 GA4 Dashboard (Lite Version) Basic Conversion Tracking Standard Event Tracking 💡Note: Free version includes basic tracking for all platforms. Upgrade to Pro for advanced features like Conversion API, Advanced Matching, and more detailed analytics. Advanced Matching for multiple platforms for purchase events (Facebook, TikTok, Twitter, Bing, Pinterest) Integrate Axeptio seamlessly with Google Consent Mode v2 for easy to manage cookie consent banners with no coding required. Installation Upload the plugin to /wp-content/plugins/ Activate through the Plugins menu Find Pixel Tag Manager → Pixels Settings Add your Pixel IDs The Pixel Tag Manager plugin offers seamless integration with various tracking pixels, including Google Analytics 4 (GA4), Google Ads Conversion Tracking, Enhanced Conversion Tracking and Dynamic Remarketing Tracking, Bing Ads (Microsoft Advertising), Meta Pixel (Facebook Pixel), Snapchat Pixel, Pinterest Pixel, TikTok Pixel, and Twitter Pixel. Customers can easily set up tracking by adding their Pixel ID on the plugin’s settings page. Additionally, helpful tooltips with exclamation marks provide guidance on finding and inputting the Pixel ID, and customers have the flexibility to enable or disable specific pixels as needed. For additional assistance, refer to our plugin documentation or contact our support team. Documentation Documentation of the plugin, Open the Documentation PDF Documentation of the plugin, Open the documentation Privacy & Terms When a user onboards for the first time by adding an email address or updating it in the Pixel Settings page, they must accept the Privacy Policy and Terms before saving data. https://growcommerce.io/privacy-terms/