Skip to content

Instantly share code, notes, and snippets.

@cliftonc
Created July 5, 2017 14:36
Show Gist options
  • Save cliftonc/a0e1c73b77b0435f66599a56a9cda6ec to your computer and use it in GitHub Desktop.
Save cliftonc/a0e1c73b77b0435f66599a56a9cda6ec to your computer and use it in GitHub Desktop.
maurizio
var _vis_opt_heatmap = 0;if(!_vwo_code.finished() || _vis_opt_heatmap){clearTimeout(_vwo_settings_timer);
if(_vis_opt_heatmap && !document.getElementById('_vis_opt_path_hides')){var a=document.createElement('style');a.setAttribute('id','_vis_opt_path_hides');a.setAttribute('type','text/css');document.getElementsByTagName('head')[0].appendChild(a);}
var _vwo_acc_id=265077,_vwo_exp_ids=[],_vwo_exp={},_vwo_cookieDomain='tes.com';
_vwo_exp_ids.push('30');
_vwo_exp['30'] = {};
_vwo_exp['30'].name = "Clifton Test if it works";
_vwo_exp['30'].version = 2;
_vwo_exp['30'].clickmap = 0;
_vwo_exp['30'].type = 'VISUAL_AB';
_vwo_exp['30'].status = 'NOT_STARTED';
_vwo_exp['30'].pc_traffic = 100;
_vwo_exp['30'].url = 'https://www.tes.com/teaching-resource/python-cheat-sheet-10000100?asdcasdcsdc';
_vwo_exp['30'].urlRegex = "^https\\:\\\/\\\/tes\\.com\\\/teaching\\-resource\\\/python\\-cheat\\-sheet\\-10000100\\?asdcasdcsdc(?:#.*)?$";
_vwo_exp['30'].exclude_url = '';
_vwo_exp['30'].multiple_domains = 0;
_vwo_exp['30'].segment_code = 'true';
_vwo_exp['30'].sections = {};
_vwo_exp['30'].sections['1'] = {};
_vwo_exp['30'].sections['1'].name = "";
_vwo_exp['30'].sections['1'].path = "";
_vwo_exp['30'].sections['1'].variations = {};
_vwo_exp['30'].sections['1'].variation_names = {};
_vwo_exp['30'].sections['1'].segment = {};
_vwo_exp['30'].sections['1'].variation_names['1'] = "Control";
_vwo_exp['30'].sections['1'].variations['1'] = "[]";
_vwo_exp['30'].sections['1'].segment['1'] = '1';
_vwo_exp['30'].sections['1'].variation_names['2'] = "Variation-1";
_vwo_exp['30'].sections['1'].variations['2'] = "[{\"js\":\"var ctx=vwo_$(x),el;\\n\\\/*vwo_debug log(\\\"html\\\",\\\".l-position-context > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > p:nth-of-type(1)\\\"); vwo_debug*\\\/;\\nel=vwo_$(\\\".l-position-context > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > p:nth-of-type(1)\\\");\\nel.html(\\\"100% Off\\\");\",\"xpath\":\".l-position-context > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > p:nth-of-type(1)\"}]";
_vwo_exp['30'].sections['1'].segment['2'] = '1';
_vwo_exp['30'].combs = {};
_vwo_exp['30'].comb_n = {};
_vwo_exp['30'].combs['1'] = 0.5;
_vwo_exp['30'].comb_n['1'] = "Control";
_vwo_exp['30'].combs['2'] = 0.5;
_vwo_exp['30'].comb_n['2'] = "Variation-1";
_vwo_exp['30'].goals = {};
_vwo_exp['30'].goals['1'] = {};
_vwo_exp['30'].goals['1'].url = "body > div.l-container > section > main > div > div:nth-child(2) > div > section > div.l-position-context > div.hidden-xs > div > div.rdp-cta > div.rdp-cta__mobile.margin-bottom-sm-screen-sm > a";
_vwo_exp['30'].goals['1'].type = 'CLICK_ELEMENT';_vwo_exp['30'].third_party = {};
_vwo_exp['30'].debug = {"v":"2","d":0,"s":0,"tg":0,"t":0,"td":0,"l":0,"alh":0,"iple":0,"iho":0,"pahi":null,"cn":"undefined","app":"app","ts":1499265171265};
_vwo_exp['30'].previewHash = 'fbb359c7ba970f843d13b47d4c1c9b6a';var _vwo_style=document.getElementById('_vis_opt_path_hides'),_vwo_css='{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}';window._vwo_pc={t:25,a:25};var _vwo_text=".l-position-context > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > p:nth-of-type(1)"+_vwo_css;if(_vwo_style.styleSheet){_vwo_style.styleSheet.cssText=_vwo_text;}else{var _vwo_textnode=document.createTextNode(_vwo_text);_vwo_style.appendChild(_vwo_textnode);_vwo_style.removeChild(_vwo_style.childNodes[0]);}} else { window._vwo_settings_timed_out = 1; }
var _vis_opt_file = _vwo_code.use_existing_jquery() ? "vanj_debug-1499263200.js" : "va_debug-1499263200.js",
_vwo_library_timer = setTimeout('_vwo_code.finish()',_vwo_code.library_tolerance()),
_vis_opt_lib = '//dev.visualwebsiteoptimizer.com/'+_vis_opt_file;
_vwo_code.load(_vis_opt_lib);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment