A/B Test extension for TYPO3.
Find a file
2025-06-02 07:18:07 +02:00
.github/workflows Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00
Classes Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00
Configuration Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00
patches Initial migration 2023-03-06 10:41:39 +01:00
Resources/Private Integrate Matomo tracking for A/B Testing (#2) 2023-03-06 14:39:21 +01:00
Tests Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00
.gitattributes Initial migration 2023-03-06 10:41:39 +01:00
.gitignore Initial migration 2023-03-06 10:41:39 +01:00
.php-cs-fixer.dist.php Initial migration 2023-03-06 10:41:39 +01:00
composer.json Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00
ext_icon.png First commit 2017-12-10 22:19:30 +01:00
ext_tables.sql Integrate Matomo tracking for A/B Testing (#2) 2023-03-06 14:39:21 +01:00
phpstan-baseline.neon Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00
phpstan.neon Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00
phpunit.xml.dist Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00
README.md Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00
shell.nix Update for TYPO3 v13 and corresponding PHP versions (#9) 2025-06-02 07:18:07 +02:00

abtest TYPO3 Extension

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

  1. Caching of each page version
  2. A real 50/50% chance. That means: No selection by random, because of the unreliable random method. So the versions are always taken alternately.
  3. 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

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.

Changelog

v2.0.0

  • TYPO3 v13 + matching PHP versions

v1.0.0

  • Integrate matomo tracking.
  • TYPO3 v11