close this to read article
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.
INFO: If your account ID is higher than or equal to 460038, we do not serve you with the jQuery version 1.4.2. Instead, we serve you with a customized version that is five times smaller. We did this to ensure that your website remains performant enough while using VWO. Please read this blog to see what we did for this.
Accounts with IDs lower than the one specified above are unaffected and will continue to function normally.
Accounts with IDs lower than the one specified above are unaffected and will continue to function normally.
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.