The dotCMS Google Analytics Plugin Just Got a Major Update!

We’ve updated the Google Analytics OSGi Plugin (now v0.4.1) and it’s better than ever. Here’s why you should check it out:

  • Pull real GA4 data directly into your pages** — query active users, sessions, pageviews, and more right from your Velocity templates using the simple $analytics viewtool

  • Slice and dice by any dimension** — filter by page path, country, device type, browser, date range, and more to surface exactly the data you need

  • Build data-driven content** — power personalized experiences, dashboards, or editorial insights without ever leaving dotCMS

  • Works headless too** — a new REST endpoint means API-first and headless implementations are covered

  • Easier than ever to install** — no more building from source, just grab the pre-built JAR and go

Grab it on GitHub :backhand_index_pointing_right: GitHub - dotCMS/google-analytics: Provides an integration with google analytics · GitHub

Some interesting use cases the Google Analytics plugin can be used for.

  • Content analytics dashboards inside dotCMS — surface real GA4 performance data (pageviews, sessions, bounce rate) directly in your editorial interface, so your team can make smarter content decisions without leaving the CMS

  • Personalization and content recommendations — power “Most Popular,” “Trending This Week,” or “Readers Also Visited” modules driven by actual traffic data, not manual curation

  • Identify content to retire or improve — spot low-traffic, high-bounce, or stale pages and act on them before they become a liability

  • Automate archive and review workflows — trigger content review states based on real engagement signals, so nothing slips through the cracks

Grab it on GitHub :backhand_index_pointing_right: GitHub - dotCMS/google-analytics: Provides an integration with google analytics · GitHub