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

feat: Support Naming Variants in Page Experiments Based on V2 Engine #78

Closed
wants to merge 13 commits into from

Conversation

FentPams
Copy link
Collaborator

Description:

This PR adds a new feature to the V2 engine that allows for naming variants in page experiments by adding metadata in the format | variant name | foo1, foo2 |. The variant names provided in the page metadata will be automatically matched with the corresponding variants.

Key Points:

  • The number of names provided does not need to match the number of variants.
  • If no names are provided, default names (control, challenger-1, challenger-2, etc.) will be used.
  • If fewer names are provided than the number of variants, the unnamed variants will be automatically named as challenger-[x] (where [x] is the variant index).
  • If more names are provided than the number of variants, the extra names will be ignored.

Demo:
Remove background project (1)
Remove background project (2)

Test URLs:

Xinyi Feng and others added 12 commits June 10, 2024 14:54
git-subtree-dir: plugins/experimentation
git-subtree-split: 33c326394030a65b47dcf328f9124bed1adeaff2
09f8a72 fix: pill css loading on localhost

git-subtree-dir: plugins/experimentation
git-subtree-split: 09f8a72796f1ca9daeb91e68c62ef4952f5c4254
638e0db fix: fragment content replacement
c61fdaf doc: update instrumentation details for plugin approach

git-subtree-dir: plugins/experimentation
git-subtree-split: 638e0db53a4fa7886ef9713acc853fc7b02c76be
Copy link

aem-code-sync bot commented Jun 25, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link

aem-code-sync bot commented Jun 25, 2024

Page Scores Audits Google
/drafts/vname/page PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

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