Title: TrendBender Script Injector for Google Tag Manager (GTM)
Author: trendbender
Published: <strong>3 de juliol de 2026</strong>
Last modified: 3 de juliol de 2026

---

Cerca extensions

![](https://s.w.org/plugins/geopattern-icon/trendbender-script-injector-gtm.svg)

# TrendBender Script Injector for Google Tag Manager (GTM)

 Per [trendbender](https://profiles.wordpress.org/trendbender/)

[Baixa](https://downloads.wordpress.org/plugin/trendbender-script-injector-gtm.1.2.1.zip)

 * [Detalls](https://ca.wordpress.org/plugins/trendbender-script-injector-gtm/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/trendbender-script-injector-gtm/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/trendbender-script-injector-gtm/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/trendbender-script-injector-gtm/#developers)

 [Suport](https://wordpress.org/support/plugin/trendbender-script-injector-gtm/)

## Descripció

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

## Captures

[⌊Settings page with GTM status and Container ID field⌉⌊Settings page with GTM status
and Container ID field⌉[

Settings page with GTM status and Container ID field

[⌊Plugins list with the plugin active and a quick Settings link⌉⌊Plugins list with
the plugin active and a quick Settings link⌉[

Plugins list with the plugin active and a quick Settings link

## Instal·lació

 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.

## PMF

### 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.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«TrendBender Script Injector for Google Tag Manager (GTM)» és programari de codi
obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

 *   [ trendbender ](https://profiles.wordpress.org/trendbender/)

“TrendBender Script Injector for Google Tag Manager (GTM)” s’ha traduït a 1 configuració
regional. Gràcies als [traductors](https://translate.wordpress.org/projects/wp-plugins/trendbender-script-injector-gtm/contributors)
per les seves aportacions.

[Traduïu «TrendBender Script Injector for Google Tag Manager (GTM)» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/trendbender-script-injector-gtm)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/trendbender-script-injector-gtm/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/trendbender-script-injector-gtm/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/trendbender-script-injector-gtm/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/trendbender-script-injector-gtm/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 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

## Meta

 *  Versió **1.2.1**
 *  Darrera actualització **fa 1 mes**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 6.0 o posterior **
 *  Provada fins a **6.9.5**
 *  Versió del PHP ** 7.4 o posterior **
 *  Idiomes
 * [English (US)](https://wordpress.org/plugins/trendbender-script-injector-gtm/)
   i [Russian](https://ru.wordpress.org/plugins/trendbender-script-injector-gtm/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/trendbender-script-injector-gtm)
 * Etiquetes
 * [analytics](https://ca.wordpress.org/plugins/tags/analytics/)[google tag manager](https://ca.wordpress.org/plugins/tags/google-tag-manager/)
   [gtm](https://ca.wordpress.org/plugins/tags/gtm/)[tracking](https://ca.wordpress.org/plugins/tags/tracking/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/trendbender-script-injector-gtm/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/trendbender-script-injector-gtm/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/trendbender-script-injector-gtm/reviews/)

## Col·laboradors

 *   [ trendbender ](https://profiles.wordpress.org/trendbender/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/trendbender-script-injector-gtm/)