Download the PHP package shapecode/matomo-bundle without Composer
On this page you can find all versions of the php package shapecode/matomo-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package matomo-bundle
ShapecodeMatomoBundle
A Symfony2 Bundle that helps you to use the Matomo Open Analytics Platform with your project.
It contains a Twig function that can insert the tracking code into your website. Plus, you can turn it off with a simple configuration switch so you don't track your dev environment.
Installation
Simply add the following to your composer.json (see http://getcomposer.org/):
And enable the bundle in app/AppKernel.php
:
Usage
Somewhere in your views, right before the closing </body>
tag, insert
This will add the appropriate Matomo tracking code as described in the API reference.
You have the ability to change the config on the fly if it necessary
Configuration
You can configure the bundle in your config.yml
. Full Example:
Credits, Copyright and License
Copyright 2017 shapecode. Code released under the MIT license.
Original script from http://www.webfactory.de
All versions of matomo-bundle with dependencies
symfony/framework-bundle Version ~2.8|~3.0|~4.0
symfony/dependency-injection Version ~2.8|~3.0|~4.0
symfony/http-kernel Version ~2.8|~3.0|~4.0
symfony/config Version ~2.8|~3.0|~4.0
symfony/options-resolver Version ~2.8|~3.0|~4.0
symfony/twig-bundle Version ~2.8|~3.0|~4.0
twig/twig Version ~1.34|~2.0