Skip to content

Commit

Permalink
add naming support for fragment experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
FentPams committed Jul 21, 2024
1 parent d9e9bc7 commit 3624f6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/experimentation/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ async function getExperimentConfig(pluginOptions, metadata, overrides) {
};
// get the custom labels for the variants names

const labelNames = stringToArray(metadata.variant ?? metadata.names);
pages.forEach((page, i) => {
const vname = `challenger-${i + 1}`;
// label with custom name or default
Expand Down

0 comments on commit 3624f6c

Please sign in to comment.