briancray / phpa-b Goto Github PK
View Code? Open in Web Editor NEWEndless possibilities. Universal results. Introducing A/B testing with PHP
Home Page: http://phpabtest.com/
Endless possibilities. Universal results. Introducing A/B testing with PHP
Home Page: http://phpabtest.com/
Doing something like this:
<?php
$myTest = new phpab('myTest');
$myTest->add_variation('my_variation', "I'm a variation!");
?>
{phpab myTest}
I'm a control!
{/phpab myTest}
Causes the output not to be replaced:
{phpab myTest}
I'm a control!
{/phpab myTest}
However, the output is correct if the replacement tag is changed to lowercase:
<?php
$myTest = new phpab('myTest');
$myTest->add_variation('my_variation', "I'm a variation!");
?>
{phpab mytest}
I'm a control!
{/phpab mytest}
Which produces either output:
I'm a control!
or
I'm a variation!
line 251: current_varation
should be current_variation
Thanks
Piwik is a free/libre software Web analytics program written in PHP, and can be used to replace Google Analytics.
Hi, just saw it, great
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. The test seem to work if I put trialing, but otherwise I do not really see them.
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/
Hey Brian, I tried emailing you previously, the css files for the website or not correctly linked.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.