定制 elliotsawyer/silverstripe-matomo 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

elliotsawyer/silverstripe-matomo

最新稳定版本:0.0.2

Composer 安装命令:

composer require elliotsawyer/silverstripe-matomo

包简介

Install Matomo analytics tracking on your SilverStripe website

README 文档

README

Scrutinizer Code Quality Code Coverage CircleCI codecov

SilverStripe Matomo integration

Adds Matomo analytics tracking to your SilverStripe website

  • Apply via extension to any frontend ContentController object
  • enable or disable using SiteConfig settings
  • allow users to opt-out of Javascript tracking
  • exclude specific pages from tracking using the CMS

Working with a content security policy

Is your site working with a strict content security policy? Great! You'll need to whitelist your Matomo endpoint to avoid violating your CSP.

... img-src 'self' https://your.matomowebsite.nz blob: data:; ... script-src 'self' https://your.matomowebsite.nz 'sha384-BaSE64ENC0D3D';...

The img-src rule is to allow a tracking pixel to be embedded on the website. script-src is used by Matomo to execute the script on the website. You may need to add a nonce value for the inline script for it to run correctly.

Contributing

Contributions are more than welcome! Please raise some issues or create pull requests on the Github repo.

Support

Need some extra help or just love my work? Consider shouting me a coffee or a small donation if this module helped you solve a problem. I accept cryptocurrency at the following addresses:

  • Bitcoin: 12gSxkqVNr9QMLQMMJdWemBaRRNPghmS3p
  • Bitcoin Cash: 1QETPtssFRM981TGjVg74uUX8kShcA44ni
  • Litecoin: LbyhaTESx3uQvwwd9So4sGSpi4tTJLKBdz
  • Ethereum: 0x0694E0704c70D8d178dd2e9522FC59EBBEe86748

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-02