Are you compatible with caching solutions like WP Rocket or full page caches
Yes!
All of your tests variations pre-rendered and hidden by default, enabling almost any kind of caching to work. When your page has loaded, the plug-in JavaScript does the work instantly and shows the correct variation.
FYI, this website is built using NGINX full page caching with WP rocket.
The only thing you need to watch out for is performance enhancements that delay javascript execution. WEhile that might make a website seem faster, it doesnt let us send events in the background.
In WP Rocket:
Admin > Settings > WP Rocket > File Optimization > Delay JavaScript Execution > Turn off (uncheck)

In Perfmatters:
Settings > Perfmatters > Assets > JavaScript >Under the “JavaScript” section, toggle OFF “Delay JavaScript.”
May 16, 2022 / /