clickpress/contao-umami-bundle
最新稳定版本:1.0.0
Composer 安装命令:
composer require clickpress/contao-umami-bundle
包简介
Contao extension to integrate Umami Analytics
README 文档
README
This bundle integrates Umami Analytics into Contao. It allows you to configure the Umami tracking script directly within the page root settings of your Contao installation.
Features
- Easy integration of Umami Analytics.
- Configuration per website root (Multi-domain support).
- Adds necessary tracking codes automatically to the frontend.
Installation
-
Install the bundle via Composer:
composer require clickpress/contao-umami-bundle
-
Update your database to add the new configuration fields:
php bin/console contao:migrate
Configuration
- Log in to your Contao Backend.
- Go to Site Structure and edit a Website Root page.
- Locate the Umami Analytics section (usually under "Website legend" or similar).
- Enter your Umami configuration details:
- Umami Analytics URL: The URL to your Umami instance (e.g.,
https://analytics.mydomain.com/script.js). - Umami API-Key / Site ID: The unique Site ID provided by Umami for this website.
- Umami Analytics URL: The URL to your Umami instance (e.g.,
Once saved, the tracking script will be automatically injected into the <head> of your website pages.
Requirements
- Contao 5.3 or newer
- PHP 8.3 or newer
License
This bundle is released under the LGPL-3.0-or-later license.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2025-12-10