TrendBender Script Injector for Google Tag Manager (GTM)

Àpèjúwe

Trendbender Script Injector for Google Tag Manager is a lightweight plugin that adds Google Tag Manager (GTM) to your WordPress site in a clean and reliable way.

  • Inserts the official GTM script into the <head>
  • Inserts the GTM noscript iframe right after <body> (using wp_body_open)
  • Minimal setup: only a GTM Container ID
  • Built-in status check to confirm GTM is active on the front-end
  • No external dependencies, no bloat

Àwọn àwòrán ìbòjú

Ìgbéwọlẹ̀

  1. Upload the plugin folder to /wp-content/plugins/trendbender-script-injector-gtm/ or install via the Plugins screen in WordPress.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to Settings Trendbender Script Injector for Google Tag Manager and paste your GTM Container ID (example: GTM-ABC1234).
  4. Visit any public page on your site once to update the status indicator.

FAQ

Does this plugin add Google Analytics?

No. This plugin only inserts Google Tag Manager. Use GTM to load Google Analytics, pixels, and other tags as needed.

Will this work with caching/CDN plugins?

Yes. The GTM snippets are output on every page render. If you use aggressive caching, visit a public page once after changes to refresh the status indicator.

Privacy / cookie compliance

This plugin does not collect or send any data by itself.
Compliance depends on what you configure inside GTM and your consent solution.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“TrendBender Script Injector for Google Tag Manager (GTM)” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

A ti túmọ̀ “TrendBender Script Injector for Google Tag Manager (GTM)” sí èdè agbègbè 1 kan. Ọpẹ́lọpẹ́ fún àwọn atúmọ̀ èdè fún àwọn ìkópa wọn.

Túmọ̀ “TrendBender Script Injector for Google Tag Manager (GTM)” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.2.1

  • Fix: admin status persistence now updates reliably on front-end visits
  • Added: Settings shortcut in the Plugins list row
  • Improved: internationalization-ready admin strings

1.2.0

  • Stable release
  • Head and body (noscript) injection
  • Settings page with GTM Container ID
  • Built-in front-end status confirmation