承接 jbennecker/silverstripe-analytics 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jbennecker/silverstripe-analytics

Composer 安装命令:

composer require jbennecker/silverstripe-analytics

包简介

关键字:

README 文档

README

Installation

1. Installiere das Analytics-Plugin mit Composer

php81 composer.phar require jbennecker/silverstripe-analytics

2. Führe dev/build?flush aus

php81 vendor/silverstripe/framework/cli-script.php dev/build

3. Gib die Tracking-IDs in das CMS ein

Gehe zu Admin > Einstellungen > Tracking und gib die Cookiebot-ID und Tagmanager-IDs ein. Du kannst Google und/oder Matomo TagManager verwenden.

WICHTIG:
Bitte konfiguriere Matomo TagManager so, dass "Cookies deaktivieren" und "Tracker bündeln" aktiviert ist. Siehe Bookstack.
Cookiebot ist im manuellen Modus enthalten.

4. Füge den Tracking-Code in dein Template ein

Bearbeite die Datei app/templates/Page.ss und importiere den Tracking-Code am Anfang deines <head>.

<% include Tracking %>

Shortcodes, die vom Plugin bereitgestellt werden

  • [cookiedeclaration] zum Einbinden in die Datenschutzerklärung
  • [cookiebot] um einen Button zum Bearbeiten der Cookiebot-Präferenzen bereitzustellen
  • [youtube,id="dieYoutubeId"] zum Bereitstellen von YouTube-Medien, die von der Cookiebot-Zustimmung gesteuert werden

Konfiguriere Auslöser im Matomo Tag Manager

This step is only needed if custom Tags in Matomo need to honor Cookiebot consent modes, for example Facebook Pixel etc.

To honor the visitor's consent, you need to define the logic that controls the behavior of cookie-setting tags on your website.

To do this you need to create the following Triggers, to be used in your Matomo configuration:

  1. Name: Cookie Consent Preferences
    Event Name: cookie_consent_preferences
  2. Name: Cookie Consent Statistics
    Event Name: cookie_consent_statistics
  3. Name: Cookie Consent Marketing
    Event Name: cookie_consent_marketing

To create the Triggers, repeat these steps for each of the Cookiebot triggers:

  • Click the "Triggers" menu item and click "+ CREATE NEW TRIGGER"
  • Choose "Custom Event" under "Choose a type of trigger to continue"
  • Assign a name and the matching event from the list above
  • Click the "CREATE NEW TRIGGER" button to save the trigger

also see Cookiebot doc for defining Custom JavaScript variables to use as a condition for existing triggers

Once we write a Matomo trigger plugin we can elimate this step

7. Use custom Matomo Consent Triggers for Tags setting Cookies or tracking

Tags which set cookies within one of these three categories (review the scan report if you are in doubt) must only be triggered when the user has consented to the relevant category.

To achieve this, assign the appropriate Cookie Consent Trigger on each cookie-setting tag, for example "Cookie Consent Statistics" for your Matomo Analytics tag.

jbennecker/silverstripe-analytics 适用场景与选型建议

jbennecker/silverstripe-analytics 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.94k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 12 月 01 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「silverstripe」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 jbennecker/silverstripe-analytics 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 jbennecker/silverstripe-analytics 我们能提供哪些服务?
定制开发 / 二次开发

基于 jbennecker/silverstripe-analytics 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 1.94k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 11
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-12-01