Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update phpab.php #1

Merged
merged 1 commit into from
Feb 19, 2015
Merged

Update phpab.php #1

merged 1 commit into from
Feb 19, 2015

Conversation

mat-b-
Copy link
Owner

@mat-b- mat-b- commented Feb 19, 2015

New set_current_variation () function.

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']);
}

New set_current_variation () function.

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']);
}
mat-b- added a commit that referenced this pull request Feb 19, 2015
New set_current_variation () function.

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']);
}
@mat-b- mat-b- merged commit 45e266e into master Feb 19, 2015
@mat-b- mat-b- deleted the mat-b--patch-1 branch February 19, 2015 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant