werkraummedia / abtest
Provides A/B Testing for TYPO3.
Installs: 280
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 2
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0
- matomo/device-detector: ^6.1
- psr/http-message: ^1.0
- symfony/http-foundation: ^5.4
- typo3/cms-core: ^11.5
- typo3/cms-frontend: ^11.5
Requires (Dev)
- cweagans/composer-patches: ^1.7
- friendsofphp/php-cs-fixer: ^3.14
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.6
- typo3/testing-framework: ^6.16
README
Extension for A/B-Tests
This extension supports TYPO3 administrators in performing A/B tests. This is useful when a site owner want to measure whether a new version improves or reduces user interaction compared to the current version.
Features of the extension
- Caching of each page version
- A real 50/50% chance. That means: No selection by random, because of the unreliable random method. So the versions are always taken alternately.
- Complete different content with same page id. So only one URL for two versions. The displayed version is determined by the cookie value.
More information
Page properties get a new field "B Page" where you can provide the alternative page version. If the page is requested by the user, the extension checks wheter there is a B version specified. If this is the case, the version is selected by "random". A cookie is set that remembers which version the user got (so there is no flip-flop if the user requests the page repeatedly). Once the cookie expires, the user is back to random at the next request.
Additional header information may be specified both for the original version as well as for the B version. This allows to track version differences in a web analysis tool such as Analytics.
Demo
Matomo A/B integration
Provides an integration for "A/B Testing - Experiments" https://matomo.org/a-b-testing/. This is currently enabled out of the box and integrated into this extension. That is because we need this for one of our customers. We didn't think it is worth it to split it up into this own extension right now.
You can disable the corresponding event listener and hide the corresponding fields.
Known issues
This extension currently does not support typeNum.
It always checks requested page for a variant, and it always adds the tracking code.