GTM4WP - Google Tag Manager for WordPress

Plugin · Free

700,000+ active installs · Rated 4.5/5 · Updated October 12, 2026

Visit website

GTM4WP places Google Tag Manager container snippets on a WordPress site and builds a data layer for page, user and WooCommerce events. It supports several containers and includes consent mode, a tag blocklist, and media and contact form tracking. It suits sites that manage analytics and marketing tags in Google Tag Manager. The limit is that it is only a loader and data layer, so the tags, triggers and consent setup still have to be built in Google Tag Manager.

Pros

  • Places GTM containers without editing theme files
  • Data layer for WooCommerce, forms and media events
  • Consent mode and a tag blocklist are built in

Cons

  • Tags, triggers and consent rules must be set up in Google Tag Manager
  • Tracking setup is complex and needs a tag manager account

Topics: Ecommerce plugins

Alternatives