The following use cases will help you determine which version of the VWO Smartcode you should add to the web pages you want to test:
- Use the VWO jQuery code (default code) snippet if the webpage you want to test does not have jQuery 1.4.2.
- Use the VWO code snippet without jQuery if your webpage already has jQuery version 1.4.2 or above till 2.x.x and make sure that jQuery is loaded before the VWO code. If the webpage has a higher version of jQuery, we recommended you to use VWO code with jQuery so VWO can load jQuery in a non-conflict mode.
Converting VWO jQuery Code Snippet into a Non-jQuery Code Snippet
To convert the VWO jQuery code snippet into a non-jQuery code snippet, you need to modify the Smartcode in your VWO Account. To configure asynchronous (async) code, refer to Asynchronous Smartcode in VWO and for synchronous (sync) code, refer to the Ways to Configure Your Smartcode.