Download the PHP package bastibuck/contao-ab-testing without Composer

On this page you can find all versions of the php package bastibuck/contao-ab-testing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package contao-ab-testing

Contao: A/B Testing

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

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?

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.

All versions of contao-ab-testing with dependencies

PHP Build Version
Package Version
Requires contao/core-bundle Version ^4.9
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bastibuck/contao-ab-testing contains the following files

Loading the files please wait ....