Code snippets
How to Reveal a Page After A/B Test Changes Load
★★★ Technical level 3 of 3
Written by Neil Webley · Last updated
Remove test hiding CSS as soon as a variant is ready.
What you need to know
Place Reveal Page after the variant changes. It removes the test-specific CSS identifier created by Hide Page.
How to use it safely
Fail open when optional work errors. If elements load later, use polling plus a short safety timeout rather than hiding indefinitely.
Before publishing
- Use Staging to test control and every variant.
- Check matching and non-matching locations.
- Verify mobile, desktop, accessibility and analytics behaviour.
- Ask someone else to review the setup.