跳到内容

Simple Google Analytics Tag Manager

v2.0.0

Miguel Fuentes · 2020年3月13日 上架

Adds Google Analytics GA4 and Google Tag Manager snippets with simple privacy-friendly controls.

正在使用
1,000+
评分
暂无
累计下载
1.4 万
最近更新
2026年7月4日
需要 WordPress 5.2+已测试到 7.0.9PHP 7.0+

贡献者

截图

Settings screen for GA4, Google Tag Manager, exclusions, and Consent Mode v2.
Settings screen for GA4, Google Tag Manager, exclusions, and Consent Mode v2.

Simple Google Analytics Tag Manager lets you add Google Analytics GA4 and Google Tag Manager to a WordPress site without editing theme files.

The plugin supports the current Google tag setup for IDs such as G-XXXXXXXXXX, GT-XXXXXXXXX, or AW-XXXXXXXXX, plus Google Tag Manager containers such as GTM-XXXXXXX.

Features

  • Add or remove a Google Analytics GA4 ID.
  • Add or remove a Google Tag Manager container ID.
  • Automatically print GA4 when a valid GA4 ID is saved.
  • Automatically print Google Tag Manager when a valid container ID is saved.
  • Disable the automatic GA4 page_view event when needed.
  • Exclude all logged-in users from tracking.
  • Exclude specific WordPress roles from tracking.
  • Print Google Consent Mode v2 default values before Google tags load.
  • Keep existing Google Tag Manager noscript support through the wp_body_open hook.

Privacy

This plugin does not collect, store, or send personal data by itself.

When Google Analytics GA4 or Google Tag Manager is enabled, the plugin prints Google scripts on the public site. Those scripts may collect data according to the configuration of your Google account, your Google tags, and your consent implementation.

Consent Mode v2 settings in this plugin define default consent states only. A cookie banner or Consent Management Platform should update consent after the visitor makes a choice.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums