Cross_project_exp_duplication is a js script for dealing with cross project experiment duplication on Optimizely X Web.
- Node.js
- axios
- argv
- An Optimizely Token (from registered app) Profile > create token
$ npm install
- To get all of required libraries
node App.js --experiment_id=234234235 --project_id=34235235 --token=235q2246246346 --exp_name=some_name
--exp_name is optional and specifies a name for the duplicated experiment, defaults to "Transferred Experiment"
--experiment_id is the experiment you wish to duplicate (required)
--project_id is the project you wish to duplicate it to (required)
--token is the bearer token generated in Profile > API access within Optimizely
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.