setono / google-analytics-bundle
在您的 Symfony 应用程序中使用 Google Analytics
v2.0.0-alpha
2023-09-05 13:13 UTC
Requires
- php: >=7.4
- ext-json: *
- psr/event-dispatcher: ^1.0
- psr/log: ^1.1 || ^2.0 || ^3.0
- setono/composite-compiler-pass: ^1.1
- setono/google-analytics-events: ^1.0@beta
- setono/google-analytics-measurement-protocol: ^2.0@beta
- setono/tag-bag: ^2.2
- setono/tag-bag-bundle: ^3.0
- symfony/config: ^5.4 || ^6.0
- symfony/dependency-injection: ^5.4 || ^6.0
- symfony/event-dispatcher: ^5.4 || ^6.0
- symfony/event-dispatcher-contracts: ^2.5 || ^3.2
- symfony/filesystem: ^5.4 || ^6.0
- symfony/http-foundation: ^5.4 || ^6.0
- symfony/http-kernel: ^5.4 || ^6.0
- symfony/messenger: ^5.4 || ^6.0
- webmozart/assert: ^1.11
- webmozart/glob: ^4.6
Requires (Dev)
- kriswallsmith/buzz: ^1.2.1
- matthiasnoback/symfony-dependency-injection-test: ^4.3.1
- nyholm/psr7: ^1.5
- nyholm/symfony-bundle-test: ^2.0
- phpspec/prophecy-phpunit: ^2.0.2
- phpunit/phpunit: ^9.6.10
- psalm/plugin-phpunit: ^0.18.4
- psalm/plugin-symfony: ^5.0.3
- setono/code-quality-pack: ^2.4
- setono/consent-bundle: ^1.0
This package is auto-updated.
Last update: 2024-08-30 01:18:06 UTC
README
在您的 Symfony 应用程序中使用 Google Analytics。在底层,此包集成了 Google Analytics 测量协议库。
安装
要安装此包,只需运行
composer require setono/google-analytics-bundle
这也会安装 Bot Detection Bundle,该包用于过滤机器人请求。
如果您想处理同意(即 cookie/GDPR 同意),可以使用 consent 包,通过安装它
composer require setono/consent-bundle
使用方法
待办事项