Talk to a sales representative

+1 844-822-8378
or

Write to us

How to do self hosting of javascript files?

Posted in Technical Integration on

Self-Hosting of Javacsript files is recommended if you don’t want to rely on us to serve the files necessary to do the A/B Test.

In order to self-host, you must remove the existing tracking code we provide to you and instead use the two Javascript files you get when you choose to enable “Yes, I will self-host JavaScript files (displays the instructions)”.

The two files we provide are:

1. vwo_static.js

2. vwo_test_1.js where there can be any number instead of 1. This is a Test specific file so you need to download this file for each new test you want to self-host and update it on the smallest of change you make in the test settings.

Note: Make sure you download these files after you start the test.