Simple Google Analytics Tag Manager

설명

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.

스크린샷

설치

From the WordPress admin:

  1. Go to Plugins > Add New.
  2. Search for Simple Google Analytics Tag Manager.
  3. Click Install Now.
  4. Click Activate.
  5. Go to Settings > Simple GA4 / GTM.
  6. Add a GA4 Measurement ID, a Google Tag Manager container ID, or both.
  7. Save your settings.

Manual installation:

  1. Upload the simple-analitycs-tag-manager folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Settings > Simple GA4 / GTM.
  4. Add a GA4 Measurement ID, a Google Tag Manager container ID, or both.
  5. Save your settings.

FAQ

Does this support GA4?

Yes. Add your GA4 Measurement ID, usually G-XXXXXXXXXX. Advanced Google tag IDs such as GT-XXXXXXXXX or AW-XXXXXXXXX are also accepted.

Does this support Universal Analytics IDs that start with UA-?

No. Universal Analytics is no longer supported in the new GA4 field. Use a GA4 Measurement ID instead.

Should I enable both GA4 and GTM?

Only if you intentionally need both snippets. If GA4 is already configured inside your Google Tag Manager container, use only the Google Tag Manager container ID to avoid duplicate page views.
To disable one snippet, clear its ID field and save the settings.

Why is the folder still named simple-analitycs-tag-manager?

That is the original WordPress.org plugin slug. The public plugin name can be corrected, but changing the plugin folder or main file name after release can break active installations because WordPress stores the activated plugin path.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Simple Google Analytics Tag Manager”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Simple Google Analytics Tag Manager”(이)가 4 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Simple Google Analytics Tag Manager”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.0.0

  • Added Google Analytics GA4 ID support.
  • Added automatic GA4 and Google Tag Manager activation when valid IDs are saved.
  • Added Consent Mode v2 defaults.
  • Added logged-in user and role-based exclusions.
  • Fixed PHP warnings when settings were empty.
  • Fixed spelling and naming in the admin UI.
  • Improved sanitization and escaping.

1.0.0

  • Initial release.