PHPackages                             helsingborg-stad/google-analythics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. helsingborg-stad/google-analythics

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

helsingborg-stad/google-analythics
==================================

Plugin to integrate Google Analytics and display simple statistics.

1.7.2(5y ago)2928[11 PRs](https://github.com/helsingborg-stad/google-analythics/pulls)MITPHP

Since Sep 19Pushed 3y ago11 watchersCompare

[ Source](https://github.com/helsingborg-stad/google-analythics)[ Packagist](https://packagist.org/packages/helsingborg-stad/google-analythics)[ RSS](/packages/helsingborg-stad-google-analythics/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (21)Used By (0)

Google Analytics
================

[](#google-analytics)

Plugin to integrate Google Analytics tracking and display statistics on the admin dashboard. It requires a Google Service Account with read permissions connected to the desired Google Analytics web property.

Getting started
---------------

[](#getting-started)

### Install libraries

[](#install-libraries)

This plugin requires [Google APIs Client Library for PHP](https://github.com/google/google-api-php-client) and is installed with [Composer](https://getcomposer.org):

```
composer install
```

### Google Service Account setup

[](#google-service-account-setup)

- Create a Project in the [Google APIs Console](https://code.google.com/apis/console/)
- Enable the **Analytics API** under APIs &amp; services
- Create a Service Account for the project with view cababilities
- Download the private key (JSON)
- Finally add **Service account ID** as a new user to your [Google Analytics](https://analytics.google.com/analytics/web/) account.

Filters
-------

[](#filters)

#### GoogleAnalytics/TrackingId/ua

[](#googleanalyticstrackingidua)

Filters the Google Analytics UA (user id) used to load Google Analytics.

- `@param string $ua` - The Google Analytics UA

```
apply_filters('GoogleAnalytics/TrackingId/ua', $ua);
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~137 days

Recently: every ~228 days

Total

9

Last Release

2052d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f46fe64973c3e89d15c745c0bf601c25983bafea81d30e64d4bf813a6f8c8c7c?d=identicon)[sebastianthulin](/maintainers/sebastianthulin)

---

Top Contributors

[![silvergrund](https://avatars.githubusercontent.com/u/4200504?v=4)](https://github.com/silvergrund "silvergrund (2 commits)")[![nRamstedt](https://avatars.githubusercontent.com/u/16800993?v=4)](https://github.com/nRamstedt "nRamstedt (1 commits)")

### Embed Badge

![Health badge](/badges/helsingborg-stad-google-analythics/health.svg)

```
[![Health](https://phpackages.com/badges/helsingborg-stad-google-analythics/health.svg)](https://phpackages.com/packages/helsingborg-stad-google-analythics)
```

###  Alternatives

[spatie/laravel-google-calendar

Manage events on a Google Calendar

1.4k1.5M20](/packages/spatie-laravel-google-calendar)[tomatophp/filament-seo

Manage and generate SEO tags and integrate your website with Google SEO services

112.6k1](/packages/tomatophp-filament-seo)[infoweb-internet-solutions/yii2-cms-analytics

Analytics module for Yii2

112.4k1](/packages/infoweb-internet-solutions-yii2-cms-analytics)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
