GA4 Event Tracking on Google Sites | OpsBlu Docs

GA4 Event Tracking on Google Sites

How to set up Google Analytics 4 event tracking on Google Sites. Covers automatic events, Enhanced Measurement, custom events via GTM, and conversion...

For general GA4 event concepts, see Google Analytics Event Tracking

Google Sites Limitation

Google Sites supports basic GA4 page view tracking via Settings → Analytics (enter your Measurement ID). However, custom event tracking is not possible because Google Sites blocks custom JavaScript. You cannot fire gtag('event', ...) calls.

If you need custom event tracking, migrate to a platform that supports custom code.