phpA-B
phpA-B copied to clipboard
Endless possibilities. Universal results. Introducing A/B testing with PHP
By the looks of the code this doesn't work with the new analytics script does it? Here's what I'm referring to: https://developers.google.com/analytics/devguides/collection/analyticsjs/
line 251: `current_varation` should be `current_variation`
It's now possible to redirect users to specific experiment (e.g. from newsletter, or another page) using string queries, like www.example.com?experiment=control if (isset($_GET['experiment'])) { $phpab->set_current_variation($_GET['experiment']); }
Per [this page](http://www.user-agents.org/cgi-bin/free-search.cgi?template=free-search-detail.html&dbname=allagents.csv&key2=id_a_f_290308_2&action=searchdbdisplay), the DuckDuckGo user agent is `DuckDuckBot/1.0;`
I setup the library exactly how it is described on http://phpabtest.com/quick-start Even updated the php library with a fork I saw for analytics. Neither displayed the test in google analytics....
[Piwik](http://piwik.org/) is a free/libre software Web analytics program written in PHP, and can be used to replace Google Analytics.
Doing something like this: ``` php