We are doing website A/B testing where we are modi...
# experimentation
c
We are doing website A/B testing where we are modifying page content for each variation (through the visual editor). Can we create multiple variations through the API? Right now we are using the interface
r
Hi Harshit, good afternoon! Yes you can create multiple variations on an experiment when creating an experiment using the API
It is a requirement to submit a variations key consisting of an array of objects for each variant and you'll need to submit atleast 2 :
c
How do we send the varying Dom elements for each Variation?
r
Unsure what values are accepted as values for the variation. Let me check this with the team......
c
Ok. Please check. These DOM values we want to modify through the API.
r
Hi Harshit, good morning and thank you for your patience. Unfortunately, the API does not support DOM values in the variations param. What the API will do is create an experiment on the UI and you can then edit the experiment on the UI using the visual editor or similar to set the variation values.
c
Is that a feature in the pipeline. ?
Or any expected ETA?
r
Sorry I do not have better news for you today on this feature being currently supported. As the API is fairly new(ish), you may wish to log a product gap here< >for this functionality so that other customers can upvote it and to have it on the Engineering teams radar.
Unfortunately, this is not a feature in the pipeline at this time and it is the first product gap we have received for this exact feature. No other customer has asked the same as of yet.
c
Ok. If it cannot be done through API, can we do it through csv or excel upload? Creating bulk variations, with minor changes in content
r
This would be a product gap, I'm afraid. You'll need to configure the DOM mutations for the variations using the UI.
c
Ok. Thanks.
🙏 1