I hate when the original hero image jumps around because the experiment script finally kicks in. It makes the site feel broken and kills any trust you have with the user. I've started adding a tiny bit of CSS to the base stylesheet that hides the specific element being tested until the library is ready. Just use a class like 'is-loading' on your main containers.
.ab-test-element {opacity: 0;visibility: hidden;}.ab-test-element.is-ready {opacity: 1;visibility: visible;}Then you just toggle that class in your experiment code once the new version is injected. It's
much cleaner than seeing a massive flash of unstyled content every time someone lands on the page. Works best if you handle it via a quick mutation observer or just a simple script at the top of the head.