close this to read article
VWO servers interact with your website through the SmartCode (JavaScript code snippet) which you have added to your web pages on which VWO tests and goals are running. VWO uses this code to implement any changes on your test pages and render them accordingly.
- The code snippet you add to your website pages contacts the VWO server whenever a visitor lands on a page where the VWO code is running.
- The VWO’s CDN decides which ones out of all the active tests are relevant for this page.
NOTE: If a test will actually run or not, it is computed in real-time on the visitors' browser. - There are two parts of a response—static JavaScript code for running the test and dynamic test-specific data. These responses are cached on the VWO server to minimize the response time. With code minification and gzipping, the duration of response decreases even further.
- The response from the server determines which DOM element on the control version should be replaced in the variations. For clicks, form submissions, or engagement goals, a VWO function binds the click event on the page that checks if a conversion has occurred.
- The website is rendered after the implemented changes are loaded onto the website, to be displayed to your visitors. All this happens in milliseconds behind the screen.