dev-master
9999999-devThe Piwiki plugin for Yii 2 framework
MIT
The Requires
by Sitawit Suteepohnwiroj
Wallogit.com
2017 © Pedro Peláez
The Piwiki plugin for Yii 2 framework
This extension adds a javascript tracking of Piwik for Yii framework 2.0., (*1)
For license information check the LICENSE-file., (*2)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require sitawit/yii2-piwik *
or add, (*5)
"sitawit/yii2-piwik": "*"
to the require section of your composer.json., (*6)
Once the extension is installed, simply modify your application configuration as follows:, (*7)
return [
'bootstrap' => [
...
'piwik',
...
],
...
'components' => [
...
'piwik' => [
'class' => 'sitawit\piwik\Piwik',
'trackerUrl' => 'tracker-url',
'siteId' => 'id-of-website'
],
...
],
...
];
The Piwiki plugin for Yii 2 framework
MIT