-
Notifications
You must be signed in to change notification settings - Fork 10
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
USF-1136 Docs for creating experiments #154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be worth noting what makes this work. Should we mention that the Edge Delivery Services Experimentation plugin comes pre-installed in the Edge Delivery Services for Commerce Boilerplate?
You can find some information about it from the README of the plugin: https://github.com/hlxsites/aem-boilerplate-commerce/blob/main/plugins/experimentation/README.md.
Yeah, definitely. I totally forgot to add info about that. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with some minor suggestions and general feedback for follow up PRs.
<Task> | ||
### Create an variant page for the experiment | ||
|
||
Duplicate the original page and make the necessary changes to create a new variant page for the experiment. Update any placeholder labels or content in the variant page to reflect the changes you want to test. For example, you can change the color of a button, update the text of a call-to-action, or rearrange the layout of the page. Save the variant page with a new name to distinguish it from the original page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider linking to the page about labels or adding "labels" to the vocabulary section since I think they're unique to drop-in components and that might not be clear to the uninitiated.
| Title | Cart | | ||
| Robots | noindex,nofollow | | ||
| Experiment | CART001 | | ||
| Experiment Variants | https://marketer-demo---aem-boilerplate-commerce--hlxsites.aem.page/drafts/marketer/cart-new | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this meant to resolve? If not, let's wrap it in backticks to prevent rendering as a link.
<Task> | ||
### Add the experiment to the original page | ||
|
||
Add the experiment to the metadata block of the original page by adding the experiment name and the URL to the experiment page. For example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming that this is intentionally vague, but it would be good to follow up with some specific examples of experimentation. There was at least one example in the GA demo, though I don't recall specifically what it was.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On it!
Co-authored-by: Jeff Matthews <[email protected]>
@jeff-matthews and @fnhipster Thanks, guys! It's much improved after your changes and suggestions! |
This PR adds MVP documentation for how to create A/B experiments in the storefront.
Preview: