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.

عمومی سوالات

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.

جائزے

There are no reviews for this plugin.

شراکت دار اور ڈیویلپرز

“Simple Google Analytics Tag Manager” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:

شراکت دار

“Simple Google Analytics Tag Manager” کا 4 زبانوں میں ترجمہ کیا گیا ہے۔ تعاون کے لیے مترجمین کا شکریہ۔

“Simple Google Analytics Tag Manager” کا اپنی زبان میں ترجمہ کریں۔

ڈویلپمینٹ میں دلچسپی ہے؟

کوڈ براؤز کریں، ایس این وی ریپوزیٹری کو چیک کریں یا ڈویلپمینٹ لاگ کو سبسکرائب کریں بذریعہ آر ایس ایس۔

چینج لاگ

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.