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

On this page you can find all versions of the php package mercator/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 Analytics is a WinterCMS plugin for Matomo, a Google Analytics alternative that lets website owners own their analytical data and protect their customers' privacy.

Prerequisites

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

Installation

Use Composer to install the plugin by executing

and running

from the root of your WinterCMS installation.

Alternatively, create a directory "mercator/matomo", download the files from Github and move them in the newly created sub-directory.

Installation from the WinterCMS backend will be added once the WinterCMS marketplace is available.

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.

Configuration

On the Winter backend, go to the settings of the plugin Matomo Analytics.

To get Matomo Analytics running,

Tracking

To start tracking your visitors go to the CMS section of Winter CMS and drag-drop the tracking code onto the layout(s) of your Winter site.

With that, Matomo should start tracking and you should see results shortly. Note that Matomo provides near-realtime results with an emphasis on "near", so you might have to wait a few minutes to see first results.

Reporting

Goto Winter's Dashbaord and add a new widget. Select Matomo Widget as the widget type in Winter's dashboard when adding a new widget. Then, select the actual report type. For each report added, you can change the reporting period (7/30/360 days) as well as the way the report is rendered (e.g., a pie chart). It is also possible to export the data of an individual report.

In addition, the full Matomo Dashboard is available. This is a replica of the dashboard found in Matomo's backend. Simply select Matomo Dashboard as the widget type when creating the widget in in Winter's dashbaord.

The Reports tab in the backend provides a list of the available reports.

First Aid

If you cannot select Matomo Widget or Matomo Dashboard when adding a widget, review the configuration settings in the backend. In particular ensure that Winter Dashboard Widgets is enabled.

Should you see an error message on your Winter Dashboard

Should you see empty widgets on your Winter Dashboard

If your Matomo widgets do not resize (and parts of the content is hidden)

Thank You

I would like to thank the guys from WinterCMS for their ongoing support - not just for getting this plugin done but also the other ones I have been writing over the course of the past two years.

Note that this is not about money. It is about appreciation of my time.

Contributing

Feel free to send pull request! Please, send Pull Request to the master branch.

A Final Word

This plugin has been compiled by Helmut Kaufmann, Küssnacht am Rigi, in Switzerland. Helmut can be reached by mail at [email protected].

While it might look simple, putting this plugin together took some time. So, if you find it useful, feel free to sponsor a beer, two or more are welcome as well. PayPal might be your best friend for this...

License

Copyright 2022 by Helmut Kaufmann, Küssnacht am Rigi, Switzerland (https://mercator.li).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.
If not, see https://www.gnu.org/licenses.


All versions of wn-matomo-plugin with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.9
composer/installers Version ~1.0
matomo/matomo-php-tracker Version dev-master
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 mercator/wn-matomo-plugin contains the following files

Loading the files please wait ....