Created
January 17, 2014 08:12
-
-
Save saivarunk/8469984 to your computer and use it in GitHub Desktop.
Setup the variation at the top of your PHP page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$my_test = new phpab('my_test'); // set the name of the a/b test | |
$my_test->add_variation('my_variation', '<p>My alternative content</p>'); // add a variation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment