greenpeace/planet4-gpch-plugin-optimize
Composer 安装命令:
composer require greenpeace/planet4-gpch-plugin-optimize
包简介
A/B Testing and Personalization for Planet4 and Mixpanel
README 文档
README
Caution
This plugin is still in alpha stage and not ready for production use.
Testing and personalization functionality for WordPress/Planet4 websites that use Mixpanel for web analytics.
Content optimizations can now be used in two modes:
Experiment: tracked optimization that sends experiment events to the configured analytics destination.Personalization: tailored content that does not send experiment events.
Functionality
- Set up in-page content optimizations directly from the Gutenberg editor in either
ExperimentorPersonalizationmode - Split URL testing directly from the Gutenberg editor
- Weighted random targeting for content variants (e.g. 70% variant A, 30% variant B)
- Personalized content bases on:
- URL parameters (including UTM tags)
- localStorage and sessionStorage
- Sends experiment data either directly to the Mixpanel JavaScript SDK or to dataLayer (Tag Manager) when a content optimization is in
Experimentmode
In-Page Optimization Modes
When editors insert a content optimization block, they are asked whether they are creating an Experiment or Personalization. The selected mode can also be changed later in the block settings.
Experimentmode is intended for A/B tests and multivariate tests. It sends experiment events to the configured analytics destination.Personalizationmode is intended for showing targeted content without experiment tracking.- Existing content optimization blocks default to
Experimentmode so existing experiments keep their previous behavior.
Measurement and evaluation of experiments is not part of this plugin.
Experiment mode can be used in conjunction with the Mixpanel experiments feature. Conversion events also need to be set up separately for Mixpanel.
Documentation
- Setup
- Setting up an in-page experiment
- Using split URL tests
- Personalize content
- Evaluating experiments in Mixpanel
- Development
FAQ
Is the plugin compatible with every WordPress website?
So far yes. Although it's developed and tested for Planet4, it can be used in any WordPress installation.
Can the plugin be used with different web analytics software?
You may be able to use Tag Manager to set up the plugin to work with different web analytics solutions if you can make use of dataLayer event. The event contains the variables experiment_name and experiment_variant. Those could be used to build cohorts in some web analytics tools.
I have more questions, an idea for an additional feature or something doesn't work
Please be aware that the plugin is provided as is and our time for support is limited. But please do open an issue on GitHub for any bugs, feature ideas or other requests.
greenpeace/planet4-gpch-plugin-optimize 适用场景与选型建议
greenpeace/planet4-gpch-plugin-optimize 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 1.56k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2025 年 02 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 greenpeace/planet4-gpch-plugin-optimize 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 greenpeace/planet4-gpch-plugin-optimize 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-02-13