WP Manifestindependent plugin directory
manifest / analytics / woo-listings-gtm4wp

Woo Listings for GTM4WP

Disable Google for WooCommerce (Google Listings and Ads) from embedding Google Ads on a site using Google Tag Manager (through GTM4WP)

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/robertstaddon/woo-listings-gtm4wp/archive/refs/heads/main.zip
Updates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.

Stops Google for WooCommerce from printing its own Google Ads tag when GTM4WP is already outputting a container.

Connecting an Ads account makes Google for WooCommerce store a conversion action and then add a direct gtag.js snippet. That snippet does not go through Google Tag Manager or a first-party tag gateway. This plugin returns true for the woocommerce_gla_disable_gtag_tracking filter while all of the following are true:

  • GTM4WP is active
  • a container ID, or a custom loader path, is saved
  • container placement is not Off

The Google Ads connection, product feed, and Merchant Center settings are unchanged. If GTM4WP is not outputting a container, the Google for WooCommerce tag is left in place.