Skip to content

New set_current_variation () function#15

Open
mat-b- wants to merge 2 commits into
briancray:masterfrom
mat-b-:master
Open

New set_current_variation () function#15
mat-b- wants to merge 2 commits into
briancray:masterfrom
mat-b-:master

Conversation

@mat-b-
Copy link
Copy Markdown

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

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']);
}
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']);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant