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

DON-888 – A/B testing setup + proof of concept #1322

Merged
merged 6 commits into from
Oct 4, 2023
Merged

Conversation

NoelLH
Copy link
Contributor

@NoelLH NoelLH commented Oct 2, 2023

No description provided.

@NoelLH NoelLH self-assigned this Oct 2, 2023
NoelLH added 3 commits October 3, 2023 16:29
* remove placeholder element
* make headline copy A/B test variable
* make expansion panel detail copy A/B test variable
@NoelLH NoelLH marked this pull request as ready for review October 3, 2023 16:34
Copy link
Contributor

@dorota-joanna dorota-joanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +292 to +302
activate: (_event: any) => {
// No change from the original form.
console.log('Original test variant active!');
}
},
{
name: environment.matomoAbTest.variantName,
activate: (_event: any) => {
this.alternateCopy = true;
console.log('Copy B test variant active!');
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
activate: (_event: any) => {
// No change from the original form.
console.log('Original test variant active!');
}
},
{
name: environment.matomoAbTest.variantName,
activate: (_event: any) => {
this.alternateCopy = true;
console.log('Copy B test variant active!');
}
activate: (_event: unknown) => {
// No change from the original form.
}
},
{
name: environment.matomoAbTest.variantName,
activate: (_event: unknown) => {
this.alternateCopy = true;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I mentioned on Jira, I think I'd rather keep browser logs on activation, at least for now, to make sure we can diagnose any behaviour we're not expecting.

@NoelLH NoelLH merged commit f85ea73 into develop Oct 4, 2023
3 checks passed
@NoelLH NoelLH deleted the DON-888-ab-test branch October 4, 2023 16:11
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.

3 participants