agoat/contao-piwikanalytics

此包已被废弃且不再维护。作者建议使用agoat/contao-matomo包。

Contao 4的Matomo统计信息

安装: 277

依赖: 0

建议者: 0

安全性: 0

星星: 1

关注者: 2

分支: 1

类型:contao-bundle

1.3.1 2020-01-06 11:56 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:08:02 UTC


README

Version License Downloads

现在与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(),
        ];
    }
}