bastibuck/contao-ab-testing 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

bastibuck/contao-ab-testing

Composer 安装命令:

composer require --dev bastibuck/contao-ab-testing

包简介

A/B testing with Contao Open Source CMS

README 文档

README

Latest Stable Version Total Downloads License

This extension provides a new page type to evenly split up visitor traffic between the selected test-pages. At the same time it makes sure that returning visitors will be shown the same page they have visited before.

This way A/B tests can be performed in Contao Open Source CMS.

Features

  • Select one or more pages to be tested
  • test pages are rendered within the the new page type so all versions have the same url
  • Set a cookie and its' expiring time to identify returning visitors
  • adds a new Content Element to set a Matomo Custom Variable easily

Notice

This extension doesn't provide analytics! To get insights on statistics of your visitors you will need to use an analytic software like Google Analytics, Matomo or similar.

How does the extension work?

A/B Testing visitor flow

The visitor flow is visualized in the graphic above and shows how the extension works.

  1. Visitor a is the first visitor to our A/B test. The A/B test page checks which test-page was last visited by any visitor. Since visitor a is the first visitor there will be no result and a will be rendered the first of the test-pages V0.
  2. Visitor b is the second visitor. Checking which page was rendered before will now return the ID of test-page V0. Therefore visitor b will be given the second test-page V1.
  3. When visitor c visits our A/B test the check of the last visited page will return the ID of the second page V1 since the last visitor was shown this one. Visitor c will therefore be rendered test-page V0 again as V1 was the last page in the test.
  4. Visitor d is a returning visitor. He visited the A/B test before and was given V0. By this time a cookie was saved on his device containing the value of the test-page he got to see. On the returning visit the A/B test checks if the cookie exists and if so gets its' value and renders the same page he has seen before. In this case this will also be V0 although the next page to be visited would be V1 again (if it wasn't a returning visitor). Additionally the last visited pge won't be saved in the case of returning visitors so the regular visitor order won't be messed up.
  5. Visitor e is a first time visitor, has no cookie with a page ID value and therefore triggers the check of the last visited page which returns the ID of page V0 (visitor c was the last one to visit it). Therefore visitor e will be shown test-page V1.

bastibuck/contao-ab-testing 适用场景与选型建议

bastibuck/contao-ab-testing 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 978 次下载、GitHub Stars 达 8, 最近一次更新时间为 2017 年 07 月 01 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

围绕 bastibuck/contao-ab-testing 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2017-07-01