Do not include jQuery into the tracking scripts

This Article Will Help You:


Improve the loading time of your website

Part of the duties of running a website is to keep an eye on the loading time of your pages, while reducing the amount and size of the files that you are sending to its users.

Convert serves its code from a blazing fast CDN. Even though, Convert Experiments will only drop your speed by an average 1%, a drop that can be easily outdone by the conversion improvements you will achieve by doing the A/B testing.

However, we understand that you will try to maximize the speed of your website, as much as possible, even while performing this tests. So, one action that will help you achieve this, is by avoiding sending jQuery code library twice. 

Convert utilizes the jQuery code library to implement the experiments that you run on your website. However, if you are already have included jQuery in the libraries that you send to your users, you might want to configure your project in Convert to stop sending the library. 

The jQuery library holds a size of 28kb. So, in a matter, where every little counts to improve your loading time, you might as well do it.

Configuring Convert to Stop Including the jQuery library

WARNING: However, if you do configure Convert to stop sending the jQuery library and you don't include them within your website files, then the Convert Experiment WILL NOT RUN!

First, you will have to include jQuery before Convert Experiments tracking code.

Then to disable Convert Experiments including the jQuery code, you will have to change the project configuration where your experiment is contained. Follow the method shown next.

First go to the Projects screen where all your projects are listed.

 

Once in the Project Panel, select the Project you want and then go to the Project Configuration. On the More Settings click on the "Do not include jQuery" option:

 

You are done. Convert Experiments will stop including the jQuery library.