Asynchronous VWO code loads in parallel to your webpage code and does not affect the loading time of your website. You can set the time for which the asynchronous script will wait for the page settings to load, using the variable settings_tolerance. If the page settings load within this time interval, the code requests the VWO library (va.js or vanj.js) from our CDN and waits for the file to load at the interval indicated by the variable library_tolerance else the VWO code on the page will show the control version (original version) instead.
You have the option to use the jQuery of your webpage instead of the VWO’s jQuery. This typically depends on the jQuery version of your webpage. If the jQuery version of your webpage is similar or higher than the one used by VWO, your page can use its own jQuery. Currently, the jQuery version used by VWO is 1.4.2. If the webpage has a higher version of jQuery, we recommend you to use VWO code with jQuery such that VWO can load jQuery in a non-conflict mode.
NOTE: As of now, the supported jQuery versions range from 1.4.2 to 2.x.x.
If you are already using jQuery on your webpage, and the version is in the
specified range, we recommend you to use the no Jquery version as it would
reduce the required bandwidth and would work faster.
To convert the VWO jQuery code snippet into a non-jQuery code snippet, set use_existing_jquery to true in your SmartCode. To learn about how to USE VWO for SPA's, refer to How to Use VWO for Single Page Applications
Custom URL Setup
If you do not wish to run the test on the actual URL, just add the following code snippet before your VWO SmartCode.
The Workflow of Asynchronous SmartCode in VWO