Download the PHP package winter/wn-matomo-plugin without Composer

On this page you can find all versions of the php package winter/wn-matomo-plugin. 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 wn-matomo-plugin

Matomo Analytics

Matomo Plugin

Matomo is a Google Analytics alternative that lets website owners own their analytical data and protect their customers' privacy. This is a WinterCMS plugin that integrates Matomo into WinterCMS providing reporting widgets, client-based tracking component, and (planned) a server-side tracking component.

Prerequisites

You must have access to Matomo, either through the cloud services provided by Matomo or a self hosted Matomo instance. If you are paranoid about privacy, you might want to go for a self-hosted instance.

Installation

This plugin is available for installation via Composer.

Plugin Usage

You must have basic knowledge about Matomo in order to use this plugin. In particular, you must know how to create new tracking instances, users, and security tokens. Don't be worried. This is quite easy to learn by playing around with Matomo.

Setup site on Matomo

To get Matomo Analytics setup for your Winter CMS instance:

NOTE: You may want to disable any adblockers that you are currently using.

NOTE: The tracker is disabled when authenticated backend users are detected or the website is in maintenance mode

Configuration

Configuration for this plugin is handled through a configuration file. In order to modify the configuration values and get started you can either add the values to your .env environment file or copy the plugins/winter/matomo/config/config.php file to config/winter/matomo/config.php and make your changes there.

Environment File Supported Values:

Tracking

To start tracking your visitors simply add the Tracker component to the <head> section on all of the pages that you want to include the Matomo tracker on.

NOTE: The tracker component must be rendered before the closing </head> tag.

With that, Matomo should start tracking and you should see results shortly.

NOTE: Matomo provides near-realtime results with an emphasis on "near", so you might have to wait a few minutes to see the first results.

Reporting

This plugin provides several Dashboard ReportWidgets out of the box.

The following widgets render their data natively and can be configured with a date range and, where applicable, a result limit:

The following two widgets rely on an iframe to embed Matomo content directly into the Winter dashboard, which may cause display issues with certain browsers (for example, if third-party cookies or embedded frames are blocked):

Credits

This plugin was originally written by Helmut Kaufmann, Küssnacht am Rigi, in Switzerland. Helmut can be reached by mail at [email protected].

It has since been modified and re-released under the Winter namespace as a first party plugin for Winter CMS maintained by the Winter CMS team and Helmut Kaufmann.

If you would like to contribute to this plugin's development, please feel free to submit issues or pull requests to the plugin's repository here: https://github.com/wintercms/wn-matomo-plugin

If you would like to support Helmut Kaufmann please visit PayPal.

If you would like to support Winter CMS, please visit WinterCMS.com


All versions of wn-matomo-plugin with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
composer/installers Version ~1.11
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 winter/wn-matomo-plugin contains the following files

Loading the files please wait ...