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. While that might make a website seem faster, it doesn’t let us send events in the background. So its best to exclude our scripts from that feature.
Scripts to exclude:
- jquery.min.js
- bt_conversion.js
In WP Rocket:
- Admin > Settings > WP Rocket > File Optimization > Delay JavaScript Execution > Excluded JavaScript Files
- Add the 2 scripts above to your list.
- Settings > Perfmatters > Assets > JavaScript > Excluded scripts
- Add the 2 scripts above