Hi guys, we’re trying to use the new JS feature of the Visual Editor to build AB tests with GTM. We’re having some difficulties so would appreciate any help! 🙏
We’re trying to get an initial experiment live so we can test this feature fully and serve an AB experience to users. We’ve followed
this post to setup the SDK and connect it to GTM. It doesn’t really detail how to use experiments with the Visual Editor and GTM, so was wondering if anyone could point us in the right direction?
We’ve added some JS and CSS to an experiment with the Visual Editor and started it running (100% traffic to the variant with our changes). It’s
mentioned that Visual Editor experiments should automatically run when targeting conditions are met. When using the dev tool Chrome extension, it doesn’t list any experiment as running. It is connecting to Growthbook successfully and we can see an object being returned.
Is there something else we need to add/enable to show this experiment on our site? We’re just trying to run a simple JS console log and CSS change in the variant. I’ve made sure to tick the checkbox so our SDK connection includes visual experiments in endpoint’s response. Do we need to add an activation metric? We’ve tried adding a new metric in the UI but it didn’t show in the activation metric dropdown in the experiment. Do we have to add a feature flag to get this experiment to show?