");vwo_$('head').append(_vwo_sel);return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("HEAD")}}, R_6_1315_1_2_0:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var ctx=vwo_$(x),el;
/*vwo_debug log("Revert","content",""); vwo_debug*/;
el=vwo_$('[vwo-element-id="1745914511056"]');
el.revertContentOp().remove();})("HEAD")}}, C_6_1315_1_2_1:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("visibility",".search-full > input:nth-of-type(2)"); vwo_debug*/(el=vwo_$(".search-full > input:nth-of-type(2)")).vwoCss({visibility:"hidden !important"}),el.vwoCss({transition:"none !important"}),(el=vwo_$("#js-header-form")).vwoCss({visibility:"hidden !important"});})("#js-header-form")}}, R_6_1315_1_2_1:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","visibility","#js-header-form"); vwo_debug*/(el=vwo_$("#js-header-form")).vwoRevertCss(),(el=vwo_$(".search-full > input:nth-of-type(2)")).vwoRevertCss(),el.vwoRevertCss();})("#js-header-form")}}, C_6_1315_1_2_2:{ fn:function(log,nonce=''){return (function(x) {})("#intercom-container, .intercom-lightweight-app")}}, R_6_1315_1_2_2:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
})("#intercom-container, .intercom-lightweight-app")}}, C_6_1315_1_3_0:{ fn:function(log,nonce=''){return (function(x) {;var _vwo_sel=vwo_$("");vwo_$('head').append(_vwo_sel);return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("HEAD")}}, R_6_1315_1_3_0:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var ctx=vwo_$(x),el;
/*vwo_debug log("Revert","content",""); vwo_debug*/;
el=vwo_$('[vwo-element-id="1745914511061"]');
el.revertContentOp().remove();})("HEAD")}}, C_6_1315_1_3_1:{ fn:function(log,nonce=''){return (function(x) {
try{
var _vwo_sel = vwo_$("`);
!vwo_$("head").find('#1745914511066').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);}
try{}catch(e) {VWO._.vAEH(e);}
try{document.querySelector(".feedback-btn").addEventListener("click",(function(){window.VWO=window.VWO||[],VWO.event=VWO.event||function(){VWO.push(["event"].concat([].slice.call(arguments)))},VWO.event("alfredNotHelpfullClick",{notHelpful:!0,details:"HelpfulNotHelful button clicked."})}));}catch(e) {VWO._.vAEH(e);}
return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_6_1315_1_3_2:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("visibility","#js-header-form"); vwo_debug*/(el=ctx).vwoCss({visibility:"hidden !important"});})("#js-header-form")}}, R_6_1315_1_3_2:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","visibility","#js-header-form"); vwo_debug*/(el=ctx).vwoRevertCss();})("#js-header-form")}}, C_6_1315_1_3_3:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("editElement",".user-input-container > textarea:nth-of-type(1)"); vwo_debug*/(el=ctx).vwoAttr({placeholder:"save time, ask VWO AI ✨"}),(el=ctx).vwoAttr({placeholder:"save time → ask VWO AI✨"}),(el=ctx).vwoAttr({placeholder:"save time → ask VWO AI⚡"});})(".user-input-container > textarea:nth-of-type(1)")}}, R_6_1315_1_3_3:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","editElement",".user-input-container > textarea:nth-of-type(1)"); vwo_debug*/(el=ctx).vwoRevertAttr(),(el=ctx).vwoRevertAttr(),(el=ctx).vwoRevertAttr();})(".user-input-container > textarea:nth-of-type(1)")}}, C_6_1315_1_3_4:{ fn:function(log,nonce=''){return (function(x) {})("#intercom-container, .intercom-lightweight-app")}}, R_6_1315_1_3_4:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
return;
};
})("#intercom-container, .intercom-lightweight-app")}}, GL_6_1315_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, GL_6_1315_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, ct_82a2a51205e7bf4fd8e7fa84619782f3:{ fn:function(executeTrigger, vwo_$) {
(function(){setTimeout((function(){var t=document.querySelector("[vwo-widget-id='1704269806008']");t&&function(){var t=window._vwo_handleMutations||function(t,e){e()},e=this.querySelector(".vwo-video-iframe");e.getAttribute("src")||t(this,function(){var t,i;void 0!==(t=(t="https://www.youtube.com/watch?v=Lrc2kFqnASQ").replace(/(>|<)/gi,i="").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/))[2]&&(i=(i=t[2].split(/[^0-9a-z_\-]/i))[0]),e.src="https://www.youtube.com/embed/"+i+"?"}.bind(this))}.bind(t)()})),setTimeout((function(){document.dispatchEvent(new Event('vwo_widget_added_1704269806008'));var t=document.querySelector('#vwo-widget-1704269806008');t&&window._vwo_handleMutations&&window._vwo_handleMutations(t,(function(){t.style.setProperty('visibility','visible')}))}))})()
}}, GL_6_1509_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, GL_6_1509_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){try{!function(){try{var e=function(e){return Object.keys(e).find((function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")}))},t=function(e,t){if(e&&t)return e[t]},n=function(e,t,n){var i=(i=e.nodeName)&&i.toLowerCase();t.stateNode=e,t.child=null,t.tag=e.nodeType===Node.ELEMENT_NODE?5:6,t.type&&(t.type=t.elementType="vwo-"+i),t.alternate&&(t.alternate.stateNode=e),e[n]=t},i=function(e,t){var n=Date.now();!function i(){var o=Object.keys(t).find((function(e){return e.startsWith("__reactProps$")}))||"",r=Date.now();if(o&&t[o])switch(e.name){case"href":t[o].href=e.value;break;case"onClick":t[o].onClick&&delete t[o].onClick;break;case"onChange":t[o].onChange&&t[o].onChange({target:t})}o||3e3=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var pollInterval=100;var timeout=6e4;return function(){var accountIntegrationSettings={};var _interval=null;function waitForAnalyticsVariables(){try{accountIntegrationSettings=argument.valuesGetter();accountIntegrationSettings.visitorUuid=getVisitorUuid()}catch(error){accountIntegrationSettings=undefined}if(accountIntegrationSettings&&argument.verifyData(accountIntegrationSettings)){argument.valuesSetter(accountIntegrationSettings);return 1}return 0}var currentTime=0;_interval=setInterval((function(){currentTime=currentTime||performance.now();var result=waitForAnalyticsVariables();if(result||performance.now()-currentTime>=timeout){clearInterval(_interval)}}),pollInterval)}};
commonWrapper({valuesGetter:function(){return {"ga4s":0}},valuesSetter:function(data){var singleCall=data["ga4s"]||0;if(singleCall){window.sessionStorage.setItem("vwo-ga4-singlecall",true)}var ga4_device_id="";if(typeof window.VWO._.cookies!=="undefined"){ga4_device_id=window.VWO._.cookies.get("_ga")||""}if(ga4_device_id){window.vwo_ga4_uuid=ga4_device_id.split(".").slice(-2).join(".")}},verifyData:function(data){if(typeof window.VWO._.cookies!=="undefined"){return window.VWO._.cookies.get("_ga")||""}else{return false}}})();
var pushBasedCommonWrapper=function(argument){var firedCamp={};if(!argument){argument={integrationName:"",getExperimentList:function(){},accountSettings:function(){},pushData:function(){}}}return function(){window.VWO=window.VWO||[];var getVisitorUuid=function(){if(window._vwo_acc_id>=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var sendDebugLogsOld=function(expId,variationId,errorType,user_type,data){try{var errorPayload={f:argument["integrationName"]||"",a:window._vwo_acc_id,url:window.location.href,exp:expId,v:variationId,vwo_uuid:getVisitorUuid(),user_type:user_type};if(errorType=="initIntegrationCallback"){errorPayload["log_type"]="initIntegrationCallback";errorPayload["data"]=JSON.stringify(data||"")}else if(errorType=="timeout"){errorPayload["timeout"]=true}if(window.VWO._.customError){window.VWO._.customError({msg:"integration debug",url:window.location.href,lineno:"",colno:"",source:JSON.stringify(errorPayload)})}}catch(e){window.VWO._.customError&&window.VWO._.customError({msg:"integration debug failed",url:"",lineno:"",colno:"",source:""})}};var sendDebugLogs=function(expId,variationId,errorType,user_type){var eventName="vwo_debugLogs";var eventPayload={};try{eventPayload={intName:argument["integrationName"]||"",varId:variationId,expId:expId,type:errorType,vwo_uuid:getVisitorUuid(),user_type:user_type};if(window.VWO._.event){window.VWO._.event(eventName,eventPayload,{enableLogs:1})}}catch(e){eventPayload={msg:"integration event log failed",url:window.location.href};window.VWO._.event&&window.VWO._.event(eventName,eventPayload)}};var callbackFn=function(data){if(!data)return;var expId=data[1],variationId=data[2],repeated=data[0],singleCall=0,debug=0;var experimentList=argument.getExperimentList();var integrationName=argument["integrationName"]||"vwo";if(typeof argument.accountSettings==="function"){var accountSettings=argument.accountSettings();if(accountSettings){singleCall=accountSettings["singleCall"];debug=accountSettings["debug"]}}if(debug){sendDebugLogs(expId,variationId,"intCallTriggered",repeated)}if(singleCall&&(repeated==="vS"||repeated==="vSS")||firedCamp[expId]){return}window.expList=window.expList||{};var expList=window.expList[integrationName]=window.expList[integrationName]||[];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(_vwo_exp[expId].type)>-1){if(experimentList.indexOf(+expId)!==-1){firedCamp[expId]=variationId;var visitorUuid=getVisitorUuid();var pollInterval=100;var currentTime=0;var timeout=6e4;var user_type=_vwo_exp[expId].exec?"vwo-retry":"vwo-new";var interval=setInterval((function(){if(expList.indexOf(expId)!==-1){clearInterval(interval);return}currentTime=currentTime||performance.now();var toClearInterval=argument.pushData(expId,variationId,visitorUuid);if(debug&&toClearInterval){sendDebugLogsOld(expId,variationId,"",user_type);sendDebugLogs(expId,variationId,"intDataPushed",user_type)}var isTimeout=performance.now()-currentTime>=timeout;if(isTimeout&&debug){sendDebugLogsOld(expId,variationId,"timeout",user_type);sendDebugLogs(expId,variationId,"intTimeout",user_type)}if(toClearInterval||isTimeout){clearInterval(interval)}if(toClearInterval){window.expList[integrationName].push(expId)}}),pollInterval||100)}}};window.VWO.push(["onVariationApplied",callbackFn]);window.VWO.push(["onVariationShownSent",callbackFn])}};
var surveyDataCommonWrapper=function(argument){if(!argument){argument={getCampaignList:function(){return[]},surveyStatusChange:function(){},answerSubmitted:function(){}}}return function(){window.VWO=window.VWO||[];function getValuesFromAnswers(answers){var values=[];for(var i=0;i=timeout;if(toClearInterval||isTimeout){clearInterval(interval)}}),pollInterval)}}window.VWO.push(["onSurveyShown",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyShown")}]);window.VWO.push(["onSurveyCompleted",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyCompleted")}]);window.VWO.push(["onSurveyAnswerSubmitted",function(data){commonSurveyCallback(data,argument.answerSubmitted,"surveySubmitted")}])}};
(function(){var VWOOmniTemp={};window.VWOOmni=window.VWOOmni||{};for(var key in VWOOmniTemp)Object.prototype.hasOwnProperty.call(VWOOmniTemp,key)&&(window.VWOOmni[key]=VWOOmniTemp[key]);window._vwoIntegrationsLoaded=1;pushBasedCommonWrapper({integrationName:"GA4",getExperimentList:function(){return [1300,1426,1590,1716,1670]},accountSettings:function(){var accountIntegrationSettings={"singleCall":0,"debug":0,"setupVia":"gtm","dataVariable":"dataLayer","manualSetup":true,"debugType":"ga4"};if(accountIntegrationSettings["debugType"]=="ga4"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"singleCall":0,"debug":0,"setupVia":"gtm","dataVariable":"dataLayer","manualSetup":true,"debugType":"ga4"};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtag";if(typeof window.gtag!=="undefined"&&ga4Setup=="gtag"){window.gtag("event","VWO",{vwo_campaign_name:window._vwo_exp[expId].name+":"+expId,vwo_variation_name:window._vwo_exp[expId].comb_n[variationId]+":"+variationId});window.gtag("event","experience_impression",{exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})();pushBasedCommonWrapper({integrationName:"GA4-GTM",getExperimentList:function(){return [1300,1426,1590,1716,1670]},accountSettings:function(){var accountIntegrationSettings={"singleCall":0,"debug":0,"setupVia":"gtm","dataVariable":"dataLayer","manualSetup":true,"debugType":"ga4"};if(accountIntegrationSettings["debugType"]=="gtm"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"singleCall":0,"debug":0,"setupVia":"gtm","dataVariable":"dataLayer","manualSetup":true,"debugType":"ga4"};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtm";var dataVariable=accountIntegrationSettings["dataVariable"]||"dataLayer";if(typeof window[dataVariable]!=="undefined"&&ga4Setup=="gtm"){window[dataVariable].push({event:"vwo-data-push-ga4",vwo_exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})();
pushBasedCommonWrapper({integrationName:"mixpanel",getExperimentList:function(){return [1590,1716,1670]},accountSettings:function(){return {"enableSendingInsightsData":false,"enableSendingData":true,"enableTargetingCohorts":true}},pushData:function(expId,variationId,visitorUuid){var _vis_data={mixpanel:{}};if(window.mixpanel&&window.mixpanel.track){if(!window.uuidSet){window.mixpanel.people.set({$vwo_user_id:visitorUuid||""});window.uuidSet=true}var vwo_account_id=window._vwo_acc_id;if(vwo_account_id!=565905){_vis_data["mixpanel"]["VWO-Test-ID-"+expId]=window._vwo_exp[expId].comb_n[variationId];_vis_data["mixpanel"]["experiments"]=_vis_data["mixpanel"]["experiments"]||[];_vis_data["mixpanel"]["experiments"].push({eN:window._vwo_exp[expId].name,vN:window._vwo_exp[expId].comb_n[variationId]});window.mixpanel.track("VWO",_vis_data["mixpanel"])}window.mixpanel.track("$experiment_started",{"Experiment name":window._vwo_exp[expId].name,"Variant name":window._vwo_exp[expId].comb_n[variationId]});_vis_data["mixpanel"]={};return true}return false}})();
;})();(function(){window.VWO=window.VWO||[];var pollInterval=100;var _vis_data={};var intervalObj={};var analyticsTimerObj={};var experimentListObj={};window.VWO.push(["onVariationApplied",function(data){if(!data){return}var expId=data[1],variationId=data[2];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(window._vwo_exp[expId].type)>-1){}}])})();;
;var vD=VWO.data||{};VWO.data={content:{"fns":{"list":{"vn":1,"args":{"1":{"66eadaa19204c":"1726667426"}}}}},as:"r6.visualwebsiteoptimizer.com",dacdnUrl:"https://dev.visualwebsiteoptimizer.com",accountJSInfo:{"ts":1747193450,"noSS":false,"pc":{"a":100,"t":100},"pvn":0,"gC":[{"c":[850,851,852],"t":1,"id":2,"et":1},{"c":[779],"t":1,"id":3,"et":1},{"c":[830,825],"t":1,"id":4,"et":1},{"c":[862],"t":1,"id":5,"et":1},{"c":[891,906],"t":1,"id":6,"et":1},{"c":[904,907],"t":1,"id":7,"et":1},{"c":[943,954],"t":1,"id":8,"et":1},{"c":[956,944],"t":1,"id":9,"et":1},{"c":[982,1175],"t":1,"id":10,"et":1},{"c":[1272,1271,1274,1270],"t":1,"id":12,"et":1}],"frn":{"dc":{"bl":"#content > div.Fz\\(\\$font-size-18\\).C\\(\\$color-black-light-3\\).Lts\\(0\\).Mt\\(-80px\\) > section.Px\\(50px\\)--md.Bxz\\(bb\\) > div > div > div:nth-child(4) > div"}},"mrp":100,"url":{},"rp":3710}};for(var k in vD){VWO.data[k]=vD[k]};(function(){ try {window._vwoCc = { sGifDelay: 10 }} catch(e){ } })();var gcpfb=function(a,loadFunc,status,err,success){function vwoErr() {_vwo_err({message:"Google_Cdn failing for " + a + ". Trying Fallback..",code:"cloudcdnerr",status:status});} if(a.indexOf("/cdn/")!==-1){loadFunc(a.replace("cdn/",""),err,success); vwoErr(); return true;} else if(a.indexOf("/dcdn/")!==-1&&a.indexOf("evad.js") !== -1){loadFunc(a.replace("dcdn/",""),err,success); vwoErr(); return true;}};window.VWO=window.VWO || [];window.VWO._= window.VWO._ || {};window.VWO._.gcpfb=gcpfb;;var d={cookie:document.cookie,URL:document.URL,referrer:document.referrer};var w={VWO:{_:{}},location:{href:window.location.href,search:window.location.search},_vwoCc:window._vwoCc};window._vis_apm_lib = 'apmLib-6714f451f163c90fca5f6e957275187fbr.js';window._vwo_cdn="https://dev.visualwebsiteoptimizer.com/cdn/";window._vwo_apm_debug_cdn="https://dev.visualwebsiteoptimizer.com/cdn/";window.VWO._.useCdn=true;window.vwo_eT="br";window._VWO=window._VWO||{};window._VWO.fSeg=["1499"];window._VWO.dcdnUrl="/dcdn/settings.js";window.VWO.sTs=1747156461;window._VWO._vis_nc_lib=window._vwo_cdn+"edrv/nc-2a5e290114e096e446eaef11c2b42ac2.br.js";var loadWorker=function(url){_vwo_code.load(url, { dSC: true, onloadCb: function(xhr,a){window._vwo_wt_l=true;if(xhr.status===200 ||xhr.status===304){var code="var window="+JSON.stringify(w)+",document="+JSON.stringify(d)+";window.document=document;"+xhr.responseText;var blob=new Blob([code||"throw new Error('code not found!');"],{type:"application/javascript"}),url=URL.createObjectURL(blob);window.mainThread={webWorker:new Worker(url)};window.vwoChannelFW=new MessageChannel();window.vwoChannelToW=new MessageChannel();window.mainThread.webWorker.postMessage({vwoChannelToW:vwoChannelToW.port1,vwoChannelFW:vwoChannelFW.port2},[vwoChannelToW.port1, vwoChannelFW.port2]);if(!window._vwo_mt_f)return window._vwo_wt_f=true;_vwo_code.addScript({text:window._vwo_mt_f});delete window._vwo_mt_f}else{if(gcpfb(a,loadWorker,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a)}}, onerrorCb: function(a){if(gcpfb(a,loadWorker)){return;}window._vwo_wt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadWorker("https://dev.visualwebsiteoptimizer.com/cdn/edrv/worker-e94512e06ec724b92513f0b4ae3131fa.br.js");;var _vis_opt_file;var _vis_opt_lib;if(window.VWO._.allSettings.dataStore.previewExtraSettings!=undefined&&window.VWO._.allSettings.dataStore.previewExtraSettings.isSurveyPreviewMode){var surveyHash=window.VWO._.allSettings.dataStore.plugins.LIBINFO.SURVEY_DEBUG_EVENTS.HASH;var param1="evad.js?va=";var param2="&d=debugger_new";var param3="&sp=1&a=6&sh="+surveyHash;_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?param1+"vanj"+param2:param1+"va_gq"+param2:param1+"edrv/va_gq-4dc55c9877c3968efbc635f02ae15977.br.js"+param2;_vis_opt_file=_vis_opt_file+param3;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/dcdn/"+_vis_opt_file}else if(window.VWO._.allSettings.dataStore.mode!=undefined&&window.VWO._.allSettings.dataStore.mode=="PREVIEW"){ var path1 = 'edrv/pd_'; var path2 = window.VWO._.allSettings.dataStore.plugins.LIBINFO.EVAD.HASH + ".js"; ;_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?path1+"vanj.js":path1+"va_gq"+path2:path1+"edrv/va_gq-4dc55c9877c3968efbc635f02ae15977.br.js"+path2;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/cdn/"+_vis_opt_file}else{_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?"edrv/vanj-6649ba2eed5c3be0cbd65647f74aabdb.br.js":"edrv/va_gq-4dc55c9877c3968efbc635f02ae15977.br.js":"edrv/va_gq-4dc55c9877c3968efbc635f02ae15977.br.js"}window._vwo_library_timer=setTimeout((function(){vwoCode.removeLoaderAndOverlay&&vwoCode.removeLoaderAndOverlay();vwoCode.finish()}),vwoCode.library_tolerance&&typeof vwoCode.library_tolerance()!=="undefined"?vwoCode.library_tolerance():2500),_vis_opt_lib=typeof _vis_opt_lib=="undefined"?window._vwo_cdn+_vis_opt_file:_vis_opt_lib;var loadLib=function(url){_vwo_code.load(url, { dSC: true, onloadCb:function(xhr,a){window._vwo_mt_l=true;if(xhr.status===200 || xhr.status===304){if(!window._vwo_wt_f)return window._vwo_mt_f=xhr.responseText;_vwo_code.addScript({text:xhr.responseText});delete window._vwo_wt_f;}else{if(gcpfb(a,loadLib,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a);}}, onerrorCb: function(a){if(gcpfb(a,loadLib)){return;}window._vwo_mt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadLib(_vis_opt_lib);VWO.load_co=function(u,opts){return window._vwo_code.load(u,opts);};;;}}catch(e){_vwo_code.finish();_vwo_code.removeLoaderAndOverlay&&_vwo_code.removeLoaderAndOverlay();_vwo_err(e);window.VWO.caE=1}})();
VWO
Integrations
Tag Manager
Integrating VWO With Google Universal Analytics Using Google Tag Manager (Custom Events)
close this to read article
In this article, you’ll learn:
Integrating VWO with Google Tag Manager (GTM) enables you to push your VWO campaign data to Google Universal Analytics (UA) and other analytics tools.
NOTE: If the deprecated synchronous SmartCode is installed on your webpage, the integration will not work.
You can push VWO data to UA by using GTM in the following two ways:
Set a custom dimension at the user level and build custom reports. This is the default method and requires you to create a different tag, variable, and trigger for every VWO test. To learn how to do this, refer to Integrating VWO with UA via Google Tag Manager (Custom Dimensions) .
Create data layer variables to push every test and variation data as events through GTM tags. This is a one-time integration process to avoid setting up separate data layer variables and custom dimensions for every campaign. Setting up this integration is a four-step process:
Create Data Layer Variable
To get started with GTM integration, log in to your GTM account and create the following four data layer variables with the default value as 0. These variables are used in later steps to create tags and define triggers for events to execute.
CampaignId
For the campaignId field, configure the following:
Title: Cid
Data Layer Variable Name: CampaignId .
Data Layer Version: Version 1 .
Set Default Value: Check the option, and then enter the value as 0 (zero).
VariationId
For the variationId field, configure the following:
Title: Vid
Data Layer Variable Name: VariationId .
Data Layer Version: Version 1 .
Set Default Value: Select the option and enter the value as 0 (zero).
VariationName
For the variationName field, configure the following:
Title: Vname
Data Layer Variable: VariationName .
Data Layer Version: Version 1 .
Set Default Value: Select the option, and then select the value as 0 (zero).
CampaignName
For the campaignName field, configure the following:
Title: CName
Data Layer Variable: CampaignName .
Data Layer Version: Version 1 .
Set Default Value: Select the option, and then type the value as 0 (zero).
Create Firing Rules for the Event
Also known as Triggers, firing rules are conditions that evaluate to either fire or not fire an event to the tags. Create the following two event rules that will enable VWO to push campaign data to GTM.
Create a firing rule for the Campaign ID data variable by configuring the following fields:
Trigger Name: VWO Generic
Under Trigger type, select Custom Event .
NOTE: Click the Custom Event textbox and wait for the options to appear. Now select the one you want.
Put the Event Name as VWO. The event name must always be VWO.
NOTE: This event is stored in VWO libraries and pushed when the GTM integration is enabled for the test.
For the field, This trigger fires on, select Some Custom Events .
For the next field, select the CampaignId variable created already (Cid), and then the condition equals 0(zero).
Create another firing rule for the Campaign ID and Variation ID data variables by configuring the following fields:
Trigger Name: VWO Data Push
Under Trigger type, select Custom Event .
NOTE: Click the Custom Event textbox and wait for the options to appear. Now select the one you want.
Write the Event name as VWO-data-push . The event name must always be VWO-data-push.
For the field, This trigger fires on, select Some Custom Events .
For the next field, select the CampaignId (Cid) and VariationId (Vid) variables, and then set the condition as does not equal 0 (zero).
Create GTM Tags
Tags are code snippets that finally push the data captured by the variables and fired by the triggers to your analytics tool, such as Google Analytics. To complete the process in the GTM dashboard, create the following two tags:
VWO-GTM-Integration:
Click Tags in the GTM dashboard, and then select New .
Edit Tag Configuration , and then select the Custom HTML tag option.
Enter the following custom code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type = "text/javascript" >
/* VWO GTM integration code starts */
(function() {
window.VWO = window.VWO || [];
window.dataLayer = window.dataLayer || [];
window.VWO.push(['onVariationApplied', function(data) {
if (!data) {
return;
}
var expId = data[1],
variationId = data[2];
if (typeof(_vwo_exp[expId].comb_n[variationId]) !== 'undefined' && _vwo_exp[expId].GTM) {
window.dataLayer.push({
"CampaignId": expId,
"CampaignName": _vwo_exp[expId].name,
"VariationId": variationId,
"VariationName": _vwo_exp[expId].comb_n[variationId]
});
window.dataLayer.push({
event: 'VWO-data-push'
});
}
}]);
})();
/* VWO GTM integration code ends */
</script>
NOTE: If you're using any variable other than "dataLayer", you need to replace the instances of "dataLayer" correspondingly.
VWO-UA-Integration:
Click Tags in the GTM dashboard, and then select New .
Edit Tag Configuration , and then select the Universal Analytics tag option.
In Track Type, select Event .
In Category , select VWO .
Action: {{Cid}}:{{CName}}
Label: {{Vid}}:{{Vname}}
Value: Leave Empty
Non-Interaction Hit: True
Select Enable overriding settings in this tag option
Tracking ID: In this field, enter the tracking ID of the data you want to push. For example, in our case, the UA tracking ID could be UA-1234567-1.
Triggering : Select VWO Data Push trigger.
NOTE: If your website is a Single Page Application (SPA), you may observe misattribution of traffic source in Google Analytics(GA). To resolve this, refer to
this blog .
This is a one-time integration to push all your test data by using GTM tags. You must also enable the GTM Integration option for the tests. To view the data in your Analytics account, please set up the following segment:
Procedure
Log in to your Analytics account.
From the panel on the left, go to Audience > Overview .
Add a segment by click on +Add Segment > New Segment .
From the top right corner, specify the dates where the campaign was running.
Specify the conditions by clicking on Conditions > Users .
Select Event Action from the first drop-down and select Contains operation from the second one. Now click on the blank field to select the campaign name from the auto-populated list.
Select the AND operator to add an Event Label
Select Event Label from the first drop-down and select Contains operation from the second one. Now click on the blank field to select the variant name from the auto-populated list.
NOTE: You can select each one of them one by one to see the respective data being tracked for respective variations.
Enable GTM Integration in VWO
Now that you have configured GTM, you need to enable GTM integration from the VWO Dashboard.
NOTE: If you have multiple campaigns running on the same URL, the GA events are fired for all campaign data.
Procedure
Login to your VWO account.
Go to Testing and select a testing type, say A/B .
On the OTHERS page, expand the Integrate with third-party products , and select the option Google Tag Manager .
NOTE: T he Google Tag Manager option appears only after you have enabled it in the INTEGRATIONS section.
If you want to enable the integration for a specific test, select the test and from Summary , go to. Click Settings > Others and select Google Tag Manager from the Integrate With Third-Party Products section.
Was this article helpful?
12 out of 19 found this helpful
Footer Navigation
Follow us and stay on top of everything CRO
© 2024
Copyright
Wingify .
All rights reserved
|