PHPackages                             waldhacker/typo3-plausibleio - 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. waldhacker/typo3-plausibleio

Abandoned → [dreistromland/typo3-plausibleio](/?search=dreistromland%2Ftypo3-plausibleio)ArchivedTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

waldhacker/typo3-plausibleio
============================

Privacy-friendly analytics integration for TYPO3 CMS. Analyze your audience with Plausible Analytics and see nice dashboards with analytics data directly in the TYPO3 backend.

3.0.0(2y ago)22.6kGPL-2.0-or-laterPHPPHP ^8.1 | ^8.2 | ^8.3

Since Jul 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/waldhacker/ext-plausibleio)[ Packagist](https://packagist.org/packages/waldhacker/typo3-plausibleio)[ Docs](https://github.com/waldhacker/ext-plausibleio/)[ RSS](/packages/waldhacker-typo3-plausibleio/feed)WikiDiscussions develop Synced today

READMEChangelogDependencies (22)Versions (9)Used By (0)

[![CI](https://github.com/waldhacker/ext-plausibleio/actions/workflows/ci.yml/badge.svg)](https://github.com/waldhacker/ext-plausibleio/actions/workflows/ci.yml)

⚠️

**This repository is no longer maintained.
No Issues or Pull Requests will be considered or approved.
The maintenance and further development is thankfully the responsibility of [@dreistromland](https://github.com/dreistromland).
The new code base can be found [in this repository](https://github.com/dreistromland/typo3-ext-plausibleio). Read all the details about the migration there. Many thanks to [@dreistromland](https://github.com/dreistromland) for taking over the further development and many thanks to all users for their trust.**

⚠️

Privacy-friendly analytics integration for TYPO3 CMS with Plausible Analytics.
==============================================================================

[](#privacy-friendly-analytics-integration-for-typo3-cms-with-plausible-analytics)

Analyze your audience with Plausible Analytics and see nice dashboards with analytics data directly in the TYPO3 backend.

Plausible Analytics is a privacy-friendly, cookieless, lightweight and open-source analytics alternative - you can either use their service at  or [self-host the service](https://plausible.io/docs/self-hosting) on your own platform.

[![Image of Dashboards](Documentation/Images/all-dashboards.png)](Documentation/Images/all-dashboards.png)

Installation
------------

[](#installation)

### With Composer

[](#with-composer)

`composer require waldhacker/typo3-plausibleio`

### Without Composer

[](#without-composer)

- [Download](https://extensions.typo3.org/extension/plausibleio) the extension from the TER
- Install it with the Extension Manager

Configuration
-------------

[](#configuration)

### Site Language

[](#site-language)

The extension is mainly configured within the site language `Site Management` / `Sites` / `` / `Languages` / `` / `Plausible Analytics`

[![Image of plausible configuration within site language settings](Documentation/Images/site-language-configuration.png)](Documentation/Images/site-language-configuration.png)

The following settings are available:

#### Plausible API base url

[](#plausible-api-base-url)

The base URL where the Plausible API endpoints are accessible.
If you use the plausible.io service it is `https://plausible.io/`.
If you are using a self-hosted Plausible instance, add your Plausible domain here (like `https://analytics.example.com/`).

#### Plausible API Key

[](#plausible-api-key)

A Plausible API Token. If you don't have one yet, you can create one in your Plausible instance at `Settings` / `API keys`

[![Image of Plausible settings](Documentation/Images/plausible-api-key.png)](Documentation/Images/plausible-api-key.png)

#### Site

[](#site)

A Plausible site ID.
This is typically your domain or subdomain without `www` (like `waldhacker.dev` or `blog.waldhacker.dev`).
The Site ID is also the one you entered in your Plausible instance when you created a new site using the `+ Add a website` button.

[![Image of Plausible settings](Documentation/Images/plausible-new-site.png)](Documentation/Images/plausible-new-site.png)

#### Auto-Include Plausible tracking snippet

[](#auto-include-plausible-tracking-snippet)

If switched on, then the [Plausible tracking script](https://plausible.io/docs/plausible-script) is automatically included in the frontend.

If you don't want automatic integration, you can also insert the script manually using the asset collector within your templates like this:

```

```

#### Plausible tracking snippet Base URL

[](#plausible-tracking-snippet-base-url)

The base URL where the Plausible Plausible tracking scripts are accessible.
It must be the part before `js/plausible.js`. So if your Plausible tracking scripts are available at `https://analytics.example.com/js/plausible.js` then put `https://analytics.example.com/` here.
If you use the plausible.io service it is `https://plausible.io/`.

The URL is most likely the same as the "Plausible API base url". However, it may happen that the tracking script should be loaded from another domain [because of adblockers](https://plausible.io/docs/proxy/introduction). Therefore the Plausible tracking scripts base URL must be configured separately here.

#### Plausible tracking snippet Type

[](#plausible-tracking-snippet-type)

Plausible [offers different tracking scripts](https://plausible.io/docs/script-extensions) for various use cases.
One of these scripts can be selected here (the default ist `plausible.js`).

### Extension configuration

[](#extension-configuration)

Some options are configured within the extension configuration at `Admin Tools` / `Extension Configuration` / `plausibleio`

[![Image of plausible configuration within the extension settings](Documentation/Images/extension-configuration.png)](Documentation/Images/extension-configuration.png)

#### Time Frames

[](#time-frames)

Comma-separated list of available selectable time frames within the dashboard widgets - see  for possible options (`custom` is currently not available).

#### Default Time Frame

[](#default-time-frame)

The time frame to use initially when rendering the widgets.

### Advanced configuration

[](#advanced-configuration)

#### Service.yaml

[](#serviceyaml)

If you want to see multiple widgets with preconfigured values on one dashboard, this is possible via the widget configuration in the file `Configuration/Services.yaml`.
So it is possible to create e.g. the `Countries` widget 2 times on the dashboard. One which shows the country map for `site1.example.com` and one which shows the country map for `site2.example.com`.

Copy the `waldhacker.plausibleio.widget.country` widget from the file `EXT:plausibleio/Configuration/Services.yaml`

```
  waldhacker.plausibleio.widget.country:
    class: 'Waldhacker\Plausibleio\Dashboard\Widget\CountryMapDataWidget'
    arguments:
      $configurationService: '@Waldhacker\Plausibleio\Services\ConfigurationService'
      $options:
        siteId: null
        timeFrame: null
    tags:
      - name: dashboard.widget
        identifier: 'plausible.countrymapdata'
        groupNames: 'plausibleio'
        title: 'LLL:EXT:plausibleio/Resources/Private/Language/locallang.xlf:widget.countryMapData.label'
        description: 'LLL:EXT:plausibleio/Resources/Private/Language/locallang.xlf:widget.countryMapData.description'
        iconIdentifier: 'content-widget-chart-bar'
        height: 'medium'
        width: 'medium'

```

into your site package `Configuration/Services.yaml` file and adjust the configuration like this

```
  # Countries widget fixed to site1.example.com
  yourname.plausibleio.widget.country.site1:
    class: 'Waldhacker\Plausibleio\Dashboard\Widget\CountryMapDataWidget'
    arguments:
      $configurationService: '@Waldhacker\Plausibleio\Services\ConfigurationService'
    $options:
      siteId: site1.example.com
      timeFrame: 30d
  tags:
    - name: dashboard.widget
      identifier: 'yourname.countrymapdata.site1'
      groupNames: 'plausibleio'
      title: 'LLL:EXT:yourpackage/Resources/Private/Language/locallang.xlf:widgets.countryMapData.label'
      description: 'LLL:EXT:yourpackage/Resources/Private/Language/locallang.xlf:widgets.countryMapData.description'
      iconIdentifier: 'content-widget-chart-bar'
      height: 'medium'
      width: 'medium'

  # Countries widget fixed to site2.example.com
  yourname.plausibleio.widget.country.site2:
    class: 'Waldhacker\Plausibleio\Dashboard\Widget\CountryMapDataWidget'
    arguments:
      $configurationService: '@Waldhacker\Plausibleio\Services\ConfigurationService'
    $options:
      siteId: site2.example.com
      timeFrame: 30d
  tags:
    - name: dashboard.widget
      identifier: 'yourname.countrymapdata.site2'
      groupNames: 'plausibleio'
      title: 'LLL:EXT:yourpackage/Resources/Private/Language/locallang.xlf:widgets.countryMapData.label'
      description: 'LLL:EXT:yourpackage/Resources/Private/Language/locallang.xlf:widgets.countryMapData.description'
      iconIdentifier: 'content-widget-chart-bar'
      height: 'medium'
      width: 'medium'

```

Within `$options` you have the possibility to fix a widget to a plausible site ID and/or to a time frame.

### Migration from version 1.x to 2.x

[](#migration-from-version-1x-to-2x)

In version 1.x the options "Plausible API base url" (`baseUrl`), "Plausible API Key" (`apiKey`) and "Site" (`siteId`) were set within the extension configuration (`$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['plausibleio']`). However, this only allowed the configuration of one Plausible site ID within the TYPO3 installation.

These 3 configuration options have been moved to the site language configurations with version 2.x. You have to manually transfer the values you entered in the extension configuration (version 1.x) to the site language configuration, there is no automated migration script.

### Migration from version 2.x to 3.x

[](#migration-from-version-2x-to-3x)

Because of [Breaking-96812-NoFrontendTypoScriptBasedTemplateOverridesInTheBackend](https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-96812-NoFrontendTypoScriptBasedTemplateOverridesInTheBackend.html#widget-registration-using-services-yaml) you need to remove the lines `$view: '@dashboard.views.widget'` from the widget configuration within the file `Configuration/Services.yaml`.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 73.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 ~191 days

Recently: every ~207 days

Total

6

Last Release

807d ago

Major Versions

1.0.0 → 2.0.02021-11-17

2.2.1 → 3.0.02024-02-23

PHP version history (3 changes)2.1.0PHP ^7.4 | ^8.0 | ^8.1

2.2.0PHP ^7.4 | ^8.0 | ^8.1 | ^8.2

3.0.0PHP ^8.1 | ^8.2 | ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/004feeac533aca09131a92ab3111be5c85268da65d979c4dce131dcb72057bf2?d=identicon)[psychomieze](/maintainers/psychomieze)

![](https://www.gravatar.com/avatar/2ec2b97cf168b565dfc967a4460581babe890e43571c242cea43e7b6b4683765?d=identicon)[waldhacker](/maintainers/waldhacker)

---

Top Contributors

[![waldhacker1](https://avatars.githubusercontent.com/u/4954582?v=4)](https://github.com/waldhacker1 "waldhacker1 (73 commits)")[![waldhacker-joerg](https://avatars.githubusercontent.com/u/92523446?v=4)](https://github.com/waldhacker-joerg "waldhacker-joerg (22 commits)")[![susannemoog](https://avatars.githubusercontent.com/u/321804?v=4)](https://github.com/susannemoog "susannemoog (4 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/waldhacker-typo3-plausibleio/health.svg)

```
[![Health](https://phpackages.com/badges/waldhacker-typo3-plausibleio/health.svg)](https://phpackages.com/packages/waldhacker-typo3-plausibleio)
```

###  Alternatives

[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)[fluidtypo3/flux

The flux package from FluidTYPO3

152982.2k20](/packages/fluidtypo3-flux)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)[eliashaeussler/typo3-form-consent

Extension for TYPO3 CMS that adds double opt-in functionality to EXT:form

1481.0k](/packages/eliashaeussler-typo3-form-consent)[eliashaeussler/typo3-warming

Warming - Warms up Frontend caches based on an XML sitemap. Cache warmup can be triggered via TYPO3 backend or using a console command. Supports multiple languages and custom crawler implementations.

20229.9k](/packages/eliashaeussler-typo3-warming)[t3g/blog

This blog extension uses TYPO3s core concepts and elements to provide a full-blown blog that users of TYPO3 can instantly understand and use.

48581.2k7](/packages/t3g-blog)

PHPackages © 2026

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