Install
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.zipStops 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.