How to Extend Jquery and use it along the convert._$() library.

Sample Use Case

Let say that we want to test loading new images from a different CDN of what we currently use to see if this affects conversion.

We need to setup an AB experiment in which the new CDN is reflected on all the images that we want to load from the other service. 

This is just for illustrative purposes. The code has been tested, but not in a real case scenario. It is shown here so anybody can create their own Jquery libraries that work along Convert.


The following code extends the convert version of jquery and then users in on the convert._$ wrapper library:

See the Pen Extend Jquery and use with convert._$() by (@gcrewe) on CodePen.

Have more questions? Submit a request