Google Tag Manager on Google Sites | OpsBlu Docs

Google Tag Manager on Google Sites

How to install and configure Google Tag Manager on Google Sites. Covers installation method, container setup, verification, and Google Sites-specific...

For general GTM concepts, see Google Tag Manager Overview

Overview

Google Sites does not support Google Tag Manager. Google Sites blocks all custom JavaScript, including GTM container code. There is no workaround.

Why GTM Cannot Be Installed

Google Sites is a locked-down website builder that does not allow custom JavaScript execution. This means:

What You Can Do

Google Analytics only: Google Sites supports native Google Analytics integration via Settings (gear icon) → Analytics. Enter your GA4 Measurement ID (G-XXXXXXXXXX) and basic page view tracking will work.

If you need GTM: Migrate to a platform that supports custom code injection. Options include: