Download the PHP package b13/view-tracker without Composer

On this page you can find all versions of the php package b13/view-tracker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package view-tracker

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.

Installation

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: <img> tag

Option 2: ViewHelper (recommended)

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

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

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:

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/<id>/config.yaml:

Then override in config/sites/<id>/settings.yaml:

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

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

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/<id>/config.yaml:

Then override in config/sites/<id>/settings.yaml:

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

Upgrading from 1.0

The tracking endpoint moved from /_pixel to /_b13vt. If your templates use the <vt:pixel /> ViewHelper, just flush caches — the new URL is emitted automatically. If you copied the raw <img src="/_pixel?…"> snippet into a template, update the path manually (or switch to the ViewHelper).

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

GPL-2.0-or-later — see the LICENSE file for details.

Related Extensions

Interested in View Tracker Pro or GeoIP? Contact us.

Background, authors & maintenance

This extension was created by Johannes Schlier in 2025 for b13 GmbH, Stuttgart.

Find more TYPO3 extensions we have developed 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.


All versions of view-tracker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
typo3/cms-core Version ^13 || ^14
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package b13/view-tracker contains the following files

Loading the files please wait ...