Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.

hyphengroup/vwo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dd18a52 · Jul 24, 2018
Apr 12, 2018
Jan 19, 2018
Dec 1, 2017
Jan 16, 2018
Apr 12, 2018
Nov 30, 2017
Nov 30, 2017
Nov 30, 2017
Dec 1, 2017
Nov 30, 2017
Jul 24, 2018
Jan 17, 2018

Repository files navigation

VWO Scripts for A / B Test

HK TI

landing_page

PH CI

landing_page

QUICK START

gulp start --src ./ph/ci/landing_page --app abTestApp

DEV JS & CSS files are served through https://rawgit.com

Whatever pushed in master branch will be reflected soon on CGG dev site.

PROD Copy the js from VWO DEV Campaign, and modify below part:

// from VWO DEV
vwo_$('head').append('<link rel="stylesheet" class="external-css-link" type="text/css" href="https://rawgit.com/compareasiagroup/vwo/master/hk/ti/landing_page/v1.css">');
vwo_$.getScript("https://rawgit.com/compareasiagroup/vwo/master/hk/ti/landing_page/v1.js" , function ( data, textStatus, jqxhr ) ...

to

vwo_$('head').append('<link rel="stylesheet" class="external-css-link" type="text/css" href="https://cdn.rawgit.com/compareasiagroup/vwo/9204df1/hk/ti/landing_page/v1.css">');
vwo_$.getScript("https://cdn.rawgit.com/compareasiagroup/vwo/9204df1/hk/ti/landing_page/v1.js" , function ( data, textStatus, jqxhr ) ...

Please note

  1. domain for PROD will be https://cdn.rawgit.com
  2. Use a specific tag or commit hash in the URL (not a branch). Files are cached permanently based on the URL. Query strings are ignored.

URL for PROD should be either with COMMIT_HASH or TAG