Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Sites analytics

No security coverage Under active development

Part of the Sites ecosystem · 15 projects

Sites analytics gives every site managed by the Sites module its own Matomo and Google Tag ids. The Matomo Analytics and Google Tag modules keep rendering the tracking code; this module only swaps the ids they read for the active site.

Features

  • Matomo site ID, Google Analytics 4 measurement ID and Google Tag Manager container ID per site, in the site's Analytics section
  • Different ids per environment, so a stage host can track into its own property
  • An empty field keeps the global Matomo or Google Tag configuration
  • Switch tracking off for a single site
  • Works with Matomo, Google Tag, or both
  • Status report warns when no analytics module is installed or Google Tag has no container

Requirements

Drupal 11.2+ or 12, Sites, and Matomo Analytics or Google Tag.

Getting started

Install with composer require drupal/sites_analytics and enable it. Open a site under Sites, go to its Analytics section and fill in the ids. Documentation: Sites analytics.

Ask your assistant about Sites analytics

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Nov 2026
Latest release
42 minutes ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-beta2 Pre-release 11 Nov 11, 2026