Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7676

Change Anti-Flicker Snippet to VWO

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Should have 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"});
        

      Resources

            oagbernd Osong Agberndifor
            mmarcott Molly Marcott
            Molly Marcott Molly Marcott
            Sagar Deshmukh Sagar Deshmukh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: