-
Task
-
Resolution: Unresolved
-
Should have
-
None
-
None
-
2
-
Analytics
-
Sprint #250, Sprint #251, Sprint #252
-
telesto
Summary
We are starting to use VWO as an A/B testing tool on the GPI website, but are noticing a flicker that shows the wrong variation for a brief second. We avoided this when we used Google Optimize through the Anti-Flicker Snippet, but now that Google Optimize has been sunset, we need to update this snippet for VWO.
Requirements
- Add an Anti-Flicker template snippet to support VWO, same as we used to have for Google Optimize.
- Use the same option (checkbox) from
PLANET-7675. But adjust its description:- Help text: Adds a Content Security Policy exception for VWO and enables its anti-flicer mechanism. Don't enable this if you are A/B testing with other tools.
- This code snippet allows VWO to keep the body hidden while the changes
are being applied. It should be injected when the opt-in option above is enabled.vwo_$("body").vwoCss({"visibility":"visible !important"});