Integrations / Google Analytics

Google Analytics 4
for VeloCMS

Paste a GA4 Measurement ID into VeloCMS and every page of your blog gets the gtag.js snippet — properly gated behind Consent Mode v2, so you stay compliant without hand-writing tracking scripts.

What this integration does

The Google Analytics 4 plugin is a script-injection connector: enter your Measurement ID (the G-XXXXXXXXXXstring from your GA4 property) in Admin → Plugins → Google Analytics, and VeloCMS injects the gtag.js snippet into the head of every page on your blog. Two things happen on every request. First, Google Consent Mode v2's default-denied signals are always queued immediately — a no-cookie, no-network operation Google requires ahead of the tracking container. Second, the actual gtag.js load and config call either fire right away if your visitor has already accepted cookies, or wait behind your site's consent banner until they click Accept. There is no server-side reporting inside VeloCMS — GA4's own dashboard and reports remain the source of truth for your traffic data.

One-field setup

Paste your G-XXXXXXXXXX Measurement ID and save. No manual script editing, no theme file access needed.

Consent Mode v2 built in

Default-denied signals fire on every page load; the real tracking call waits for your visitor's consent decision.

Every page, automatically

The snippet is injected site-wide through the theme's head slot — no per-page or per-template setup required.

Your data, your GA4

VeloCMS only injects the script. Reports, audiences, and conversions live entirely in your own GA4 property.

Where to find it in admin

  1. 1
    Admin → Plugins → Google Analytics. Paste your GA4 Measurement ID (found in Google Analytics under Admin → Data Streams → your web stream).
  2. 2
    Save. The gtag.js snippet starts injecting on every page immediately, respecting your existing cookie-consent decision.

Use cases

A blogger migrating off WordPress keeps their existing GA4 property and historical data intact — only the Measurement ID moves over. A marketing team running a VeloCMS content hub tracks organic traffic alongside their main site's GA4 property using cross-domain measurement. A publisher in a regulated market relies on the built-in Consent Mode gating to stay compliant without engineering a custom consent integration.

Track your blog with GA4.

14-day free trial. Connect Google Analytics 4 in minutes.

Get started with VeloCMS