This document describes a technique for eliminating webpage flickering during A/B testing, also known as split or bucket testing, without delaying webpage load times. An asynchronous-hide snippet embedded into a webpage hides the whole webpage during the asynchronous loading of an A/B testing tools’ optimization scripts. A snippet includes an end-of-hiding function to unhide the webpage, a timer to remove the function, and a globally accessible data structure to identify other scripts or clients. A separate endHide function invoked on start-up implements an un-hiding protocol, ensures snippet availability and script registration, marks the data structure to indicate the script hiding status, and removes the end-of-hiding function.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.