agoat / contao-piwikanalytics
1.3.1
2020-01-06 11:56 UTC
Requires
- php: ^7.2
- contao/core-bundle: ^4.4
Replaces
- agoat/contao-piwikanalytics: *
- contao-legacy/piwikanalytics: *
README
现在与Contao 4.4 lts和4.8(最新版)兼容!!
关于
轻松将Matomo统计信息添加到您的Contao网站。只需在根页面上激活piwik跟踪并设置所需的参数。
有关Matomo的更多信息,请访问其网页。
注意
在将名称从piwik更改为matomo时,数据库字段名称也发生了变化。因此,在更新到1.3.*时可能会丢失一些设置!!
要求
Matomo(之前称为piwik)是一个“开源分析平台”。跟踪数据将保存在Contao之外。
需要一个公开可用的Matomo/Piwik安装(自托管或云托管均可)。
安装
Contao管理器
搜索此包并安装它
agoat/contao-matomo
管理版
添加此包
# Using the composer
composer require agoat/contao-matomo
注册和配置将由管理插件自动完成。
标准版
添加此包
# Using the composer
composer require agoat/contao-matomo
在AppKernel中注册此包
# app/AppKernel.php class AppKernel { // ... public function registerBundles() { $bundles = [ // ... // after Contao\CoreBundle\ContaoCoreBundle new Agoat\MatomoBundle\AgoatMatomoBundle(), ]; } }