PHPackages                             b13/view-tracker - 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. b13/view-tracker

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

b13/view-tracker
================

Reliably track page views in TYPO3

1.1.1(1mo ago)01[1 issues](https://github.com/b13/view-tracker/issues)[1 PRs](https://github.com/b13/view-tracker/pulls)GPL-2.0-or-laterPHPPHP ^8.2

Since Feb 24Pushed 3w agoCompare

[ Source](https://github.com/b13/view-tracker)[ Packagist](https://packagist.org/packages/b13/view-tracker)[ RSS](/packages/b13-view-tracker/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (1)Versions (8)Used By (0)

View Tracker for TYPO3
======================

[](#view-tracker-for-typo3)

Track page views reliably using a 1x1 pixel that bypasses caching.

For dashboard widgets, analytics, and data aggregation, see [View Tracker Pro](https://github.com/b13/view-tracker-pro).

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

[](#installation)

```
composer require b13/view-tracker
```

Including the Pixel
-------------------

[](#including-the-pixel)

Add the pixel to your main template. Make sure to use the localized page ID if you want to track language versions separately.

### Option 1: `` tag

[](#option-1-img-tag)

```

```

### Option 2: ViewHelper (recommended)

[](#option-2-viewhelper-recommended)

The ViewHelper automatically includes the correct page ID, language, and page type:

```

```

Page Module Statistics
----------------------

[](#page-module-statistics)

View statistics are shown automatically in the header area of each page in the TYPO3 backend. Charts include total views, last 7 / 30 days, last 12 months, and views by page type.

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

[](#configuration)

### Excluded Page Doktypes

[](#excluded-page-doktypes)

By default, view statistics are not shown for non-content page types (folders, shortcuts, external links, etc.). You can extend the exclusion list:

```
// ext_localconf.php
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['view_tracker']['excludedDoktypes'][] = 116;
```

### Page-module statistics visibility

[](#page-module-statistics-visibility)

By default every backend user that can open the Page module sees the statistics widget. Two site settings narrow that audience. Admins always see the widget regardless of these settings.

Import the site set in your `config/sites//config.yaml`:

```
dependencies:
  - b13/view-tracker
```

Then override in `config/sites//settings.yaml`:

```
view_tracker:
  pageModuleStatistics:
    # Restrict to admin users only — every non-admin loses the widget.
    visibleForAdminsOnly: true
    # OR keep visibleForAdminsOnly: false and limit by BE user group UIDs.
    # Empty (default) means no group restriction.
    visibleForGroups: '12,17'
```

Behaviour matrix (non-admin users):

`visibleForAdminsOnly``visibleForGroups`Non-admin sees widget?`false` (default)empty (default)yes — backwards-compatible`false``'12,17'`only if member of group 12 or 17`true`(ignored)never### Storage Type

[](#storage-type)

By default, views are written to the `tx_view_tracker_count` database table. An empty Redis implementation is provided as an example for alternative storage.

### Tracking Endpoint

[](#tracking-endpoint)

The middleware listens on `/_b13vt` by default. The path is deliberately opaque so common tracker blocklists (EasyPrivacy etc.) don't catch it. If a blocklist eventually picks it up, override the path per site — both the middleware and the ViewHelper read from the same site setting.

Import the site set in your `config/sites//config.yaml`:

```
dependencies:
  - b13/view-tracker
```

Then override in `config/sites//settings.yaml`:

```
view_tracker:
  endpoint: '/_yourpath'
```

After changing the value, flush TYPO3 caches so the ViewHelper re-renders.

Upgrading from 1.0
------------------

[](#upgrading-from-10)

The tracking endpoint moved from `/_pixel` to `/_b13vt`. If your templates use the `` ViewHelper, just flush caches — the new URL is emitted automatically. If you copied the raw `` snippet into a template, update the path manually (or switch to the ViewHelper).

Privacy
-------

[](#privacy)

The pixel records only the page ID, page type, browser language, and a timestamp. No cookies, IP addresses, or personal data are stored.

License
-------

[](#license)

GPL-2.0-or-later — see the [LICENSE](LICENSE) file for details.

Related Extensions
------------------

[](#related-extensions)

- **[View Tracker Pro](https://b13.com)** — dashboard widgets, data aggregation, and server-side analytics (browser, OS, device type detection)
- **[View Tracker CDN Country](https://github.com/b13/view-tracker-cdn-country)** — country detection via CDN headers (Cloudflare, Fastly, etc.)
- **[View Tracker GeoIP](https://b13.com)** — country detection via MaxMind GeoIP database

Interested in View Tracker Pro or GeoIP? [Contact us](https://b13.com/about).

Background, authors &amp; maintenance
-------------------------------------

[](#background-authors--maintenance)

This extension was created by Johannes Schlier in 2025 for [b13 GmbH, Stuttgart](https://b13.com).

[Find more TYPO3 extensions we have developed](https://b13.com/useful-typo3-extensions-from-b13-to-you) that help us deliver value in client projects. As part of our work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance93

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~26 days

Recently: every ~33 days

Total

6

Last Release

48d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/165630?v=4)[Benni Mack](/maintainers/bmack)[@bmack](https://github.com/bmack)

---

Top Contributors

[![davidsteeb](https://avatars.githubusercontent.com/u/3862523?v=4)](https://github.com/davidsteeb "davidsteeb (8 commits)")

### Embed Badge

![Health badge](/badges/b13-view-tracker/health.svg)

```
[![Health](https://phpackages.com/badges/b13-view-tracker/health.svg)](https://phpackages.com/packages/b13-view-tracker)
```

###  Alternatives

[friendsoftypo3/content-blocks

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

103574.3k70](/packages/friendsoftypo3-content-blocks)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40543.5k](/packages/wazum-sluggi)[typo3/cms-scheduler

TYPO3 CMS Scheduler - Schedule tasks to run once or periodically at a specific time.

169.5M271](/packages/typo3-cms-scheduler)[typo3/cms-lowlevel

TYPO3 CMS Lowlevel - Technical analysis of the system. This includes raw database search, checking relations, counting pages and records etc.

178.3M360](/packages/typo3-cms-lowlevel)[typo3/cms-redirects

TYPO3 CMS Redirects - Create manual redirects, list existing redirects and automatically createredirects on slug changes.

167.6M84](/packages/typo3-cms-redirects)[typo3/cms-form

TYPO3 CMS Form - Flexible TYPO3 frontend form framework that comes with a backend editor interface.

147.8M291](/packages/typo3-cms-form)

PHPackages © 2026

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