/*! backstage-client 23-06-2020 */ !function o(a,u,s){function c(t,e){if(!u[t]){if(!a[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var i=u[t]={exports:{}};a[t][0].call(i.exports,function(e){return c(a[t][1][e]||e)},i,i.exports,o,a,u,s)}return u[t].exports}for(var l="function"==typeof require&&require,e=0;e>8-i%1*8)){if(255<(n=r.charCodeAt(i+=.75)))throw new s("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|n}return a}),e.atob||(e.atob=function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new s("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,a="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)&&(a+=String.fromCharCode(255&n>>(-2*i&6))))r=u.indexOf(r);return a})}()},{}],3:[function(e,t,n){var i={},o={};adrollAdapter={pushAudience:function(e,t){var n,r;e.integrations&&e.integrations.adroll&&e.integrations.adroll.segment&&(n=e.integrations.adroll.segment,r=!1,void 0!==o[n]&&(r=!0),o[n]=function(){i[n]=setTimeout(function(){"undefined"!=typeof __adroll&&null!==__adroll?__adroll.record_user({adroll_segments:n}):o[n]()},500)},t.log("\tPushing segment "+n+" to AdRoll.","info"),r||o[n]())}},t.exports=adrollAdapter},{}],4:[function(e,t,n){t.exports=e("regenerator-runtime")},{"regenerator-runtime":69}],5:[function(e,t,n){t.exports=function(n){var r={provider:"behavioral"};return r.bctx=n,r.getToken=function(){if(!r.bctx._fe_bvid)throw n.log("No Backstage cookie detected.","info"),(e=new Error("Could not identify the current visitor because no Backstage cookie was detected.")).code="E_COULD_NOT_IDENT",e;var e,t={type:"cookie",value:r.bctx._fe_bvid};return n.log("Backstage "+t.type+" detected: "+t.value,"info"),t},r.getAttributes=function(){return r.bctx.cache.get(n.config.customEventsNamespace).then(function(e){return e||{}})},r}},{}],6:[function(e,n,r){(function(t){!function(e){"object"==typeof r&&void 0!==n?n.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:this).bugsnag=e()}(function(){function t(e,t,n){for(var r=n,i=0,o=e.length;i"].indexOf(n[0])?void 0:n[0];return new u({functionName:r,fileName:i,lineNumber:n[1],columnNumber:n[2],source:e})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(e){return!e.match(r)},this).map(function(e){if(-1 eval")&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new u({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=e.match(t),r=n&&n[1]?n[1]:void 0,i=this.extractLocation(e.replace(t,""));return new u({functionName:r,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:e})},this)},parseOpera:function(e){return!e.stacktrace||-1e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=e.message.split("\n"),r=[],i=2,o=n.length;i/,"$2").replace(/\([^\)]*\)/g,"")||void 0;i.match(/\(([^\)]*)\)/)&&(t=i.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var a=void 0===t||"[arguments not available]"===t?void 0:t.split(",");return new u({functionName:o,args:a,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:e})},this)}}});var S={};!function(e,t){"use strict";"object"==typeof S?S=t(j):e.StackGenerator=t(e.StackFrame)}(this,function(a){return{backtrace:function(e){var t=[],n=10;"object"==typeof e&&"number"==typeof e.maxStackSize&&(n=e.maxStackSize);for(var r=arguments.callee;r&&t.lengththis.config.maxBreadcrumbs&&(this.breadcrumbs=this.breadcrumbs.slice(this.breadcrumbs.length-this.config.maxBreadcrumbs)),this}},de.prototype.notify=function(e,t){var n=1=t.config.maxEvents?e.ignore():void n++}),t.refresh=function(){n=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(e){return me(e)&&e<100}}}},_e=Object.assign||function(e){for(var t=1;t/,Be=/<\/script>.*$/,ze=(Ne={init:function(e){function u(){return document.documentElement.outerHTML}var s="",c=!1,l=window.location.href,s=u();document.onreadystatechange=function(){"interactive"===document.readyState&&(s=u(),c=!0)},e.config.beforeSend.unshift(function(e){var r=e.stacktrace[0];if(!r||!r.file||!r.lineNumber)return r;if(r.file.replace(/#.*$/,"")!==l.replace(/#.*$/,""))return r;c&&s||(s=u());var t=["\x3c!-- DOC START --\x3e"].concat(s.split("\n")),n=ze(t,r.lineNumber-1),i=n.script,o=n.start,a=De(i,function(e,t,n){return 10 "+n.join("");return n.join("")}(e.target)}catch(e){n=t="[hidden]",r._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/y94fq5zm")}r.leaveBreadcrumb("UI click",{targetText:t,targetSelector:n},"user")},!0)},configSchema:{interactionBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}}},Ve=function(e){var t,n,r=e.textContent||e.innerText||"";return r||"submit"!==e.type&&"button"!==e.type||(r=e.value),r=r.replace(/^\s+|\s+$/g,""),n=140,(t=r)&&t.length<=n?t:t.slice(0,n-"(...)".length)+"(...)"};var Ue=Object.assign||function(e){for(var t=1;tu&&(o.warned=!0,(a=new Error("Possible EventEmitter memory leak detected. "+o.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.')).name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=o.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",a.name,a.message))):(o=i[t]=n,++e._eventsCount),e}function d(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;te.db.version;return i&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),(o||r)&&(!r||(n=e.db.version+1)>e.version&&(e.version=n),1)}function k(e){return a([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i>4,c[u++]=(15&n)<<4|r>>2,c[u++]=(3&r)<<6|63&i;return s}function F(e){for(var t=new Uint8Array(e),n="",r=0;r>2],n+=T[(3&t[r])<<4|t[r+1]>>4],n+=T[(15&t[r+1])<<2|t[r+2]>>6],n+=T[63&t[r+2]];return t.length%3==2?n=n.substring(0,n.length-1)+"=":t.length%3==1&&(n=n.substring(0,n.length-2)+"=="),n}var V={serialize:function(t,n){var e="";if(t&&(e=B.call(t)),t&&("[object ArrayBuffer]"===e||t.buffer&&"[object ArrayBuffer]"===B.call(t.buffer))){var r,i=R;t instanceof ArrayBuffer?(r=t,i+=N):(r=t.buffer,"[object Int8Array]"===e?i+="si08":"[object Uint8Array]"===e?i+="ui08":"[object Uint8ClampedArray]"===e?i+="uic8":"[object Int16Array]"===e?i+="si16":"[object Uint16Array]"===e?i+="ur16":"[object Int32Array]"===e?i+="si32":"[object Uint32Array]"===e?i+="ui32":"[object Float32Array]"===e?i+="fl32":"[object Float64Array]"===e?i+="fl64":n(new Error("Failed to get type for BinaryArray"))),n(i+F(r))}else if("[object Blob]"===e){var o=new FileReader;o.onload=function(){var e="~~local_forage_type~"+t.type+"~"+F(this.result);n(R+D+e)},o.readAsArrayBuffer(t)}else try{n(JSON.stringify(t))}catch(e){console.error("Couldn't convert value into a JSON string: ",t),n(null,e)}},deserialize:function(e){if(e.substring(0,L)!==R)return JSON.parse(e);var t,n,r=e.substring(M),i=e.substring(L,M);i===D&&P.test(r)&&(n=(t=r.match(P))[1],r=r.substring(t[0].length));var o=z(r);switch(i){case N:return o;case D:return a([o],{type:n});case"si08":return new Int8Array(o);case"ui08":return new Uint8Array(o);case"uic8":return new Uint8ClampedArray(o);case"si16":return new Int16Array(o);case"ur16":return new Uint16Array(o);case"si32":return new Int32Array(o);case"ui32":return new Uint32Array(o);case"fl32":return new Float32Array(o);case"fl64":return new Float64Array(o);default:throw new Error("Unkown type: "+i)}},stringToBuffer:z,bufferToString:F};function U(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function q(e,r,i,o,a,u){e.executeSql(i,o,a,function(e,n){n.code===n.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[r.storeName],function(e,t){t.rows.length?u(e,n):U(e,r,function(){e.executeSql(i,o,a,u)},u)},u):u(e,n)},u)}function H(a,e,u,s){var c=this;a=p(a);var t=new l(function(i,o){c.ready().then(function(){void 0===e&&(e=null);var n=e,r=c._dbInfo;r.serializer.serialize(e,function(t,e){e?o(e):r.db.transaction(function(e){q(e,r,"INSERT OR REPLACE INTO "+r.storeName+" (key, value) VALUES (?, ?)",[a,t],function(){i(n)},function(e,t){o(t)})},function(e){if(e.code===e.QUOTA_ERR){if(0 '__WebKitDatabaseInfoTable__'",[],function(e,t){for(var n=[],r=0;r"']/g,Wa=RegExp(Ha.source),Ga=RegExp($a.source),Ja=/<%-([\s\S]+?)%>/g,Ka=/<%([\s\S]+?)%>/g,Xa=/<%=([\s\S]+?)%>/g,Za=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qa=/^\w*$/,Ya=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,eu=/[\\^$.*+?()[\]{}|]/g,tu=RegExp(eu.source),nu=/^\s+|\s+$/g,ru=/^\s+/,iu=/\s+$/,ou=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,au=/\{\n\/\* \[wrapped with (.+)\] \*/,uu=/,? & /,su=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cu=/\\(\\)?/g,lu=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fu=/\w*$/,du=/^[-+]0x[0-9a-f]+$/i,pu=/^0b[01]+$/i,hu=/^\[object .+?Constructor\]$/,gu=/^0o[0-7]+$/i,vu=/^(?:0|[1-9]\d*)$/,yu=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bu=/($^)/,mu=/['\n\r\u2028\u2029\\]/g,e="\\ud800-\\udfff",t="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\ufe0e\\ufe0f",a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",u="["+e+"]",s="["+a+"]",c="["+t+"]",l="\\d+",f="["+n+"]",d="["+r+"]",p="[^"+e+a+l+n+r+i+"]",h="\\ud83c[\\udffb-\\udfff]",g="[^"+e+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",b="["+i+"]",m="(?:"+d+"|"+p+")",w="(?:"+b+"|"+p+")",_="(?:['’](?:d|ll|m|re|s|t|ve))?",O="(?:['’](?:D|LL|M|RE|S|T|VE))?",x="(?:"+c+"|"+h+")"+"?",E="["+o+"]?",k=E+x+("(?:\\u200d(?:"+[g,v,y].join("|")+")"+E+x+")*"),j="(?:"+[f,v,y].join("|")+")"+k,C="(?:"+[g+c+"?",c,v,y,u].join("|")+")",wu=RegExp("['’]","g"),_u=RegExp(c,"g"),S=RegExp(h+"(?="+h+")|"+C+k,"g"),Ou=RegExp([b+"?"+d+"+"+_+"(?="+[s,b,"$"].join("|")+")",w+"+"+O+"(?="+[s,b+m,"$"].join("|")+")",b+"?"+m+"+"+_,b+"+"+O,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",l,j].join("|"),"g"),I=RegExp("[\\u200d"+e+t+o+"]"),xu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Eu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ku=-1,ju={};ju[Pa]=ju[Ra]=ju[La]=ju[Na]=ju[Da]=ju[Ma]=ju[Ba]=ju[za]=ju[Fa]=!0,ju[ha]=ju[ga]=ju[Aa]=ju[va]=ju[Ta]=ju[ya]=ju[ba]=ju[ma]=ju[_a]=ju[Oa]=ju[xa]=ju[ka]=ju[ja]=ju[Ca]=ju[Ia]=!1;var Cu={};Cu[ha]=Cu[ga]=Cu[Aa]=Cu[Ta]=Cu[va]=Cu[ya]=Cu[Pa]=Cu[Ra]=Cu[La]=Cu[Na]=Cu[Da]=Cu[_a]=Cu[Oa]=Cu[xa]=Cu[ka]=Cu[ja]=Cu[Ca]=Cu[Sa]=Cu[Ma]=Cu[Ba]=Cu[za]=Cu[Fa]=!0,Cu[ba]=Cu[ma]=Cu[Ia]=!1;var A={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Su=parseFloat,Iu=parseInt,T="object"==typeof z&&z&&z.Object===Object&&z,P="object"==typeof self&&self&&self.Object===Object&&self,Au=T||P||Function("return this")(),R="object"==typeof V&&V&&!V.nodeType&&V,L=R&&"object"==typeof F&&F&&!F.nodeType&&F,Tu=L&&L.exports===R,N=Tu&&T.process,D=function(){try{var e=L&&L.require&&L.require("util").types;return e?e:N&&N.binding&&N.binding("util")}catch(e){}}(),Pu=D&&D.isArrayBuffer,Ru=D&&D.isDate,Lu=D&&D.isMap,Nu=D&&D.isRegExp,Du=D&&D.isSet,Mu=D&&D.isTypedArray;function Bu(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function zu(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i":">",'"':""","'":"'"});function hs(e){return"\\"+A[e]}function gs(e){return I.test(e)}function vs(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function ys(t,n){return function(e){return t(n(e))}}function bs(e,t){for(var n=-1,r=e.length,i=0,o=[];++n",""":'"',"'":"'"});var xs=function e(t){var n,k=(t=null==t?Au:xs.defaults(Au.Object(),t,xs.pick(Au,Eu))).Array,r=t.Date,i=t.Error,v=t.Function,o=t.Math,_=t.Object,y=t.RegExp,l=t.String,m=t.TypeError,a=k.prototype,u=v.prototype,f=_.prototype,s=t["__core-js_shared__"],c=u.toString,O=f.hasOwnProperty,d=0,p=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",h=f.toString,g=c.call(_),b=Au._,w=y("^"+c.call(O).replace(eu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=Tu?t.Buffer:oa,E=t.Symbol,j=t.Uint8Array,C=x?x.allocUnsafe:oa,S=ys(_.getPrototypeOf,_),I=_.create,A=f.propertyIsEnumerable,T=a.splice,P=E?E.isConcatSpreadable:oa,R=E?E.iterator:oa,L=E?E.toStringTag:oa,N=function(){try{var e=qn(_,"defineProperty");return e({},"",{}),e}catch(e){}}(),D=t.clearTimeout!==Au.clearTimeout&&t.clearTimeout,M=r&&r.now!==Au.Date.now&&r.now,B=t.setTimeout!==Au.setTimeout&&t.setTimeout,z=o.ceil,F=o.floor,V=_.getOwnPropertySymbols,U=x?x.isBuffer:oa,q=t.isFinite,H=a.join,$=ys(_.keys,_),W=o.max,G=o.min,J=r.now,K=t.parseInt,X=o.random,Z=a.reverse,Q=qn(t,"DataView"),Y=qn(t,"Map"),ee=qn(t,"Promise"),te=qn(t,"Set"),ne=qn(t,"WeakMap"),re=qn(_,"create"),ie=ne&&new ne,oe={},ae=yr(Q),ue=yr(Y),se=yr(ee),ce=yr(te),le=yr(ne),fe=E?E.prototype:oa,de=fe?fe.valueOf:oa,pe=fe?fe.toString:oa;function he(e){if(Li(e)&&!xi(e)&&!(e instanceof me)){if(e instanceof be)return e;if(O.call(e,"__wrapped__"))return br(e)}return new be(e)}var ge=function(e){if(!Ri(e))return{};if(I)return I(e);ve.prototype=e;var t=new ve;return ve.prototype=oa,t};function ve(){}function ye(){}function be(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oa}function me(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=da,this.__views__=[]}function we(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t>>0,t>>>=0;for(var o=k(i);++r>>1,a=e[o];null!==a&&!Vi(a)&&(n?a<=t:a>>0)?(e=Zi(e))&&("string"==typeof t||null!=t&&!Bi(t))&&!(t=Bt(t))&&gs(e)?Xt(_s(e),0,n):e.split(t,n):[]},he.spread=function(r,i){if("function"!=typeof r)throw new m(aa);return i=null==i?0:W(Gi(i),0),kt(function(e){var t=e[i],n=Xt(e,0,i);return t&&Gu(n,t),Bu(r,this,n)})},he.tail=function(e){var t=null==e?0:e.length;return t?Pt(e,1,t):[]},he.take=function(e,t,n){return e&&e.length?Pt(e,0,(t=n||t===oa?1:Gi(t))<0?0:t):[]},he.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Pt(e,(t=r-(t=n||t===oa?1:Gi(t)))<0?0:t,r):[]},he.takeRightWhile=function(e,t){return e&&e.length?Ut(e,Fn(t,3),!1,!0):[]},he.takeWhile=function(e,t){return e&&e.length?Ut(e,Fn(t,3)):[]},he.tap=function(e,t){return t(e),e},he.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new m(aa);return Ri(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),li(e,t,{leading:r,maxWait:t,trailing:i})},he.thru=Wr,he.toArray=$i,he.toPairs=bo,he.toPairsIn=mo,he.toPath=function(e){return xi(e)?Wu(e,vr):Vi(e)?[e]:on(gr(Zi(e)))},he.toPlainObject=Xi,he.transform=function(e,r,i){var t,n=xi(e),o=n||Ci(e)||Ui(e);return r=Fn(r,4),null==i&&(t=e&&e.constructor,i=o?n?new t:[]:Ri(e)&&Ai(t)?ge(S(e)):{}),(o?Fu:Ke)(e,function(e,t,n){return r(i,e,t,n)}),i},he.unary=function(e){return ai(e,1)},he.union=Lr,he.unionBy=Nr,he.unionWith=Dr,he.uniq=function(e){return e&&e.length?zt(e):[]},he.uniqBy=function(e,t){return e&&e.length?zt(e,Fn(t,2)):[]},he.uniqWith=function(e,t){return t="function"==typeof t?t:oa,e&&e.length?zt(e,oa,t):[]},he.unset=function(e,t){return null==e||Ft(e,t)},he.unzip=Mr,he.unzipWith=Br,he.update=function(e,t,n){return null==e?e:Vt(e,t,Gt(n))},he.updateWith=function(e,t,n,r){return r="function"==typeof r?r:oa,null==e?e:Vt(e,t,Gt(n),r)},he.values=wo,he.valuesIn=function(e){return null==e?[]:ss(e,fo(e))},he.without=zr,he.words=To,he.wrap=function(e,t){return vi(Gt(t),e)},he.xor=Fr,he.xorBy=Vr,he.xorWith=Ur,he.zip=qr,he.zipObject=function(e,t){return $t(e||[],t||[],Ae)},he.zipObjectDeep=function(e,t){return $t(e||[],t||[],St)},he.zipWith=Hr,he.entries=bo,he.entriesIn=mo,he.extend=Yi,he.extendWith=eo,Vo(he,he),he.add=Zo,he.attempt=Po,he.camelCase=_o,he.capitalize=Oo,he.ceil=Qo,he.clamp=function(e,t,n){return n===oa&&(n=t,t=oa),n!==oa&&(n=(n=Ki(n))==n?n:0),t!==oa&&(t=(t=Ki(t))==t?t:0),De(Ki(e),t,n)},he.clone=function(e){return Me(e,4)},he.cloneDeep=function(e){return Me(e,5)},he.cloneDeepWith=function(e,t){return Me(e,5,t="function"==typeof t?t:oa)},he.cloneWith=function(e,t){return Me(e,4,t="function"==typeof t?t:oa)},he.conformsTo=function(e,t){return null==t||Be(e,t,lo(t))},he.deburr=xo,he.defaultTo=function(e,t){return null==e||e!=e?t:e},he.divide=Yo,he.endsWith=function(e,t,n){e=Zi(e),t=Bt(t);var r=e.length,i=n=n===oa?r:De(Gi(n),0,r);return 0<=(n-=t.length)&&e.slice(n,i)==t},he.eq=mi,he.escape=function(e){return(e=Zi(e))&&Ga.test(e)?e.replace($a,ps):e},he.escapeRegExp=function(e){return(e=Zi(e))&&tu.test(e)?e.replace(eu,"\\$&"):e},he.every=function(e,t,n){var r=xi(e)?Uu:qe;return n&&Zn(e,t,n)&&(t=oa),r(e,Fn(t,3))},he.find=Kr,he.findIndex=Or,he.findKey=function(e,t){return Zu(e,Fn(t,3),Ke)},he.findLast=Xr,he.findLastIndex=xr,he.findLastKey=function(e,t){return Zu(e,Fn(t,3),Xe)},he.floor=ea,he.forEach=Zr,he.forEachRight=Qr,he.forIn=function(e,t){return null==e?e:Ge(e,Fn(t,3),fo)},he.forInRight=function(e,t){return null==e?e:Je(e,Fn(t,3),fo)},he.forOwn=function(e,t){return e&&Ke(e,Fn(t,3))},he.forOwnRight=function(e,t){return e&&Xe(e,Fn(t,3))},he.get=oo,he.gt=wi,he.gte=_i,he.has=function(e,t){return null!=e&&Gn(e,t,nt)},he.hasIn=ao,he.head=kr,he.identity=Mo,he.includes=function(e,t,n,r){e=ki(e)?e:wo(e),n=n&&!r?Gi(n):0;var i=e.length;return n<0&&(n=W(i+n,0)),Fi(e)?n<=i&&-1=G(i=t,o=n)&&r=this.__values__.length;return{done:e,value:e?oa:this.__values__[this.__index__++]}},he.prototype.plant=function(e){for(var t,n=this;n instanceof ye;){var r=br(n);r.__index__=0,r.__values__=oa,t?i.__wrapped__=r:t=r;var i=r,n=n.__wrapped__}return i.__wrapped__=e,t},he.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof me){var t=e;return this.__actions__.length&&(t=new me(this)),(t=t.reverse()).__actions__.push({func:Wr,args:[Rr],thisArg:oa}),new be(t,this.__chain__)}return this.thru(Rr)},he.prototype.toJSON=he.prototype.valueOf=he.prototype.value=function(){return qt(this.__wrapped__,this.__actions__)},he.prototype.first=he.prototype.head,R&&(he.prototype[R]=function(){return this}),he}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Au._=xs,define(function(){return xs})):L?((L.exports=xs)._=xs,R._=xs):Au._=xs}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],54:[function(e,t,n){t.exports=function(){return!1}},{}],55:[function(e,t,n){var r=e("./toNumber");t.exports=function(e){return e?(e=r(e))!==1/0&&e!==-1/0?e==e?e:0:17976931348623157e292*(e<0?-1:1):0===e?e:0}},{"./toNumber":57}],56:[function(e,t,n){var r=e("./toFinite");t.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},{"./toFinite":55}],57:[function(e,t,n){var r=e("./isObject"),i=e("./isSymbol"),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;t.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;var t;if(r(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=r(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=u.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},{"./isObject":47,"./isSymbol":50}],58:[function(e,t,n){var r=e("./_baseValues"),i=e("./keys");t.exports=function(e){return null==e?[]:r(e,i(e))}},{"./_baseValues":29,"./keys":52}],59:[function(e,t,n){t.exports=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r]*>/,y=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,b=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,m=/^(?:body|html)$/i,w=/([A-Z])/g,_=["val","css","html","text","data","width","height","offset"],O=d.createElement("table"),x=d.createElement("tr"),E={tr:d.createElement("tbody"),tbody:O,thead:O,tfoot:O,td:x,th:x,"*":d.createElement("div")},k=/complete|loaded|interactive/,j=/^[\w-]*$/,S=(C={}).toString,I={},A=d.createElement("div"),T={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},P=Array.isArray||function(e){return e instanceof Array},I.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var r,i=e.parentNode,o=!i;return o&&(i=A).appendChild(e),r=~I.qsa(i,t).indexOf(e),o&&A.removeChild(e),r},c=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},i=function(n){return f.call(n,function(e,t){return n.indexOf(e)==t})},I.fragment=function(e,t,n){var r,i,o;return y.test(e)&&(r=s(d.createElement(RegExp.$1))),r||(e.replace&&(e=e.replace(b,"<$1>")),t===a&&(t=v.test(e)&&RegExp.$1),t in E||(t="*"),(o=E[t]).innerHTML=""+e,r=s.each(l.call(o.childNodes),function(){o.removeChild(this)})),F(n)&&(i=s(r),s.each(n,function(e,t){-1<_.indexOf(e)?i[e](t):i.attr(e,t)})),r},I.Z=function(e,t){return(e=e||[]).__proto__=s.fn,e.selector=t||"",e},I.isZ=function(e){return e instanceof I.Z},I.init=function(e,t){var n,r;if(!e)return I.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&v.test(e))n=I.fragment(e,RegExp.$1,t),e=null;else{if(t!==a)return s(t).find(e);n=I.qsa(d,e)}else{if(D(e))return s(d).ready(e);if(I.isZ(e))return e;if(P(e))r=e,n=f.call(r,function(e){return null!=e});else if(z(e))n=[e],e=null;else if(v.test(e))n=I.fragment(e.trim(),RegExp.$1,t),e=null;else{if(t!==a)return s(t).find(e);n=I.qsa(d,e)}}return I.Z(n,e)},(s=function(e,t){return I.init(e,t)}).extend=function(t){var n,e=l.call(arguments,1);return"boolean"==typeof t&&(n=t,t=e.shift()),e.forEach(function(e){!function e(t,n,r){for(u in n)r&&(F(n[u])||P(n[u]))?(F(n[u])&&!F(t[u])&&(t[u]={}),P(n[u])&&!P(t[u])&&(t[u]=[]),e(t[u],n[u],r)):n[u]!==a&&(t[u]=n[u])}(t,e,n)}),t},I.qsa=function(e,t){var n,r="#"==t[0],i=!r&&"."==t[0],o=r||i?t.slice(1):t,a=j.test(o);return B(e)&&a&&r?(n=e.getElementById(o))?[n]:[]:1!==e.nodeType&&9!==e.nodeType?[]:l.call(a&&!r?i?e.getElementsByClassName(o):e.getElementsByTagName(t):e.querySelectorAll(t))},s.contains=d.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t=t&&t.parentNode;)if(t===e)return!0;return!1},s.type=N,s.isFunction=D,s.isWindow=M,s.isArray=P,s.isPlainObject=F,s.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},s.inArray=function(e,t,n){return o.indexOf.call(t,e,n)},s.camelCase=c,s.trim=function(e){return null==e?"":String.prototype.trim.call(e)},s.uuid=0,s.support={},s.expr={},s.map=function(e,t){var n,r,i,o,a=[];if(V(e))for(r=0;r)<[^<]*)*<\/script>/gi,w=/^(?:text|application)\/javascript/i,_=/^(?:text|application)\/xml/i,O="application/json",x=/^\s*$/,E=m.createElement("a");function k(e,t,n,r){if(e.global)return i=t||m,o=n,a=r,u=v.Event(o),v(i).trigger(u,a),!u.isDefaultPrevented();var i,o,a,u}function j(e,t){var n=t.context;if(!1===t.beforeSend.call(n,e,t)||!1===k(t,n,"ajaxBeforeSend",[e,t]))return!1;k(t,n,"ajaxSend",[e,t])}function C(e,t,n,r){var i=n.context,o="success";n.success.call(i,e,o,t),r&&r.resolveWith(i,[e,o,t]),k(n,i,"ajaxSuccess",[t,n,e]),a(o,t,n)}function S(e,t,n,r,i){var o=r.context;r.error.call(o,n,t,e),i&&i.rejectWith(o,[n,t,e]),k(r,o,"ajaxError",[n,r,e||t]),a(t,n,r)}function a(e,t,n){var r,i=n.context;n.complete.call(i,t,e),k(n,i,"ajaxComplete",[t,n]),(r=n).global&&!--v.active&&k(r,null,"ajaxStop")}function I(){}function A(e,t){return""==t?e:(e+"&"+t).replace(/[&?]{1,2}/,"?")}function c(e,t,n,r){return v.isFunction(t)&&(r=n,n=t,t=void 0),v.isFunction(n)||(r=n,n=void 0),{url:e,data:t,success:n,dataType:r}}E.href=window.location.href,v.active=0,v.ajaxJSONP=function(n,r){if(!("type"in n))return v.ajax(n);function e(e){v(u).triggerHandler("error",e||"abort")}var i,o,t=n.jsonpCallback,a=(v.isFunction(t)?t():t)||"jsonp"+ ++l,u=m.createElement("script"),s=window[a],c={abort:e};return r&&r.promise(c),v(u).on("load error",function(e,t){clearTimeout(o),v(u).off().remove(),"error"!=e.type&&i?C(i[0],c,n,r):S(null,t||"error",c,n,r),window[a]=s,i&&v.isFunction(s)&&s(i[0]),s=i=void 0}),!1===j(c,n)?e("abort"):(window[a]=function(){i=arguments},u.src=n.url.replace(/\?(.+)=\?/,"?$1="+a),m.head.appendChild(u),0").html(e.replace(s,"")).find(r):e),u&&u.apply(i,arguments)},v.ajax(a),this};var r=encodeURIComponent;v.param=function(e,t){var n=[];return n.add=function(e,t){v.isFunction(t)&&(t=t()),null==t&&(t=""),this.push(r(e)+"="+r(t))},function n(r,e,i,o){var a,u=v.isArray(e),s=v.isPlainObject(e);v.each(e,function(e,t){a=v.type(t),o&&(e=i?o:o+"["+(s||"object"==a||"array"==a?e:"")+"]"),!o&&u?r.add(t.name,t.value):"array"==a||!i&&"object"==a?n(r,t,i,e):r.add(e,t)})}(n,e,t),n.join("&").replace(/%20/g,"+")}}(L),(R=L).fn.serializeArray=function(){var n,r,t=[],i=function(e){if(e.forEach)return e.forEach(i);t.push({name:n,value:e})};return this[0]&&R.each(this[0].elements,function(e,t){r=t.type,(n=t.name)&&"fieldset"!=t.nodeName.toLowerCase()&&!t.disabled&&"submit"!=r&&"reset"!=r&&"button"!=r&&"file"!=r&&("radio"!=r&&"checkbox"!=r||t.checked)&&i(R(t).val())}),t},R.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},R.fn.submit=function(e){var t;return 0 in arguments?this.bind("submit",e):this.length&&(t=R.Event("submit"),this.eq(0).trigger(t),t.isDefaultPrevented()||this.get(0).submit()),this},function(n){"__proto__"in{}||n.extend(n.zepto,{Z:function(e,t){return e=e||[],n.extend(e,n.fn),e.selector=t||"",e.__Z=!0,e},isZ:function(e){return"array"===n.type(e)&&"__Z"in e}});try{getComputedStyle(void 0)}catch(e){var t=getComputedStyle;window.getComputedStyle=function(e){try{return t(e)}catch(e){return null}}}}(L),"object"==typeof n&&(t.exports=L)},{}],63:[function(e,t,n){var r=!1,i=0,o={pushAudience:function(e,t){var n=o;e.integrations&&e.integrations.olark&&e.integrations.olark&&(e.integrations.olark.operatorNotifications||e.integrations.olark.visitorStatus)&&(console.log("integrated! called"),!1===r&&"undefined"!=typeof olark?n.pushToOlark(e,t):i++<10&&setTimeout(n.pushAudience(e,t),50))},pushToOlark:function(t,n){r=!0,n.cache.get("fe_olark_vid").then(function(e){e||!0!==t.integrations.olark.operatorNotifications||(n.cache.set("fe_olark_vid",n._fe_bvid||""),olark("api.chat.sendNotificationToOperator",{body:"This visitor is in the Backstage audience destination "+t.name}),n.log("Notification sent to olark operator","info"))}),!0===t.integrations.olark.visitorStatus&&(olark("api.chat.updateVisitorStatus",{snippet:"Backstage audience destination: "+t.name}),n.log("Olark visitor status updated","info"))}};t.exports=o},{}],64:[function(e,t,n){t.exports={pushAudience:function(e,t){var n;this.bctx=t,window.optimizely=window.optimizely||[],e.integrations&&e.integrations.optimizely&&e.integrations.optimizely.audienceId&&(n=e.integrations.optimizely.audienceId,t.log("Pushing audience "+n+" to Optimizely."),this.bucketAndActivate(n))},bucketAndActivate:function(n){var r=this.bctx;if(!window.optimizely||"function"!=typeof window.optimizely.addToAudience)return window.optimizely=window.optimizely||[],window.optimizely.push(["addToAudience",n]),!1;window.optimizely.allExperiments;for(var e in window.optimizely.addToAudience(n),window.optimizely.allExperiments)experiment=window.optimizely.allExperiments[e],!experiment.audiences||experiment.activation_mode&&"conditional"==experiment.activation_mode||experiment.audiences.forEach(function(t){return function(e){e==n&&-1===window.optimizely.activeExperiments.indexOf(t)&&(r.log("activating experiment "+t,"info"),window.optimizely.activate(t))}}(e))}}},{}],65:[function(e,t,n){var r=e("./classic"),i=e("./x");optimizelyAdapter={pushAudience:function(e,t){this.bctx=t,r.pushAudience(e,t),i.pushAudience(e,t)},activate:function(e){i.activateExperiences(e)}},t.exports=optimizelyAdapter},{"./classic":64,"./x":66}],66:[function(e,t,n){var r=e("./xVariations");t.exports={pushAudience:function(e,t){this.bctx=t,window.optimizely=window.optimizely||[],t.log(e.integrations),e.integrations&&e.integrations.optimizely&&e.integrations.optimizely.isIntegrated&&(t.log("Pushing audience "+e.slug+" to OptimizelyX."),this.bucketAndActivate(e,t))},bucketAndActivate:function(e,t){document.cookie=e.slug+"=true",window.optimizely=window.optimizely||[];var n={type:"user",attributes:{}};n.attributes[e.name]=!0,window.optimizely.push(n),t.log("attribute setup complete",n)},activateExperiences:function(e){r.activate(e)}}},{"./xVariations":67}],67:[function(e,t,n){var o=null,a=e("lodash.filter");function r(e){(e.data.decision.variationId||e.data.decision.experimentId)&&e.data&&i(e.data.decision.experimentId,e.data.decision.variationId,e.data.decision.isCampaignHoldback)}function i(e,t,n){var r,i;o.campaignState?0==a(o.campaignState,{source:"optimizely",status:"running",campaignSourceId:e}).length?o.log("FE - SKIPPING OptX VARIATION ACTIVATION: Backstage doesn't know about campaignSourceId="+e):(r=!0===window.optimizely.feCampaignsInHoldback[e],i=!0===window.optimizely.feActiveBucketedVariations[t],n?(o.log("FE - OptX HOLDBACK : optimizelyExperimentId ("+e+") visitor is in the Optimizely Holdback. This should never happen if Optimizely is configured correctly with the holdback at 0%"),o.push({event:"activate_variation",isActivateVariation:!0,source:"optimizely",attributes:{optimizely:{experimentId:e,variationId:"holdback",isOptXCampaignHoldback:!0}}})):(o.log("FE - OptX VARIATION ACTIVATED: { recommended:"+i+", optimizelyVariationId:"+t+", optimizelyExperimentId: '"+e+"', isInFEHoldback:"+r),o.push({event:"activate_variation",isActivateVariation:!0,source:"optimizely",attributes:{recommended:i,holdback:r,optimizely:{experimentId:e,variationId:t}}}))):o.log("FE - SKIPPING OptX VARIATION ACTIVATION: Backstage campaignState is not found")}t.exports={activate:function(e){o=e,this.bctx=e,window.optimizely?(window.optimizely.feActiveBucketedVariations={},window.optimizely.feCampaignsInHoldback={},window.optimizely=window.optimizely||[],window.optimizely.push({type:"addListener",filter:{type:"lifecycle",name:"campaignDecided"},handler:r}),function(){{var e;o.log("FE - applyRecommendedVariationBucketing"),o.campaignState?0<(e=a(o.campaignState,{source:"optimizely",status:"running"})).length?e.forEach(function(e){!function(e){var t=e.campaignSourceId;{var n,r;e.isInHoldback?(o.log("FE - HOLDBACK - The optimizely Experiment: "+e.campaignSourceId+" is in HOLDBACK in FunnelEnvy. FunnelEnvy ignores it and lets OptX make the bucketing decision."),window.optimizely.feCampaignsInHoldback[t]=!0):e.recommendation?(n=e.recommendation.variationSourceId,(r=function(e){return window.optimizely&&window.optimizely.get?optimizely.get("data").variations[e]:(o.log("window['optimizely'].get is not found. Can't return the variation id"),null)}(n))?(o.log("FE - BUCKETING - The optimizely Experiment: "+e.campaignSourceId+" has recommended and bucketed the variation: "+r.id),window.optimizely.feActiveBucketedVariations[r.id]=!0,optimizely.push({type:"bucketVisitor",experimentId:t,variationId:r.id})):o.log("FE - BUCKETING ERROR - The variation "+n+" was not found in the Optimizely X data object. FunnelEnvy can't do anything with it.")):o.log("FE - NO RECOMMENDATION - The optimizely Experiment: "+e.campaignSourceId+" does NOT have a recommendation. FunnelEnvy ignores it and lets OptX make the bucketing decision.")}}(e)}):o.log("FE - NO OptX CAMPAIGNS Running : There were no campaigns returned as part of the campaign state in the visitor path response that are in a running state"):o.log("No backstage.campaignState object was found....?Timing?")}}(),o.log("setting the flag to trigger activation"),window.optimizely.feDone=!0):o.log("FE - window.optimizely not found")}}},{"lodash.filter":15}],68:[function(e,t,n){var r,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{i="function"==typeof clearTimeout?clearTimeout:u}catch(e){i=u}}();var c,l=[],f=!1,d=-1;function p(){f&&c&&(f=!1,c.length?l=c.concat(l):d=-1,l.length&&h())}function h(){if(!f){var e=s(p);f=!0;for(var t=l.length;t;){for(c=l,l=[];++d>7,sequence=parseInt(e.toString(2)+this.seed.toString(2),2),t=n.toString(r)+this.sep+sequence.toString(r),this.append&&(t+=this.sep+this.append),t},n.exports=t}).call(this,e("_process"))},{_process:68}],77:[function(e,t,n){var r={sendEvent:function(t){ga(function(){var e=ga.getAll()[0].get("name");ga(e+".send","event",t)})},setDimension:function(t,n){ga(function(){var e=ga.getAll()[0].get("name");ga(e+".set","dimension"+t,n)})},pushAudience:function(e,t){var n,r;e&&e.integrations&&e.integrations["universal-analytics"]&&(n=e.integrations["universal-analytics"],ga?(n.setAsDimension&&n.dimensionId&&!isNaN(Number(n.dimensionId))&&(this.setDimension(n.dimensionId,e.name),t.log("Google Analytics dimension set","info")),n.sentAsEvent?((r={nonInteraction:!0}).eventCategory=n.eventCategory||"",r.eventAction=n.eventAction||"",r.eventLabel=n.eventLabel||"",this.sendEvent(r),t.log("Google Analytics event sent","info")):n.setAsDimension&&(this.sendEvent({eventCategory:"funnelEnvy",eventAction:"setDimension",nonInteraction:!0}),t.log("Default Google event sent","info"))):t.log('The object "ga" is not defined, please verify that Google Analytics was loaded correctly',"error"))}};t.exports=r},{}],78:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;function n(){}n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],79:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],80:[function(d,e,C){(function(r,i){var u=/%[sdj%]/g;C.format=function(e){if(!w(e)){for(var t=[],n=0;n=a()&&(0,s.every)(e,function(e){var t,n,r=(t=e,n=(0,s.get)(t,"token.value"),o("identities['"+n+"'].expires")),i=r>=a();return i?d.logger.debug(e.provider+" cache entry found and will expire on "+r):d.logger.debug("identity expired: "+e.token.value),i})}}]),v);function v(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),this.bctx=e}},{"./classify":88,"./identifier":119,"./lib/error-factory":120,"./lib/get-query-param":123,"./logger":131,"babel-runtime/regenerator":4,lodash:53}],85:[function(e,t,n){"use strict";var a=T(e("babel-runtime/regenerator")),r=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n"+t+"<\/script>";for(var o=i.childNodes,a=0;o[a];a++)!f.nodeName(o[a],"script")||o[a].type&&"text/javascript"!==o[a].type.toLowerCase()||f.evalScript(o[a].parentNode?o[a].parentNode.removeChild(o[a]):o[a],n,r);s.logger.groupCollapsed("Executing script"),s.logger.log(t),s.logger.groupEnd()}else s.logger.debug("Preview has to add an eventListener because document.readyState = "+document.readyState),document.addEventListener?document.addEventListener("DOMContentLoaded",function(e){return f.insertAndExecute(t,n,r)}):(s.logger.error("document.addEventListener is null or undefined;"),s.logger.error("Error: Failed to execute JS string because document not ready"))}},{key:"isCustomJavascriptObject",value:function(e){return!Array.isArray(e)}},{key:"runCustomJavascript",value:function(e,t,n){var r=2new Date(e.resetAt)))}}]),b);function b(){var e=0 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n removeClass: function (element, className) {\n if (element.classList) element.classList.remove(className);\n else\n element.className = element.className.replace(\n new RegExp('\\\\b' + className + '\\\\b', 'g'),\n ''\n );\n },\n addClass: function(element, className) {\n if (element.classList) element.classList.add(className);\n else if (!this.hasClass(element, className))\n element.className += ' ' + className;\n }\n };\n function init() {\n //get all .d-none element and remove the class \n var feDone = document.querySelectorAll('.variant-1');\n for (var i = 0; i < feDone.length; i++) {\n //remove class form element\n FEHelper.removeClass(feDone[i], 'd-none');\n }\n\n var feDefault = document.querySelectorAll('.variant-default');\n for (var i = 0; i < feDefault.length; i++) {\n //remove class form element\n FEHelper.addClass(feDefault[i], 'd-none');\n }\n }\n //wait for element to edit/update\n FEHelper.onLoadElement(\n 'body .d-none',\n init,\n 50,\n 10000\n );\n\n})();","lastChanged":"\"2020-04-25T08:02:00.225Z\"","selector":"body"}],"selector":"body"}]},"id":"5ea179b6f15986251eeed7ac"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","predictVariations":false,"trafficAllocation":100,"decisionMode":"A/B/n Test","name":"KT-10 MSF Re-order","pageTargets":[{"include":true,"url":"https://www.keeptruckin.com/get-in-touch","match":"simple"},{"include":false,"url":"https://keeptruckin.com/get-in-touch?id=asset-gateway-bogo","match":"contains"}],"editorUrl":"https://www.keeptruckin.com/get-in-touch","persistentDecisions":true,"source":"visual","slug":"C3097062","sourceId":"C3097062","status":"paused","createdAt":"2020-04-23T11:17:20.724Z","updatedAt":"2020-05-21T01:51:27.702Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 11; // Desired Custom Dimension\n const campaignSlug = 'C3097062'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-05-04T12:12:30.305Z"}]}]},"runningFrom":"2020-04-24T13:52:20.931Z","pausedAt":"2020-05-21T01:51:27.664Z","resetAt":"2020-04-29T14:35:44.329Z","resumedAt":"2020-04-29T15:24:12.424Z","id":"5ea17940f15986251eeed7aa"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5eb17eb9e0f193527b0ca63d","description":"","isArchived":true,"slug":"V127119638","sourceId":"V127119638","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-05-05T14:56:57.391Z","updatedAt":"2020-05-05T18:39:19.198Z","id":"5eb17eb9e0f193527b0ca63e"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"HP - VDO Strip","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n //this is main helper function we use if needed. \n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n fePushEvents: function (eventName) {\n var waitForFunnelEnvy = setInterval(function () {\n if (typeof window.funnelEnvy !== \"undefined\") {\n clearInterval(waitForFunnelEnvy);\n window.funnelEnvy = window.funnelEnvy || [];\n window.funnelEnvy.push({\n event: eventName\n });\n }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n },\n insertBefore: function (beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n before: function (targetElement, beforeElement) {\n if (targetElement) {\n targetElement.insertAdjacentHTML('beforebegin', beforeElement);\n }\n },\n getCookie: function (name) {\n var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');\n return v ? v[2] : null;\n },\n setCookie: function (name, value, days) {\n var d = new Date;\n d.setTime(d.getTime() + 24 * 60 * 60 * 1000 * days);\n document.cookie = name + \"=\" + value + \";path=/;expires=\" + d.toGMTString();\n },\n doWhenJqueryLoaded: function (todoWhenLoaded) {\n var waitForjQuery = setInterval(\n function () {\n if (typeof window.jQuery != 'undefined') {\n clearInterval(waitForjQuery);\n todoWhenLoaded( );\n }\n }, 50);\n }, \n deleteCookie: function(name){\n document.cookie = \"\"+name+\"= ; expires = Thu, 01 Jan 1970 00:00:00 GMT\"\n }\n };\n var feVdoCookie=\"fe_vdo_cookie\";\n\n function bannerCodeVDO() {\n const newsText = jQuery('

Special offer for VDO RoadLog customers \"forward

').css({\n 'font-weight': '600',\n 'font-size': '14px',\n 'line-height': '19px',\n 'color': 'white',\n 'display': 'table-cell',\n 'vertical-align': 'middle',\n });\n const newsBanner = jQuery('
').css({\n 'background-color': '#4a88c2',\n 'height': '57px',\n 'text-align': 'center',\n 'display': 'table',\n 'width': '100%',\n 'position': 'fixed',\n 'top': '0',\n 'z-index': '2',\n }).append(newsText);\n jQuery('header.header').css('top', 'initial').before(newsBanner);\n jQuery('section').first().css('margin-top', '57px');\n }\n function bannerCodeVDOS() {\n const newsText = jQuery('

Special offer for VDO RoadLog customers \"forward

').css({\n 'font-weight': '600',\n 'font-size': '14px',\n 'line-height': '19px',\n 'color': 'white',\n 'display': 'table-cell',\n 'vertical-align': 'middle',\n });\n const newsBanner = jQuery('
').css({\n 'background-color': '#4a88c2',\n 'height': '57px',\n 'text-align': 'center',\n 'display': 'table',\n 'width': '100%',\n 'position': 'fixed',\n 'top': '0',\n 'z-index': '2',\n }).append(newsText);\n jQuery('header.header').css('top', 'initial').before(newsBanner);\n jQuery('section').first().css('margin-top', '57px');\n }\n\n//main function\n function initHero() {\n //calling function that changes strip content.\n feHomePageChange();\n }\nfunction feHomePageChange(){\n //feVdoCookie cookie value being set ORGjs level, that keeps an eye on visitor visits on any of the url mentioned in test. \n var feVisitVdo=FEHelper.getCookie(feVdoCookie);\n\n //if cookie value is vdo, we update content strip accordingly\n if(feVisitVdo == \"vdo\"){\n \n FEHelper.doWhenJqueryLoaded(bannerCodeVDO);\n }\n// if cookie value is vdos, we update content strip accordingly\n else if(feVisitVdo== \"vdos\"){\n \n FEHelper.doWhenJqueryLoaded(bannerCodeVDOS);\n\t}\n}\n//in testing environment, you have to wait for element on page, otherwise your code will throw error and nothing will happen. \n FEHelper.onLoadElement(\n 'body header',\n initHero,\n 50,\n 10000\n );\n})();","lastChanged":"\"2020-05-08T15:33:03.751Z\"","selector":"body"}],"selector":"body"}]},"campaign":"5eb17eb9e0f193527b0ca63d","slug":"V15649481","sourceId":"V15649481","createdAt":"2020-05-05T14:56:57.441Z","updatedAt":"2020-06-08T10:47:33.457Z","id":"5eb17eb9e0f193527b0ca63f"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","predictVariations":false,"trafficAllocation":100,"decisionMode":"A/B/n Test","name":"KT-9: V2 HP VDO(Full Scale)","pageTargets":[{"include":true,"url":"https://keeptruckin.com/","match":"simple"}],"editorUrl":"https://keeptruckin.com/","persistentDecisions":true,"source":"visual","sourceId":"C2065582","createdAt":"2020-04-23T09:21:20.573Z","updatedAt":"2020-06-08T10:48:26.412Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 11; // Desired Custom Dimension\n const campaignSlug = 'C1630656'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-05-05T18:39:19.184Z"}]}]},"description":"Audience removed, Cookie condition checked on variation code level","slug":"C2065582","status":"running","isArchived":false,"runningFrom":"2020-05-05T18:39:16.229Z","pausedAt":"2020-05-05T18:39:16.941Z","resumedAt":"2020-05-05T18:39:19.117Z","id":"5eb17eb9e0f193527b0ca63d"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5eb52d2064e95f4a10242dce","description":"","isArchived":false,"slug":"V127119640","sourceId":"V127119640","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-05-08T09:57:52.174Z","updatedAt":"2020-06-01T22:04:27.634Z","id":"5eb52d2064e95f4a10242dcf"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"KT-12: Sales","campaign":"5eb52d2064e95f4a10242dce","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V2753267","sourceId":"V2753267","redirectCode":false,"createdAt":"2020-05-08T09:59:05.406Z","updatedAt":"2020-06-01T22:04:27.634Z","customCSS":".vdo-page .FeCallbtn,\n.vdo-page .FeCallbtnMobile {\n\tdisplay: none;\n}\n\n@media screen and (min-width: 992px) {\n\t.FeCallbtn {\n\t\tdisplay: block;\n\t\ttext-align: right;\n\t\tright: 0;\n\t\tposition: absolute;\n\t\ttop: -33px;\n\t}\n\t.FeCallbtn a {\n\t\tfont-size: .875rem;\n\t\tfont-weight: 600;\n\t\ttext-transform: uppercase;\n\t}\n\t.home .header.white .FeCallbtn a {\n\t\tcolor: #fff;\n\t}\n\t.header.white .FeCallbtn a {\n\t\tcolor: #404040;\n\t}\n\thtml body header.header{\n\t\tpadding: 40px 0 18px;\n\t}\n\thtml body.vdo-page header.header {\n\t\tpadding: 24px 0;\n\t}\n\t.FeCallbtnMobile {\n\t\tdisplay: none;\n\t}\n\t.main__menu--right{\n\t\tposition: relative;\n\t}\n.navbar--menu .main__menu .dropdown__wrapper .menu__container{\n\t\tpadding-top: 18px;\n\t}\n\n/* blog page style */\nhtml .blog header#masthead , \nhtml .post-template-default header#masthead{\n padding: 40px 0 18px;\n height: auto;\n}\nhtml .blog .FeCallbtn a ,\nhtml .post-template-default .FeCallbtn a {\n color: #404040;\n}\nheader.site-header .container nav.navbar #header-nav .navbar-nav .nav-item.dropdown .sub-menu {\n top: 56px;\n}\n\n}\n\n\n\n\n@media screen and (max-width: 991px) {\n\theader.header .logo{\n\t\twidth: 100%;\n\t}\n\t.FeCallbtn {\n\t\tdisplay: none;\n\t}\n\theader.header .container {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\talign-items: center;\n\t}\n\t.FeCallbtnMobile {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t\tpadding-bottom: 0;\n\t\ttext-align: center;\n\t\tfont-size: 12px;\n\t\tpadding-right: 11px;\n\t}\n\t.FeCallbtnMobile a {\n\t\ttext-transform: uppercase;\n\t\tfont-weight: 600;\n\t}\n\t.home .header.white .FeCallbtnMobile a {\n\t\tcolor: #fff;\n\t}\n\t.header.white .FeCallbtnMobile a {\n\t\tcolor: #404040;\n\t}\n\t.header.white .FeCallbtnMobile .fewhite {\n\t\tdisplay: none;\n\t}\n\t.home .header.white .FeCallbtnMobile a .fewhite {\n\t\tdisplay: inline-block;\n\t\tmax-width: 16px;\n\t}\n\t.home .header.white .FeCallbtnMobile a .feblack {\n\t\tdisplay: none;\n\t}\n\t.FeCallbtnMobile a img {\n\t\tmax-width: 14px;\n\t}\n\n\t/* blog page mobile */\n\n\t.blog .FeCallbtnMobile a,\n\t.post-template-default .FeCallbtnMobile a{\n\t\tcolor: #1F3043;\n\t}\n\t .navbar {\n\t display: flex;\n justify-content: space-between;\n\talign-items: center;}\n\n\t.post-template-default .FeCallbtnMobile , \n\t.blog .FeCallbtnMobile{\n\t\tpadding-right: 31px;\n\t}\n\t.post-template-default .fewhite , \n\t.blog .fewhite {\n\t\tdisplay: none;\n\t}\n}\n\n@media screen and (max-width: 991px) and (min-width: 575px) {\n\t.feblack , .fewhite {\n\t\t display: none!important;\n\t}\n\t.FeCallbtnMobile a br {\n\t\tdisplay: none;\n\t}\n }\n .bmPhone {\n\tfont-size: 14px;\n }\n\n \n@media screen and (max-width: 574px) {\n .FeCallbtnMobile a span { display: none!important;}\n\n\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n fePushEvents: function (eventName) {\n var waitForFunnelEnvy = setInterval(function () {\n if (typeof window.funnelEnvy !== \"undefined\") {\n clearInterval(waitForFunnelEnvy);\n window.funnelEnvy = window.funnelEnvy || [];\n window.funnelEnvy.push({\n event: eventName\n });\n }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n },\n insertAfter: function (afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement.nextSibling\n );\n },\n insertBefore: function (beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n before: function (targetElement, beforeElement) {\n if (targetElement) {\n targetElement.insertAdjacentHTML('beforebegin', beforeElement);\n }\n }\n };\n\n\n function init() {\n\n document.body.classList.add('fe-kt12');\n var ElementDesktop = document.createElement('div');\n ElementDesktop.setAttribute(\"class\", \"FeCallbtn\");\n ElementDesktop.innerHTML = 'Sales: 855-970-0290';\n FEHelper.insertBefore(ElementDesktop, document.querySelector('.main__menu--right .contact-us-item, #header-nav .btn-wrapper .btn-transparent'));\n\n // for mobile screen \n var Elementmobile = document.createElement('div');\n Elementmobile.setAttribute(\"class\", \"FeCallbtnMobile\");\n Elementmobile.innerHTML = '
Sales: 855-970-0290
';\n FEHelper.insertAfter(Elementmobile, document.querySelector('.header .container > .logo, .navbar .navbar-brand'));\n }\n FEHelper.onLoadElement(\n '.main__menu--right,#header-nav .btn-wrapper .btn-transparent',\n init,\n 50,\n 10000\n );\n})();","lastChanged":"\"2020-05-12T11:54:57.093Z\"","selector":"header > :nth-child(1) > :nth-child(1) > img"}],"selector":"header > :nth-child(1) > :nth-child(1) > img"}]},"id":"5eb52d6964e95f4a10242dd0"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":"5eb9b8bc64e95f4a10242dd8","holdback":100,"holdbackMode":"random","predictVariations":false,"trafficAllocation":100,"decisionMode":"A/B/n Test","name":"KT-12 Toll-free","pageTargets":[{"include":true,"url":"https://keeptruckin.com/","match":"contains"},{"include":false,"url":"https://keeptruckin.com/get-in-touch","match":"contains"},{"include":false,"url":"https://keeptruckin.com/log-in","match":"simple"},{"include":false,"url":"https://keeptruckin.com/sign-up","match":"simple"},{"include":false,"url":"https://keeptruckin.com/vdo","match":"contains"}],"editorUrl":"https://keeptruckin.com/","persistentDecisions":true,"source":"visual","slug":"C8240246","sourceId":"C8240246","status":"paused","isArchived":false,"createdAt":"2020-05-08T09:57:52.154Z","updatedAt":"2020-06-01T22:04:27.631Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 9; // Desired Custom Dimension\n const campaignSlug = 'C8240246'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-05-11T20:43:10.630Z"}]}]},"runningFrom":"2020-05-08T13:28:30.565Z","pausedAt":"2020-06-01T22:04:27.603Z","resetAt":"2020-05-11T16:14:42.943Z","resumedAt":"2020-05-11T16:14:47.956Z","id":"5eb52d2064e95f4a10242dce"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5eb9b51964e95f4a10242dd5","description":"","isArchived":true,"slug":"V127119641","sourceId":"V127119641","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-05-11T20:27:05.421Z","updatedAt":"2020-05-11T20:34:54.520Z","id":"5eb9b51964e95f4a10242dd6"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"KT-12: Sales","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":".vdo-page .FeCallbtn,\n.vdo-page .FeCallbtnMobile {\n\tdisplay: none;\n}\n\n@media screen and (min-width: 992px) {\n\t.FeCallbtn {\n\t\tdisplay: block;\n\t\ttext-align: right;\n\t\tright: 0;\n\t\tposition: absolute;\n\t\ttop: -33px;\n\t}\n\t.FeCallbtn a {\n\t\tfont-size: .875rem;\n\t\tfont-weight: 600;\n\t\ttext-transform: uppercase;\n\t}\n\t.home .header.white .FeCallbtn a {\n\t\tcolor: #fff;\n\t}\n\t.header.white .FeCallbtn a {\n\t\tcolor: #404040;\n\t}\n\thtml body header.header{\n\t\tpadding: 40px 0 18px;\n\t}\n\thtml body.vdo-page header.header {\n\t\tpadding: 24px 0;\n\t}\n\t.FeCallbtnMobile {\n\t\tdisplay: none;\n\t}\n\t.main__menu--right{\n\t\tposition: relative;\n\t}\n.navbar--menu .main__menu .dropdown__wrapper .menu__container{\n\t\tpadding-top: 18px;\n\t}\n\n/* blog page style */\nhtml .blog header#masthead , \nhtml .post-template-default header#masthead{\n padding: 40px 0 18px;\n height: auto;\n}\nhtml .blog .FeCallbtn a ,\nhtml .post-template-default .FeCallbtn a {\n color: #404040;\n}\nheader.site-header .container nav.navbar #header-nav .navbar-nav .nav-item.dropdown .sub-menu {\n top: 56px;\n}\n\n}\n\n\n\n\n@media screen and (max-width: 991px) {\n\theader.header .logo{\n\t\twidth: 100%;\n\t}\n\t.FeCallbtn {\n\t\tdisplay: none;\n\t}\n\theader.header .container {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\talign-items: center;\n\t}\n\t.FeCallbtnMobile {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t\tpadding-bottom: 0;\n\t\ttext-align: center;\n\t\tfont-size: 12px;\n\t\tpadding-right: 11px;\n\t}\n\t.FeCallbtnMobile a {\n\t\ttext-transform: uppercase;\n\t\tfont-weight: 600;\n\t}\n\t.home .header.white .FeCallbtnMobile a {\n\t\tcolor: #fff;\n\t}\n\t.header.white .FeCallbtnMobile a {\n\t\tcolor: #404040;\n\t}\n\t.header.white .FeCallbtnMobile .fewhite {\n\t\tdisplay: none;\n\t}\n\t.home .header.white .FeCallbtnMobile a .fewhite {\n\t\tdisplay: inline-block;\n\t\tmax-width: 16px;\n\t}\n\t.home .header.white .FeCallbtnMobile a .feblack {\n\t\tdisplay: none;\n\t}\n\t.FeCallbtnMobile a img {\n\t\tmax-width: 14px;\n\t}\n\n\t/* blog page mobile */\n\n\t.blog .FeCallbtnMobile a,\n\t.post-template-default .FeCallbtnMobile a{\n\t\tcolor: #1F3043;\n\t}\n\t .navbar {\n\t display: flex;\n justify-content: space-between;\n\talign-items: center;}\n\n\t.post-template-default .FeCallbtnMobile , \n\t.blog .FeCallbtnMobile{\n\t\tpadding-right: 31px;\n\t}\n\t.post-template-default .fewhite , \n\t.blog .fewhite {\n\t\tdisplay: none;\n\t}\n}\n\n@media screen and (max-width: 991px) and (min-width: 575px) {\n\t.feblack , .fewhite {\n\t\t display: none!important;\n\t}\n\t.FeCallbtnMobile a br {\n\t\tdisplay: none;\n\t}\n }\n .bmPhone {\n\tfont-size: 14px;\n }\n\n \n@media screen and (max-width: 574px) {\n .FeCallbtnMobile a span { display: none!important;}\n\n\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n fePushEvents: function (eventName) {\n var waitForFunnelEnvy = setInterval(function () {\n if (typeof window.funnelEnvy !== \"undefined\") {\n clearInterval(waitForFunnelEnvy);\n window.funnelEnvy = window.funnelEnvy || [];\n window.funnelEnvy.push({\n event: eventName\n });\n }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n },\n insertAfter: function (afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement.nextSibling\n );\n },\n insertBefore: function (beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n before: function (targetElement, beforeElement) {\n if (targetElement) {\n targetElement.insertAdjacentHTML('beforebegin', beforeElement);\n }\n }\n };\n\n\n function init() {\n\n document.body.classList.add('fe-kt12');\n var ElementDesktop = document.createElement('div');\n ElementDesktop.setAttribute(\"class\", \"FeCallbtn\");\n ElementDesktop.innerHTML = 'Sales: 855-970-0290';\n FEHelper.insertBefore(ElementDesktop, document.querySelector('.main__menu--right .contact-us-item, #header-nav .btn-wrapper .btn-transparent'));\n\n // for mobile screen \n var Elementmobile = document.createElement('div');\n Elementmobile.setAttribute(\"class\", \"FeCallbtnMobile\");\n Elementmobile.innerHTML = '
Sales: 855-970-0290
';\n FEHelper.insertAfter(Elementmobile, document.querySelector('.header .container > .logo, .navbar .navbar-brand'));\n }\n FEHelper.onLoadElement(\n '.main__menu--right,#header-nav .btn-wrapper .btn-transparent',\n init,\n 50,\n 10000\n );\n})();","lastChanged":"\"2020-05-12T11:47:14.093Z\"","selector":"header > :nth-child(1) > :nth-child(1) > img"}],"selector":"header > :nth-child(1) > :nth-child(1) > img"}]},"campaign":"5eb9b51964e95f4a10242dd5","slug":"V27532671","sourceId":"V27532671","createdAt":"2020-05-11T20:27:05.492Z","updatedAt":"2020-05-12T11:47:31.632Z","id":"5eb9b51964e95f4a10242dd7"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":"5e3808260f60ca7507ce4adb","holdback":100,"holdbackMode":"random","predictVariations":false,"trafficAllocation":100,"decisionMode":"A/B/n Test","name":"KT-12 QA demo","pageTargets":[{"include":true,"url":"https://keeptruckin.com/","match":"contains"}],"editorUrl":"https://keeptruckin.com/","persistentDecisions":true,"source":"visual","sourceId":"C8885259","isArchived":false,"createdAt":"2020-05-08T09:57:52.154Z","updatedAt":"2020-05-13T10:24:13.136Z","customJavascript":[],"slug":"C8885259","status":"running","description":"Always on QA example","runningFrom":"2020-05-11T20:34:54.475Z","id":"5eb9b51964e95f4a10242dd5"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5ed5041eaedfdec01424c53f","description":"","isArchived":true,"slug":"V127119642","sourceId":"V127119642","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-06-01T13:35:26.256Z","updatedAt":"2020-06-01T22:04:46.028Z","id":"5ed5041eaedfdec01424c540"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"KT-12: Sales","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":".vdo-page .FeCallbtn,\n.vdo-page .FeCallbtnMobile {\n\tdisplay: none;\n}\n\n@media screen and (min-width: 992px) {\n\t.FeCallbtn {\n\t\tdisplay: block;\n\t\ttext-align: right;\n\t\tright: 0;\n\t\tposition: absolute;\n\t\ttop: -33px;\n\t}\n\t.FeCallbtn a {\n\t\tfont-size: .875rem;\n\t\tfont-weight: 600;\n\t\ttext-transform: uppercase;\n\t}\n\t.home .header.white .FeCallbtn a {\n\t\tcolor: #fff;\n\t}\n\t.header.white .FeCallbtn a {\n\t\tcolor: #404040;\n\t}\n\thtml body header.header{\n\t\tpadding: 40px 0 18px;\n\t}\n\thtml body.vdo-page header.header {\n\t\tpadding: 24px 0;\n\t}\n\t.FeCallbtnMobile {\n\t\tdisplay: none;\n\t}\n\t.main__menu--right{\n\t\tposition: relative;\n\t}\n.navbar--menu .main__menu .dropdown__wrapper .menu__container{\n\t\tpadding-top: 18px;\n\t}\n\n/* blog page style */\nhtml .blog header#masthead , \nhtml .post-template-default header#masthead{\n padding: 40px 0 18px;\n height: auto;\n}\nhtml .blog .FeCallbtn a ,\nhtml .post-template-default .FeCallbtn a {\n color: #404040;\n}\nheader.site-header .container nav.navbar #header-nav .navbar-nav .nav-item.dropdown .sub-menu {\n top: 56px;\n}\n\n}\n\n\n\n\n@media screen and (max-width: 991px) {\n\theader.header .logo{\n\t\twidth: 100%;\n\t}\n\t.FeCallbtn {\n\t\tdisplay: none;\n\t}\n\theader.header .container {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\talign-items: center;\n\t}\n\t.FeCallbtnMobile {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t\tpadding-bottom: 0;\n\t\ttext-align: center;\n\t\tfont-size: 12px;\n\t\tpadding-right: 11px;\n\t}\n\t.FeCallbtnMobile a {\n\t\ttext-transform: uppercase;\n\t\tfont-weight: 600;\n\t}\n\t.home .header.white .FeCallbtnMobile a {\n\t\tcolor: #fff;\n\t}\n\t.header.white .FeCallbtnMobile a {\n\t\tcolor: #404040;\n\t}\n\t.header.white .FeCallbtnMobile .fewhite {\n\t\tdisplay: none;\n\t}\n\t.home .header.white .FeCallbtnMobile a .fewhite {\n\t\tdisplay: inline-block;\n\t\tmax-width: 16px;\n\t}\n\t.home .header.white .FeCallbtnMobile a .feblack {\n\t\tdisplay: none;\n\t}\n\t.FeCallbtnMobile a img {\n\t\tmax-width: 14px;\n\t}\n\n\t/* blog page mobile */\n\n\t.blog .FeCallbtnMobile a,\n\t.post-template-default .FeCallbtnMobile a{\n\t\tcolor: #1F3043;\n\t}\n\t .navbar {\n\t display: flex;\n justify-content: space-between;\n\talign-items: center;}\n\n\t.post-template-default .FeCallbtnMobile , \n\t.blog .FeCallbtnMobile{\n\t\tpadding-right: 31px;\n\t}\n\t.post-template-default .fewhite , \n\t.blog .fewhite {\n\t\tdisplay: none;\n\t}\n}\n\n@media screen and (max-width: 991px) and (min-width: 575px) {\n\t.feblack , .fewhite {\n\t\t display: none!important;\n\t}\n\t.FeCallbtnMobile a br {\n\t\tdisplay: none;\n\t}\n }\n .bmPhone {\n\tfont-size: 14px;\n }\n\n \n@media screen and (max-width: 574px) {\n .FeCallbtnMobile a span { display: none!important;}\n \n .FeCallbtnMobile {\n\tmargin-right: 8px;\n }\n\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n fePushEvents: function (eventName) {\n var waitForFunnelEnvy = setInterval(function () {\n if (typeof window.funnelEnvy !== \"undefined\") {\n clearInterval(waitForFunnelEnvy);\n window.funnelEnvy = window.funnelEnvy || [];\n window.funnelEnvy.push({\n event: eventName\n });\n }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n },\n insertAfter: function (afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement.nextSibling\n );\n },\n insertBefore: function (beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n before: function (targetElement, beforeElement) {\n if (targetElement) {\n targetElement.insertAdjacentHTML('beforebegin', beforeElement);\n }\n }\n };\n\n\n function init() {\n\n document.body.classList.add('fe-kt12');\n var ElementDesktop = document.createElement('div');\n ElementDesktop.setAttribute(\"class\", \"FeCallbtn\");\n ElementDesktop.innerHTML = 'Sales: 855-434-3564';\n FEHelper.insertBefore(ElementDesktop, document.querySelector('.main__menu--right .contact-us-item, #header-nav .btn-wrapper .btn-transparent'));\n\n // for mobile screen \n var Elementmobile = document.createElement('div');\n Elementmobile.setAttribute(\"class\", \"FeCallbtnMobile\");\n Elementmobile.innerHTML = '
Sales: 855-434-3564
';\n FEHelper.insertAfter(Elementmobile, document.querySelector('.header .container > .logo, .navbar .navbar-brand'));\n }\n FEHelper.onLoadElement(\n '.main__menu--right,#header-nav .btn-wrapper .btn-transparent',\n init,\n 50,\n 10000\n );\n})();","lastChanged":"\"2020-06-01T13:40:03.687Z\"","selector":"header > :nth-child(1) > :nth-child(1) > img","type":"jc"}],"selector":"header > :nth-child(1) > :nth-child(1) > img"}]},"campaign":"5ed5041eaedfdec01424c53f","slug":"V27532672","sourceId":"V27532672","createdAt":"2020-06-01T13:35:26.366Z","updatedAt":"2020-06-29T06:26:51.429Z","id":"5ed5041eaedfdec01424c541"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":"5eb9b8bc64e95f4a10242dd8","holdback":100,"holdbackMode":"random","predictVariations":false,"trafficAllocation":100,"decisionMode":"A/B/n Test","name":"KT-12 Toll-free(Full Scale)","pageTargets":[{"include":true,"url":"https://keeptruckin.com/","match":"contains"},{"include":false,"url":"https://keeptruckin.com/get-in-touch","match":"contains"},{"include":false,"url":"https://keeptruckin.com/log-in","match":"simple"},{"include":false,"url":"https://keeptruckin.com/sign-up","match":"simple"},{"include":false,"url":"https://keeptruckin.com/vdo","match":"contains"},{"include":true,"url":"https://blog.keeptruckin.com/","match":"contains"}],"editorUrl":"https://keeptruckin.com/","persistentDecisions":true,"source":"visual","sourceId":"C88852591","isArchived":false,"createdAt":"2020-05-08T09:57:52.154Z","updatedAt":"2020-06-17T09:37:25.102Z","customJavascript":[],"slug":"C88852591","status":"running","description":"KT-12: Sales 100%","runningFrom":"2020-06-01T22:04:45.992Z","id":"5ed5041eaedfdec01424c53f"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5ed64fb07e8660e41469df37","description":"","isArchived":false,"slug":"V127119644","sourceId":"V127119644","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-06-02T13:10:08.405Z","updatedAt":"2020-06-22T10:52:54.704Z","id":"5ed64fb07e8660e41469df38"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"Divide fleet answers","campaign":"5ed64fb07e8660e41469df37","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V1106362","sourceId":"V1106362","redirectCode":false,"createdAt":"2020-06-02T13:11:37.057Z","updatedAt":"2020-06-22T10:52:54.704Z","customCSS":"html body [aria-labelledby=\"step-2-tab\"] .variant-1 .wp-block-kt-blocks-select-options {\n flex-basis: calc(100%/5)!important;\n}\nhtml body [aria-labelledby=\"step-2-tab\"] .variant-1 {\n max-width: 700px;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n removeClass: function (element, className) {\n if (element.classList) element.classList.remove(className);\n else\n element.className = element.className.replace(\n new RegExp('\\\\b' + className + '\\\\b', 'g'),\n ''\n );\n },\n addClass: function(element, className) {\n if (element.classList) element.classList.add(className);\n else if (!this.hasClass(element, className))\n element.className += ' ' + className;\n }\n };\n function init() {\n //get all .d-none element and remove the class \n var feDone = document.querySelectorAll('.variant-1');\n for (var i = 0; i < feDone.length; i++) {\n //remove class form element\n FEHelper.removeClass(feDone[i], 'd-none');\n }\n\n var feDefault = document.querySelectorAll('.variant-default');\n for (var i = 0; i < feDefault.length; i++) {\n //remove class form element\n FEHelper.addClass(feDefault[i], 'd-none');\n }\n }\n //wait for element to edit/update\n FEHelper.onLoadElement(\n 'body .d-none',\n init,\n 50,\n 10000\n );\n\n})();","lastChanged":"\"2020-06-02T13:20:26.775Z\"","selector":"#multi-step-form > section","type":"jc"}],"selector":"#multi-step-form > section"}]},"id":"5ed650097e8660e41469df39"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"KT-14: fleet question","pageTargets":[{"include":true,"url":"https://keeptruckin.com/get-in-touch","match":"simple"}],"editorUrl":"https://keeptruckin.com/get-in-touch?id=pricing","persistentDecisions":true,"source":"visual","slug":"C1961781","sourceId":"C1961781","status":"paused","isArchived":false,"createdAt":"2020-06-02T13:10:08.391Z","updatedAt":"2020-06-22T10:52:54.701Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 11; // Desired Custom Dimension\n const campaignSlug = 'C1961781'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-06-02T15:45:42.151Z"}]}]},"runningFrom":"2020-06-02T15:45:39.108Z","pausedAt":"2020-06-22T10:52:54.651Z","resumedAt":"2020-06-02T15:45:42.113Z","id":"5ed64fb07e8660e41469df37"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5ed8be04aedfdec01424c545","description":"","isArchived":false,"slug":"V127119645","sourceId":"V127119645","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-06-04T09:25:24.773Z","updatedAt":"2020-07-01T11:30:57.227Z","customCSS":"","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n }\n };\n function init() {\n document.querySelector(\".main-content .learn-more\").setAttribute(\"href\", \"/dashcam?fe=v0\");\n }\n FEHelper.onLoadElement('.main-content .learn-more', init, 50, 10000);\n })();","lastChanged":"\"2020-06-08T14:46:03.449Z\"","selector":"body"}]}]},"id":"5ed8be04aedfdec01424c546"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"People","campaign":"5ed8be04aedfdec01424c545","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V1907941","sourceId":"V1907941","redirectCode":false,"createdAt":"2020-06-04T09:26:48.055Z","updatedAt":"2020-07-01T11:30:57.227Z","customCSS":"html body.log-in .blue-section .deep-blue .title .parts:last-child { display: none;}\n\nhtml body.log-in .blue-section .deep-blue .learn-more {\n height: 50px;\n line-height: 29px;\n max-height: inherit;\n /* text-transform: uppercase; */\n}\nhtml body .blue-section .daschcam-image{\n display: none;\n} \nhtml body .blue-section .wrapper.dashcam {\n background-image: url(https://fe-test-dev.s3.amazonaws.com/KT/KT-15/Group+20-compressed.jpg)!important;\n background-size: cover;\n background-position: center center;\n}\nhtml body.log-in .blue-section .deep-blue .daschcam-image{ display: none;}\nhtml body.log-in .blue-section .blue-section {\n background-color: transparent;\n /* height: 100vh;\n display: grid; */\n}\nhtml body.log-in .blue-section .wrapper.dashcam{\n padding: 120px 0 0;\n}\nhtml body.log-in .deep-blue .title{\n margin-bottom: 12px !important;\n}\n.blue-section .learn-more{\n display: none!important;\n}\n\n.blue-section .learn-more.Febtnstyle{display: inline-block!important;}\n\n@media (max-width: 991px){\n html body.log-in .blue-section .wrapper.dashcam {\n padding: 52px 0 52px 0px;\n height: 71vh;\n }\n html body.log-in .deep-blue .title br{\n display: none;\n } \n}\n\n@media (min-width:1025px) and (max-width:1560px){\n html body.log-in .blue-section .wrapper.dashcam {\n position: absolute;\n width: 100%;\n }\n html body.log-in .blue-section .blue-section{\n height: auto;\n }\n html body.log-in .wrapper{\n padding: 78px 99px 150px 116px !important;\n }\n html body.log-in .blue-section .wrapper.dashcam {\n padding: 78px 69px 150px 87px !important;\n }\n}\n\n@media (min-width:1140px) and (max-width:1366px){\n html body.log-in .blue-section .wrapper.dashcam {\n padding: 78px 138px 150px 153px !important;\n }\n html body.log-in .blue-section .wrapper.dashcam {\n padding: 120px 55px;\n }\n}\n@media screen and (max-width: 1140px) and (min-width: 1024px) {\n html body.log-in .blue-section .wrapper.dashcam {\n padding: 120px 55px;\n }\n}\n\n@media screen and (max-width: 1023px) and (min-width: 992px) {\n html body.log-in .no-padding {\n display: flex;\n flex-direction: column !important;\n }\n html body.log-in .no-padding> div{\n width: 100% !important;\n }\n html body.log-in .no-padding> div {\n height: 115vh;\n }\n }\n@media screen and (max-width:1199px){\n html body.log-in .deep-blue .descp br{\n display: none;\n }\n\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n insertBefore: function (beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n insertAfter: function (afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement\n );\n } \n };\n\n var Febtn =''+ \n ' '+ \n ' Refer Now'+ \n ' ';\n\n var Feimagediv = '';\n \n // add image on page load on body \n function Imageload(){\n var Feimagediv1 = document.createElement('div');\n Feimagediv1.innerHTML=Feimagediv;\n Feimagediv1.style.display = \"none\";\n document.querySelector(\"body\").appendChild(Feimagediv1);\n }\n\n\n function init() {\n // change text \n document.querySelector(\".dashcam .blue-section .title .parts\").innerHTML = \"Earn With KeepTruckin's Referral Program\";\n document.querySelector(\".dashcam .blue-section .descp\").innerHTML = \n \"Get up to $500 for each referral that signs up\";\n // add learn more btn\n var btnselector = document.querySelector('.learn-more');\n var btnwrap = document.createElement('a');\n btnwrap.href = \"https://keeptruckin.com/refer?fe=v1#refer--form\";\n btnwrap.target = \"_blank\";\n btnwrap.innerHTML= \"Refer Now\";\n btnwrap.className = \"btn btn--outline--light learn-more Febtnstyle\";\n FEHelper.insertAfter(btnwrap, btnselector);\n\n // event click for popup \n // btnwrap.addEventListener('click',function(){\n // window.open('https://keeptruckin.com/refer?fe=v1#refer--form', '_blank', 'location=yes,height=700,width=1000,scrollbars=yes,status=yes');\n // });\n \n }\n \n\n FEHelper.onLoadElement('body', Imageload, 50, 10000);\n FEHelper.onLoadElement('.title .parts', init, 50, 10000);\n })();","lastChanged":"\"2020-06-11T05:27:22.072Z\"","selector":"body"}],"selector":"body"}]},"id":"5ed8be58aedfdec01424c547"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"1-2-3 steps","campaign":"5ed8be04aedfdec01424c545","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V1873108","sourceId":"V1873108","redirectCode":false,"createdAt":"2020-06-04T09:28:42.244Z","updatedAt":"2020-07-01T11:30:57.227Z","customCSS":"html body.log-in .blue-section .deep-blue .title .parts:last-child { display: none;}\n\nhtml body.log-in .blue-section .deep-blue .learn-more {\n height: 50px;\n line-height: 29px;\n max-height: inherit;\n margin-top: 30px;\n /* text-transform: uppercase; */\n}\nhtml body .blue-section .daschcam-image{\n display: none;\n} \nhtml body .main-content .deep-blue {\n background-image: url(\"https://fe-test-dev.s3.amazonaws.com/KT/KT-15/Hardware_Vehicle+Gateway_020+3+(1)-compressed.jpg\")!important;\n background-size: cover;\n background-position: center center;\n /* height: auto !important; */\n}\nhtml body.log-in .blue-section .deep-blue .daschcam-image{ display: none;}\n\nhtml body .blue-section .FeFeature {\n margin-top: 27px;\n}\n\nhtml body .blue-section .feature-col {\n text-align: center;\n}\nhtml body .blue-section .feature__title{\n\n padding: 23px 0;\n color: #fff;\n font-size: 17px;\n line-height: 26px;\n font-weight: 600;\n}\nhtml body .blue-section .feature-col img {\n width: auto;\n height: 54px;\n}\nhtml body .blue-section .FeFeature .col-md-4{\n display: flex;\n justify-content: center;\n}\nhtml body .blue-section .wrapper.dashcam{\n display: flex;\n width: 100%;\n padding-top: 115px;\n}\nhtml body .blue-section .dashcam .blue-section{\n width: 100%;\n background-color: transparent;\n}\nhtml body.log-in .blue-section .deep-blue .learn-more{\n margin-bottom: 45px;\n}\n.form-wrapper form#sign-in-page-form button {\n margin-bottom: 30px;\n}\n@media (max-width: 554px){\n html body .blue-section .feature__title br {\n display: none;\n }\n \n}\n.blue-section .learn-more{\n display: none!important;\n}\n.blue-section .learn-more.Febtnstyle{display: inline-block!important;}\n\n@media (min-width:1025px) and (max-width:1560px){\n html body.log-in .blue-section .wrapper.dashcam {\n position: absolute;\n width: 100%;\n \n }\n html body.log-in .blue-section .blue-section{\n height: auto !important;\n }\n html body.log-in .wrapper{\n padding-bottom: 150px !important;\n }\n}\n\n@media screen and (max-width: 1023px) and (min-width: 992px) {\n html body.log-in .no-padding {\n display: flex;\n flex-direction: column !important;\n }\n html body.log-in .no-padding> div{\n width: 100% !important;\n }\n html body.log-in .blue-section .wrapper.dashcam {\n padding: 52px 0 52px 0px;\n }\n html body.log-in .no-padding> div {\n height: 115vh;\n }\n}\n\n@media (max-width: 991px){\n \n html body .blue-section .wrapper.dashcam{\n padding-top: 41px;\n }\n html body .blue-section .FeFeature{\n padding: 0 20px;\n \n }\n html body.log-in .blue-section .wrapper.dashcam {\n padding: 52px 0 52px 0px;\n }\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n insertBefore: function (beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n insertAfter: function (afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement\n );\n }\n };\n\n var Febtn =''+ \n ' '+ \n' Refer Now'+ \n' ';\n\n var FeFeature =''+ \n '
'+ \n '
'+ \n '
'+ \n ' \"program\"'+ \n ' '+ \n '
Sign up for the program
'+ \n '
'+ \n '
'+ \n '
'+ \n '
'+ \n ' \"refer'+ \n ' '+ \n '
Share your referral link
'+ \n '
'+ \n '
'+ \n '
'+ \n '
'+ \n ' \"commission\"'+ \n ' '+ \n '
Collect commissions
'+ \n '
'+\n '
';\n\n var Feimagediv = '';\n \n // add image on page load on body \n function Imageload(){\n var Feimagediv1 = document.createElement('div');\n Feimagediv1.innerHTML=Feimagediv;\n Feimagediv1.style.display = \"none\";\n document.querySelector(\"body\").appendChild(Feimagediv1);\n }\n\n function init() {\n\n\n // add feature section \n var targetElement = document.querySelector('.dashcam .blue-section .descp + .learn-more');\n var FeFeaturesection = document.createElement('div');\n FeFeaturesection.setAttribute('class', 'FeFeature');\n FeFeaturesection.innerHTML = FeFeature;\n FEHelper.insertAfter(FeFeaturesection, targetElement);\n // add learn more btn \n var btnselector = document.querySelector('.learn-more');\n var btnwrap = document.createElement('a');\n btnwrap.href = \"https://keeptruckin.com/refer?fe=v1#refer--form\";\n btnwrap.target = \"_blank\";\n btnwrap.innerHTML= \"Refer Now\";\n btnwrap.className = \"btn btn--outline--light learn-more Febtnstyle\";\n FEHelper.insertAfter(btnwrap, btnselector);\n\n // event click for popup \n // btnwrap.addEventListener('click',function(){\n // window.open('https://keeptruckin.com/refer?fe=v2#refer--form', '_blank', 'location=yes,height=700,width=1000,scrollbars=yes,status=yes');\n // });\n \n // change text \n document.querySelector(\".dashcam .blue-section .title .parts\").innerHTML = \"Earn With KeepTruckin's Referral Program\";\n document.querySelector(\".dashcam .blue-section .descp\").innerHTML = \n \"Get up to $500 for each referral that signs up\";\n \n \n }\n\n FEHelper.onLoadElement('body', Imageload, 50, 10000);\n FEHelper.onLoadElement('.title .parts', init, 50, 10000);\n \n })();","lastChanged":"\"2020-06-16T10:32:41.774Z\"","selector":"body"}],"selector":"body"}]},"id":"5ed8becaaedfdec01424c548"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":70,"predictVariations":false,"decisionMode":"A/B/n Test","name":"KT-15: Login Referral Promo","pageTargets":[{"include":true,"url":"https://keeptruckin.com/log-in","match":"simple"}],"editorUrl":"https://keeptruckin.com/log-in","persistentDecisions":true,"source":"visual","slug":"C1227037","sourceId":"C1227037","status":"paused","isArchived":false,"createdAt":"2020-06-04T09:25:24.758Z","updatedAt":"2020-07-01T11:30:57.220Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 9; // Desired Custom Dimension\n const campaignSlug = 'C1227037'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-06-15T22:44:07.001Z"}]}]},"runningFrom":"2020-06-15T22:44:06.955Z","pausedAt":"2020-07-01T11:30:57.175Z","id":"5ed8be04aedfdec01424c545"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5ede63200dad2e2f61644b9b","description":"","isArchived":false,"slug":"V127119646","sourceId":"V127119646","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-06-08T16:11:12.370Z","updatedAt":"2020-07-01T11:31:12.401Z","id":"5ede63200dad2e2f61644b9c"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"Single Row","campaign":"5ede63200dad2e2f61644b9b","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V1693055","sourceId":"V1693055","redirectCode":false,"createdAt":"2020-06-08T16:12:04.999Z","updatedAt":"2020-07-01T11:31:12.401Z","customCSS":"@media screen and (min-width: 992px) {\n html body > header.header.white, \n html body.blog header#masthead {\n padding: 24px 0;\n }\n}\n\nhtml body .FeCallbtn{\n display: none;\n}\n\nhtml body .fe_sales-link {\n text-align: center;\n padding: 0 0.5rem 0 0;\n position: relative;\n top: 4px;\n display: none;\n float: right;\n}\n\nhtml body .fe_sales-link a {\n color: #404040;\n font-size: .875rem;\n text-transform: uppercase;\n font-weight: 600;\n}\n\n/* html body .fe_sales-link a img {\n max-width: 14px;\n display: none;\n margin: auto;\n} */\n\nhtml body .fe_sales-link a img.fe_white, \nhtml body.home .fe_sales-link a img.fe_black {\n display: none;\n}\n\nhtml body.home .fe_sales-link a {\n color: #fff;\n}\n\nhtml body.home .fe_sales-link a img.fe_white {\n display: block;\n}\n\nhtml body.home.blog .fe_sales-link a img.fe_black {\n display: block;\n}\n\nhtml body.home.blog .fe_sales-link a {\n color: #404040;\n}\n\nhtml body.home.blog .fe_sales-link a img.fe_white {\n display: none;\n}\n\nhtml body.blog .fe_sales-link {\n padding-right: 0;\n margin-right: 32px;\n}\n\n@media (max-width: 1199px) {\n html body .main__menu .dropdown__wrapper:first-child>.menu__item {\n margin-left: 15px;\n }\n\n html body .main__menu .menu__item {\n margin-left: 15px;\n }\n\n html body .main__menu.main__menu--right .menu__item {\n margin-right: 10px;\n }\n\n html body .main__menu.main__menu--right .btn {\n min-width: 0;\n padding: 6px 15px;\n }\n\n html body header.site-header .container nav.navbar #header-nav .navbar-nav li:first-child {\n margin-left: 15px;\n }\n\n html body header.site-header .container nav.navbar #header-nav .navbar-nav .nav-item {\n margin-left: 15px;\n }\n\n html body header.site-header .container nav.navbar #header-nav .btn-wrapper .btn-try-free {\n width: auto;\n margin-left: 0;\n } \n}\n\n/* @media (max-width: 991px) {\n html body .fe_sales-link {\n display: block;\n }\n} */\n\n\n@media screen and (min-width:1200px){\n html body header.site-header .container nav.navbar #header-nav .navbar-nav .nav-item:not(:first-child),\n html body .header .navbar--menu .main__menu--left >.dropdown__wrapper:nth-child(2) > a,\n html body .header .navbar--menu .main__menu--left > a {\n margin-left: 26px !important;\n}\nhtml body header.site-header .container nav.navbar #header-nav .btn-wrapper .btn-try-free{\n margin-left: 0px;\n}\nhtml body .main__menu.main__menu--right .menu__item{\n margin-right: 24px;\n}\n} \n/* @media screen and (max-width: 767px) {\n .bmPhone {\n display: none;\n }\n html body .fe_sales-link a img.fewhite {\n display: block;\n }\n} */","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"console.log('>> KT:16 - Phone No inline');\n(function() {\n var FEHelper = {\n onLoadElement: function(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function() {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function() {\n clearInterval(interval);\n }, delayTimeout);\n },\n insertAfter: function(afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement.nextSibling\n );\n },\n };\n\n function init() {\n // Adjust text for Customers\n document.querySelector('.navbar--menu .main__menu--left a[href=\"https://keeptruckin.com/case-studies\"]').innerText = 'Customers';\n\n // Add sales link for desktop\n var targetElement = document.querySelector('.navbar--menu .main__menu--left > a:last-child');\n var afterElement = document.createElement('a');\n afterElement.innerHTML = 'Sales: 855-434-3564';\n afterElement.setAttribute('href', 'tel:855-434-3564');\n afterElement.setAttribute('class', 'menu__item menu-item menu-item-type-custom menu-item-object-custom');\n FEHelper.insertAfter(afterElement, targetElement);\n\n // FEHelper.onLoadElement(\".header .container .navbar--toggler\", function() {\n // Add sales link for mobile\n // var logoElement = document.querySelector('.header .container .navbar--toggler');\n // var linkElement = document.createElement('div');\n // linkElement.innerHTML = ' Sales ';\n // linkElement.innerHTML = 'Sales 855-970-0290 ';\n // linkElement.setAttribute('class', 'fe_sales-link');\n // FEHelper.insertAfter(linkElement, logoElement);\n // logoElement.parentNode.insertBefore(linkElement, logoElement); \n // }, 50, 10000)\n \n }\n\n function initBlog() {\n // Adjust text for Customers\n document.querySelector('#header-nav #menu-header a[href=\"https://keeptruckin.com/case-studies\"]').innerText = 'Customers';\n\n // Add sales link for desktop\n var targetElement = document.querySelector('#header-nav #menu-header > li:last-child');\n var afterElement = document.createElement('li');\n afterElement.innerHTML = 'Sales: 855-434-3564';\n afterElement.setAttribute('class', 'nav-item menu-item menu-item-type-custom menu-item-object-custom');\n FEHelper.insertAfter(afterElement, targetElement);\n\n // Add sales link for mobile\n // var logoElement = document.querySelector('header.site-header .container nav.navbar .side-navbar-toggler');\n // var linkElement = document.createElement('div');\n // linkElement.innerHTML = ' Sales ';\n // linkElement.setAttribute('class', 'fe_sales-link');\n // FEHelper.insertAfter(linkElement, logoElement);\n }\n\n if (window.location.href.indexOf('/blog') > -1) {\n FEHelper.onLoadElement('#header-nav #menu-header a[href=\"https://keeptruckin.com/case-studies\"]', initBlog, 50, 10000);\n } else {\n FEHelper.onLoadElement('.navbar--menu .main__menu--left a[href=\"https://keeptruckin.com/case-studies\"]', init, 50, 10000);\n }\n\n})();","lastChanged":"\"2020-06-18T05:44:26.909Z\"","selector":"body"}],"selector":"body"}]},"id":"5ede63549ed115d5654df46f"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":50,"predictVariations":false,"decisionMode":"A/B/n Test","name":"KT-16: Nav Single Row","pageTargets":[{"include":true,"url":"https://keeptruckin.com/","match":"contains"},{"include":true,"url":"https://blog.keeptruckin.com/","match":"contains"},{"include":false,"url":"https://keeptruckin.com/get-in-touch?id=pricing","match":"simple"},{"include":false,"url":"https://keeptruckin.com/vdo","match":"simple"}],"editorUrl":"https://keeptruckin.com/","persistentDecisions":true,"source":"visual","slug":"C1596198","sourceId":"C1596198","status":"paused","isArchived":false,"createdAt":"2020-06-08T16:11:12.352Z","updatedAt":"2020-07-01T11:31:12.396Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 11; // Desired Custom Dimension\n const campaignSlug = 'C1596198'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}\n//console.log('>> KeepTruckin-16: [Sitewide] Reduce white space on the nav bar');\n","lastChanged":"2020-06-12T18:34:44.289Z"}]}]},"runningFrom":"2020-06-12T18:34:20.924Z","pausedAt":"2020-07-01T11:31:12.346Z","resumedAt":"2020-06-12T18:34:44.244Z","id":"5ede63200dad2e2f61644b9b"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5ee2330e7e8660e41469df65","description":"","isArchived":false,"slug":"V127119647","sourceId":"V127119647","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-06-11T13:35:10.715Z","updatedAt":"2020-07-02T06:15:01.401Z","id":"5ee2330e7e8660e41469df66"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"Dual CTA","campaign":"5ee2330e7e8660e41469df65","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V5558617","sourceId":"V5558617","redirectCode":false,"createdAt":"2020-06-11T13:35:57.929Z","updatedAt":"2020-07-02T06:15:01.402Z","customCSS":"html body .fe-cta,\nhtml body .page-block-blue:not(.page-block-info){\n background-image: -webkit-linear-gradient(232deg,#2c6192 0%,#0b2d4e 100%);\n background-image: -o-linear-gradient(232deg,#2c6192 0%,#0b2d4e 100%);\n background-image: linear-gradient(218deg,#2c6192 0%,#0b2d4e 100%);\n}\nhtml body .page-block-blue:not(.page-block-info){\n padding: 66px 0px !important;\n}\nhtml body .page-block-blue:not(.page-block-info) .fe-cta-bottom {\n width: 100%;\n text-align: center;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n}\nhtml body .page-block-blue:not(.page-block-info) a.fe-demo, \nhtml body .page-block-blue:not(.page-block-info) a.fe-price{\n font-size: 16px;\n width: 215px !important;\n padding: 12px 36px !important;\n}\nhtml body .page-block-blue:not(.page-block-info) a.fe-price {\n margin-right: 20px;\n}\nhtml body .page-block-blue:not(.page-block-info) p {\n width: 100%;\n font-size: 36px !important;\n margin-bottom: 64px !important;\n}\nhtml body .fe-cta {\n display: flex;\n flex-direction: column;\n justify-content: center;\n text-align: center;\n padding: 40px 0px;\n align-items: center;\n}\nhtml body p.fe-cta-heading {\n font-size: 23px !important;\n margin-bottom: 45px;\n color: #fff !important;\n font-weight: 600 !important;\n}\na.fe-demo,\na.fe-price {\n display: block !important;\n padding: 8px 0px !important;\n border-radius: 5px;\n color: #1a456d;\n background: #f6c900;\n font-weight: 600;\n font-size: 16px;\n width: 62% !important;\n cursor: pointer;\n -webkit-transition: -webkit-transform .3s ease-in-out;\n transition: -webkit-transform .3s ease-in-out;\n -o-transition: transform .3s ease-in-out;\n transition: transform .3s ease-in-out;\n transition: transform .3s ease-in-out,-webkit-transform .3s ease-in-out;\n}\na.fe-demo:hover,\na.fe-price:hover {\n webkit-transform: scale(1.05);\n -ms-transform: scale(1.05);\n transform: scale(1.05);\n \n}\na.fe-demo:hover{\n background: #fff;\n color: #4a88c2;\n}\na.fe-demo {\n background: transparent;\n border: 1px solid;\n color: #fff;\n margin: 30px 0px 0px;\n}\n.page-block-blue:not(.page-block-info) .container .hero-cta-wrapper,\n.page-block-blue:not(.page-block-info) .container .cta-heading{\n display: none;\n}\n\n\nhtml body .page-block-blue:not(.page-block-info) a.fe-demo{\n margin: 0px;\n}\n\n@media screen and (max-width:767px) and (min-width:450px){\n html body a.fe-demo,\n html body a.fe-price {\n width: 43% !important;\n}\n}\n\n@media screen and (max-width:449px){\n p.fe-cta-heading {\n padding: 0 10px;\n }\n \n html body a.fe-demo,\n html body a.fe-price {\n width: 180px !important;\n }\n}\n@media screen and (max-width:370px){\n html body a.fe-demo,\n html body a.fe-price {\n width: 150px !important;\n }\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n insertBefore: function (beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n insertAfter: function (afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement\n );\n },\n live: function (selector, event, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent('on' + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element && function (ElementPrototype) {\n ElementPrototype.matches = ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function (selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(selector),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n }(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function (e) {\n var found, el = e.target || e.srcElement;\n while (el && el.matches && el !== context && !(found = el.matches(selector))) el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n } \n };\n\n var feCTA =''+ \n '

Ready to get started?

'+\n ' Get Pricing'+ \n ' Request Demo'; \n\n function init() {\n // Add New Section\n var firstDiv = document.querySelector('.page-block .card-layout .card');\n var feCtaDiv = document.createElement('div');\n feCtaDiv.innerHTML= feCTA;\n feCtaDiv.className = \"fe-cta\";\n FEHelper.insertAfter(feCtaDiv, firstDiv);\n \n var secondDiv = document.querySelector('.page-block-blue:not(.page-block-info) .container .cta-heading');\n var feCtaDiv2 = document.createElement('div');\n feCtaDiv2.innerHTML= feCTA;\n feCtaDiv2.className = \"fe-cta-bottom\";\n FEHelper.insertAfter(feCtaDiv2, secondDiv);\n FEHelper.live('.fe-cta-bottom a','click',function(){\n localStorage.setItem('fe-new-cta',true);\n });\n FEHelper.live('.fe-cta a','click',function(){\n localStorage.setItem('fe-new-cta',true);\n });\n }\n \n\n FEHelper.onLoadElement('.page-block .card-layout .card', init, 50, 10000);\n })();","lastChanged":"\"2020-06-15T12:49:48.672Z\"","selector":":nth-child(1) > :nth-child(1) > :nth-child(1) > span"}],"selector":":nth-child(1) > :nth-child(1) > :nth-child(1) > span"}]},"id":"5ee2333d7e8660e41469df67"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"KT-17: Case Studies","pageTargets":[{"include":true,"url":"https://keeptruckin.com/case-studies/","match":"contains"},{"include":false,"url":"https://keeptruckin.com/case-studies/","match":"simple"}],"editorUrl":"https://keeptruckin.com/case-studies/tri-pol-enterprises","persistentDecisions":true,"source":"visual","slug":"C1738123","sourceId":"C1738123","status":"paused","isArchived":false,"createdAt":"2020-06-11T13:35:10.703Z","updatedAt":"2020-07-02T06:15:01.396Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 9; // Desired Custom Dimension\n const campaignSlug = 'C1738123'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-06-15T22:33:25.417Z"}]}]},"runningFrom":"2020-06-15T22:33:25.376Z","pausedAt":"2020-07-02T06:15:01.339Z","id":"5ee2330e7e8660e41469df65"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5ee234429ed115d5654df474","description":"","isArchived":false,"slug":"V127119648","sourceId":"V127119648","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-06-11T13:40:18.695Z","updatedAt":"2020-07-02T06:13:52.911Z","id":"5ee234429ed115d5654df475"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"Dual CTA","campaign":"5ee234429ed115d5654df474","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V1888522","sourceId":"V1888522","redirectCode":false,"createdAt":"2020-06-11T13:40:56.037Z","updatedAt":"2020-07-02T06:13:52.911Z","customCSS":"html body .fe-cta{\n background-image: linear-gradient(to right, #18426a, #24537f, #255480, #295d8e);\n}\n\nhtml body .fe-cta {\n display: flex;\n flex-direction: column;\n justify-content: center;\n text-align: center;\n padding: 40px 0px;\n align-items: center;\n}\nhtml body p.fe-cta-heading {\n font-size: 21px !important;\n margin-bottom: 45px;\n color: #fff !important;\n font-weight: 600 !important;\n margin-top: 0px;\n}\na.fe-demo,\na.fe-price {\n display: block !important;\n padding: 8px 0px !important;\n border-radius: 5px;\n color: #1a456d;\n background: #f6c900;\n font-weight: 600;\n font-size: 16px;\n width: 62% !important;\n cursor: pointer;\n -webkit-transition: -webkit-transform .3s ease-in-out;\n transition: -webkit-transform .3s ease-in-out;\n -o-transition: transform .3s ease-in-out;\n transition: transform .3s ease-in-out;\n transition: transform .3s ease-in-out,-webkit-transform .3s ease-in-out;\n}\na.fe-demo:hover,\na.fe-price:hover {\n webkit-transform: scale(1.05);\n -ms-transform: scale(1.05);\n transform: scale(1.05);\n \n}\na.fe-demo:hover{\n background: #fff;\n color: #4a88c2;\n}\na.fe-demo {\n background: transparent;\n border: 1px solid;\n color: #fff;\n margin: 30px 0px 0px;\n}\n.sidebar-content .try-free-box{\n display: none;\n}\n\n@media screen and (max-width:767px) and (min-width:450px){\n html body a.fe-demo,\n html body a.fe-price {\n width: 43% !important;\n}\n}\n\n@media screen and (max-width:449px){\n p.fe-cta-heading {\n padding: 0 10px;\n }\n \n html body a.fe-demo,\n html body a.fe-price {\n width: 180px !important;\n }\n}\n@media screen and (max-width:370px){\n html body a.fe-demo,\n html body a.fe-price {\n width: 150px !important;\n }\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n insertBefore: function (beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n insertAfter: function (afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement\n );\n },\n live: function (selector, event, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent('on' + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element && function (ElementPrototype) {\n ElementPrototype.matches = ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function (selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(selector),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n }(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function (e) {\n var found, el = e.target || e.srcElement;\n while (el && el.matches && el !== context && !(found = el.matches(selector))) el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n } \n };\n\n var feCTA =''+ \n '

Ready to get started?

'+\n ' Get Pricing'+ \n ' Request Demo'; \n\n function init() {\n // Add New Section\n var firstDiv = document.querySelector('.sidebar-content .try-free-box');\n var feCtaDiv = document.createElement('div');\n feCtaDiv.innerHTML= feCTA;\n feCtaDiv.className = \"fe-cta\";\n FEHelper.insertAfter(feCtaDiv, firstDiv);\n FEHelper.live('.fe-cta a','click',function(){\n // localStorage.setItem('fe-new-cta',true);\n });\n }\n \n\n FEHelper.onLoadElement('.sidebar-content .try-free-box', init, 50, 10000);\n })();","lastChanged":"\"2020-06-15T14:10:43.406Z\"","selector":"h1"}],"selector":"h1"}]},"id":"5ee234689ed115d5654df476"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"KT-18: Blog CTAs","pageTargets":[{"include":true,"url":"https://blog.keeptruckin.com/","match":"contains"}],"editorUrl":"https://blog.keeptruckin.com/covid-19-cares-act/","persistentDecisions":true,"source":"visual","slug":"C1839580","sourceId":"C1839580","status":"paused","isArchived":false,"createdAt":"2020-06-11T13:40:18.672Z","updatedAt":"2020-07-02T06:13:52.905Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 11; // Desired Custom Dimension\n const campaignSlug = 'C1839580'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-06-15T22:28:00.807Z"}]}]},"runningFrom":"2020-06-15T22:21:11.569Z","pausedAt":"2020-07-02T06:13:52.845Z","id":"5ee234429ed115d5654df474"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5efd78e3c7e2dce1131f62a2","description":"","isArchived":true,"slug":"V127119649","sourceId":"V127119649","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-07-02T06:04:19.399Z","updatedAt":"2020-07-02T06:16:24.423Z","id":"5efd78e3c7e2dce1131f62a3"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"Dual CTA","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-cta{\n background-image: linear-gradient(to right, #18426a, #24537f, #255480, #295d8e);\n}\n\nhtml body .fe-cta {\n display: flex;\n flex-direction: column;\n justify-content: center;\n text-align: center;\n padding: 40px 0px;\n align-items: center;\n}\nhtml body p.fe-cta-heading {\n font-size: 21px !important;\n margin-bottom: 45px;\n color: #fff !important;\n font-weight: 600 !important;\n margin-top: 0px;\n}\na.fe-demo,\na.fe-price {\n display: block !important;\n padding: 8px 0px !important;\n border-radius: 5px;\n color: #1a456d;\n background: #f6c900;\n font-weight: 600;\n font-size: 16px;\n width: 62% !important;\n cursor: pointer;\n -webkit-transition: -webkit-transform .3s ease-in-out;\n transition: -webkit-transform .3s ease-in-out;\n -o-transition: transform .3s ease-in-out;\n transition: transform .3s ease-in-out;\n transition: transform .3s ease-in-out,-webkit-transform .3s ease-in-out;\n}\na.fe-demo:hover,\na.fe-price:hover {\n webkit-transform: scale(1.05);\n -ms-transform: scale(1.05);\n transform: scale(1.05);\n \n}\na.fe-demo:hover{\n background: #fff;\n color: #4a88c2;\n}\na.fe-demo {\n background: transparent;\n border: 1px solid;\n color: #fff;\n margin: 30px 0px 0px;\n}\n.sidebar-content .try-free-box{\n display: none;\n}\n\n@media screen and (max-width:767px) and (min-width:450px){\n html body a.fe-demo,\n html body a.fe-price {\n width: 43% !important;\n}\n}\n\n@media screen and (max-width:449px){\n p.fe-cta-heading {\n padding: 0 10px;\n }\n \n html body a.fe-demo,\n html body a.fe-price {\n width: 180px !important;\n }\n}\n@media screen and (max-width:370px){\n html body a.fe-demo,\n html body a.fe-price {\n width: 150px !important;\n }\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n insertBefore: function (beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n insertAfter: function (afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement\n );\n },\n live: function (selector, event, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent('on' + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element && function (ElementPrototype) {\n ElementPrototype.matches = ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function (selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(selector),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n }(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function (e) {\n var found, el = e.target || e.srcElement;\n while (el && el.matches && el !== context && !(found = el.matches(selector))) el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n } \n };\n\n var feCTA =''+ \n '

Ready to get started?

'+\n ' Get Pricing'+ \n ' Request Demo'; \n\n function init() {\n // Add New Section\n var firstDiv = document.querySelector('.sidebar-content .try-free-box');\n var feCtaDiv = document.createElement('div');\n feCtaDiv.innerHTML= feCTA;\n feCtaDiv.className = \"fe-cta\";\n FEHelper.insertAfter(feCtaDiv, firstDiv);\n FEHelper.live('.fe-cta a','click',function(){\n // localStorage.setItem('fe-new-cta',true);\n });\n }\n \n\n FEHelper.onLoadElement('.sidebar-content .try-free-box', init, 50, 10000);\n })();","lastChanged":"\"2020-06-15T14:10:43.406Z\"","selector":"h1"}],"selector":"h1"}]},"campaign":"5efd78e3c7e2dce1131f62a2","slug":"V18885221","sourceId":"V18885221","createdAt":"2020-07-02T06:04:19.478Z","updatedAt":"2020-07-02T06:16:24.424Z","id":"5efd78e3c7e2dce1131f62a4"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"KT-18: Blog CTAs (Full Scale)","pageTargets":[{"include":true,"url":"https://blog.keeptruckin.com/","match":"contains"}],"editorUrl":"https://blog.keeptruckin.com/covid-19-cares-act/","persistentDecisions":true,"source":"visual","sourceId":"C9974423","isArchived":false,"createdAt":"2020-06-11T13:40:18.672Z","updatedAt":"2020-07-02T07:40:50.627Z","customJavascript":[],"slug":"C9974423","status":"running","runningFrom":"2020-07-02T06:16:24.365Z","id":"5efd78e3c7e2dce1131f62a2"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5efd7d7e6da39ab413d90e92","description":"","isArchived":false,"slug":"V127119650","sourceId":"V127119650","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-07-02T06:23:58.648Z","updatedAt":"2020-07-02T06:23:58.691Z","id":"5efd7d7e6da39ab413d90e93"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"Get Pricing","campaign":"5efd7d7e6da39ab413d90e92","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V6711103","sourceId":"V6711103","redirectCode":false,"createdAt":"2020-07-02T06:24:41.842Z","updatedAt":"2020-07-03T12:34:41.916Z","customCSS":"","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n getCookie: function (name) {\n var value = \"; \" + document.cookie;\n var parts = value.split(\"; \" + name + \"=\");\n if (parts.length == 2) return parts.pop().split(\";\").shift();\n },\n hasClass: function (element, className) {\n return element.classList ?\n element.classList.contains(className) :\n new RegExp('\\\\b' + className + '\\\\b').test(element.className);\n },\n addClass: function (element, className) {\n if (element.classList) element.classList.add(className);\n else if (!this.hasClass(element, className))\n element.className += ' ' + className;\n },\n removeClass: function (element, className) {\n if (element.classList) element.classList.remove(className);\n else\n element.className = element.className.replace(\n new RegExp('\\\\b' + className + '\\\\b', 'g'),\n ''\n );\n }\n };\n\n function init() {\n var feCta = {\n text: \"Get Pricing\",\n href: \"https://keeptruckin.com/get-in-touch?id=pricing\"\n }\n var driverSecBtn = document.querySelector(\".wp-block-kt-blocks-features-carousel + section .custom-button\");\n driverSecBtn.textContent = feCta.text;\n driverSecBtn.href = feCta.href;\n var infoCoverBtn = document.querySelector('.wp-block-kt-blocks-info-cover .wp-block-kt-button a');\n infoCoverBtn.textContent = feCta.text;\n infoCoverBtn.href = feCta.href;\n }\n\n FEHelper.onLoadElement(\".wp-block-kt-blocks-features-carousel + section .custom-button\", init, 50, 10000);\n})();","lastChanged":"\"2020-07-03T12:34:36.714Z\"","selector":"#header-video"}],"selector":"#header-video"}]},"id":"5efd7da9c7e2dce1131f62a5"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"Request Demo","campaign":"5efd7d7e6da39ab413d90e92","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V1407976","sourceId":"V1407976","redirectCode":false,"createdAt":"2020-07-02T06:26:14.658Z","updatedAt":"2020-07-03T12:35:39.834Z","customCSS":"","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function () {\n var FEHelper = {\n onLoadElement: function (selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n getCookie: function (name) {\n var value = \"; \" + document.cookie;\n var parts = value.split(\"; \" + name + \"=\");\n if (parts.length == 2) return parts.pop().split(\";\").shift();\n },\n hasClass: function (element, className) {\n return element.classList ?\n element.classList.contains(className) :\n new RegExp('\\\\b' + className + '\\\\b').test(element.className);\n },\n addClass: function (element, className) {\n if (element.classList) element.classList.add(className);\n else if (!this.hasClass(element, className))\n element.className += ' ' + className;\n },\n removeClass: function (element, className) {\n if (element.classList) element.classList.remove(className);\n else\n element.className = element.className.replace(\n new RegExp('\\\\b' + className + '\\\\b', 'g'),\n ''\n );\n }\n };\n\n function init() {\n var feCta = {\n text: \"Request Demo\",\n href: \"https://keeptruckin.com/get-in-touch?id=eld-compliance-solution\"\n }\n var driverSecBtn = document.querySelector(\".wp-block-kt-blocks-features-carousel + section .custom-button\");\n driverSecBtn.textContent = feCta.text;\n driverSecBtn.href = feCta.href;\n var infoCoverBtn = document.querySelector('.wp-block-kt-blocks-info-cover .wp-block-kt-button a');\n infoCoverBtn.textContent = feCta.text;\n infoCoverBtn.href = feCta.href;\n }\n\n FEHelper.onLoadElement(\".wp-block-kt-blocks-features-carousel + section .custom-button\", init, 50, 10000);\n})();","lastChanged":"\"2020-07-03T12:35:36.788Z\"","selector":"#header-video"}],"selector":"#header-video"}]},"id":"5efd7e06c7e2dce1131f62a6"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"KT-20 Sol. ELD CTA Test","pageTargets":[{"include":true,"url":"https://keeptruckin.com/eld-compliance-solution","match":"simple"}],"editorUrl":"https://keeptruckin.com/eld-compliance-solution","persistentDecisions":true,"source":"visual","slug":"C1532313","sourceId":"C1532313","status":"draft","isArchived":false,"createdAt":"2020-07-02T06:23:58.569Z","updatedAt":"2020-07-02T15:38:36.436Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 11; // Desired Custom Dimension\n const campaignSlug = 'C1532313'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}\n//console.log('>> KeepTruckin-16: [Sitewide] Reduce white space on the nav bar');\n","lastChanged":"2020-07-02T15:37:40.345Z"}]}]},"description":"[Solutions] ELD CTA Test","id":"5efd7d7e6da39ab413d90e92"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5e18ba6ae1afe74347038ecf","campaign":"5efdcb818d3355bb139e708c","description":"","isArchived":false,"slug":"V127119652","sourceId":"V127119652","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-07-02T11:56:49.034Z","updatedAt":"2020-07-02T11:56:49.070Z","id":"5efdcb818d3355bb139e708d"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"V1 number inline yellow","campaign":"5efdcb818d3355bb139e708c","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V57299871","sourceId":"V57299871","redirectCode":false,"createdAt":"2020-07-02T11:57:07.621Z","updatedAt":"2020-07-03T14:59:20.389Z","customCSS":"@media screen and (min-width: 992px) {\n html body > header.header.white, \n html body.blog header#masthead {\n padding: 24px 0;\n }\n}\nhtml body .FeCallbtnMobile,\nhtml body .FeCallbtn{\n display: none !important;\n}\n\nhtml body .fe_19-sales-link {\n text-align: center;\n padding: 0 0.5rem 0 0;\n position: relative;\n top: 4px;\n display: none;\n float: right;\n}\n\nhtml body .fe_19-sales-link a {\n color: #404040;\n font-size: .875rem;\n text-transform: uppercase;\n font-weight: 600;\n}\n\nhtml body .fe_19-sales-link a img {\n max-width: 14px;\n display: none;\n margin: auto;\n}\n\nhtml body .fe_19-sales-link a img.fe_19-white, \nhtml body.home .fe_19-sales-link a img.fe_19-black {\n display: none;\n}\n\nhtml body.home .fe_19-sales-link a {\n color: #fff;\n}\n\nhtml body.home .fe_19-sales-link a img.fe_19-white {\n display: block;\n}\n\nhtml body.home.blog .fe_19-sales-link a img.fe_19-black {\n display: block;\n}\n\nhtml body.home.blog .fe_19-sales-link a {\n color: #404040;\n}\n\nhtml body.home.blog .fe_19-sales-link a img.fe_19-white {\n display: none;\n}\n\nhtml body.blog .fe_19-sales-link {\n padding-right: 0;\n margin-right: 32px;\n}\n\n@media (max-width: 1199px) {\n html body .main__menu .dropdown__wrapper:first-child>.menu__item {\n margin-left: 15px;\n }\n\n html body .main__menu .menu__item {\n margin-left: 15px;\n }\n\n html body .main__menu.main__menu--right .menu__item {\n margin-right: 10px;\n }\n\n html body .main__menu.main__menu--right .btn {\n min-width: 0;\n padding: 6px 15px;\n }\n\n html body header.site-header .container nav.navbar #header-nav .navbar-nav li:first-child {\n margin-left: 15px;\n }\n\n html body header.site-header .container nav.navbar #header-nav .navbar-nav .nav-item {\n margin-left: 15px;\n }\n\n html body header.site-header .container nav.navbar #header-nav .btn-wrapper .btn-try-free {\n width: auto;\n margin-left: 0;\n } \n}\n\n@media (max-width: 991px) {\n \n html body header.site-header .container nav.navbar,\n header.header .container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n html body .fe_19-sales-link {\n width: 100%;\n display: flex;\n justify-content: flex-end;\n padding-bottom: 0;\n text-align: center;\n font-size: 12px;\n padding-right: 11px;\n align-items: center;\n top: 0px !important;\n }\n html body.single-post.single-format-standard .fe_19-sales-link {\n margin-right: 26px;\n }\n html body.blog .fe_19-sales-link .fe_19-black, \n html body.single-post.single-format-standard .fe_19-sales-link .fe_19-black{\n display: none !important;\n }\n}\n\n\n@media screen and (min-width:1200px){\n html body header.site-header .container nav.navbar #header-nav .navbar-nav .nav-item:not(:first-child),\n html body .header .navbar--menu .main__menu--left >.dropdown__wrapper:nth-child(2) > a,\n html body .header .navbar--menu .main__menu--left > a {\n margin-left: 26px !important;\n}\nhtml body header.site-header .container nav.navbar #header-nav .btn-wrapper .btn-try-free{\n margin-left: 0px;\n}\nhtml body .main__menu.main__menu--right .menu__item{\n margin-right: 24px;\n}\n} \n\n@media screen and (max-width: 767px) {\n html body.home .fe_19-sales-link a img.fe_19-black,\n html body .fe_19-sales-link a img.fe-19-white,\n .bm-19-Phone {\n display: none !important;\n }\n html body.blog.home .fe_19-sales-link .fe_19-black, \n html body.single-post.single-format-standard .fe_19-sales-link .fe_19-black,\n html body .fe_19-sales-link a img.fe_19-black,\n html body.home .fe_19-sales-link a img.fe-19-white {\n display: block !important;\n }\n html body.single-post.single-format-standard .fe_19-sales-link {\n margin-right: 26px;\n }\n \n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"js":"(function() {\n var FEHelper = {\n onLoadElement: function(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function() {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function() {\n clearInterval(interval);\n }, delayTimeout);\n },\n insertAfter: function(afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement.nextSibling\n );\n },\n };\n\n function init() {\n // Adjust text for Customers\n document.querySelector('.navbar--menu .main__menu--left a[href=\"https://keeptruckin.com/case-studies\"]').innerText = 'Customers';\n\n // Add sales link for desktop\n var targetElement = document.querySelector('.navbar--menu .main__menu--left > a:last-child');\n var afterElement = document.createElement('a');\n afterElement.innerHTML = 'Sale 855-434-3564';\n afterElement.setAttribute('href', 'tel:855-434-3564');\n afterElement.setAttribute('class', 'menu__item menu-item menu-item-type-custom menu-item-object-custom');\n FEHelper.insertAfter(afterElement, targetElement);\n\n FEHelper.onLoadElement(\".header .container .navbar--toggler\", function() {\n// Add sales link for mobile\n var logoElement = document.querySelector('.header .container .navbar--toggler');\n var linkElement = document.createElement('div');\n linkElement.innerHTML = ' Sales ';\n linkElement.innerHTML = ' Sales 855-434-3564 ';\n linkElement.setAttribute('class', 'fe_19-sales-link');\n FEHelper.insertAfter(linkElement, logoElement);\n logoElement.parentNode.insertBefore(linkElement, logoElement); \n }, 50, 10000)\n \n }\n\n function initBlog() {\n // Adjust text for Customers\n document.querySelector('#header-nav #menu-header a[href=\"https://keeptruckin.com/case-studies\"]').innerText = 'Customers';\n\n // Add sales link for desktop\n var targetElement = document.querySelector('#header-nav #menu-header > li:last-child');\n var afterElement = document.createElement('li');\n afterElement.innerHTML = 'Sale 855-434-3564';\n afterElement.setAttribute('class', 'nav-item menu-item menu-item-type-custom menu-item-object-custom');\n FEHelper.insertAfter(afterElement, targetElement);\n\n // Add sales link for mobile\n var logoElement = document.querySelector('header.site-header .container nav.navbar .side-navbar-toggler');\n var linkElement = document.createElement('div');\n linkElement.innerHTML = ' Sales 855-434-3564';\n linkElement.setAttribute('class', 'fe_19-sales-link');\n FEHelper.insertAfter(linkElement, logoElement);\n }\n\n if (window.location.href.indexOf('/blog') > -1) {\n FEHelper.onLoadElement('#header-nav #menu-header a[href=\"https://keeptruckin.com/case-studies\"]', initBlog, 50, 10000);\n } else {\n FEHelper.onLoadElement('.navbar--menu .main__menu--left a[href=\"https://keeptruckin.com/case-studies\"]', init, 50, 10000);\n }\n\n})();","lastChanged":"\"2020-07-03T14:49:52.172Z\"","selector":"body","type":"jc"}],"selector":"body"}]},"id":"5efdcb938d3355bb139e708e"},{"organization":"5e18ba6ae1afe74347038ecf","redirectUrl":"","name":"V2 number inline white underlined","campaign":"5efdcb818d3355bb139e708c","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V44095591","sourceId":"V44095591","redirectCode":false,"createdAt":"2020-07-02T12:01:20.797Z","updatedAt":"2020-07-03T15:16:18.483Z","customCSS":"@media screen and (min-width: 992px) {\n html body > header.header.white, \n html body.blog header#masthead {\n padding: 24px 0;\n }\n}\nhtml body .FeCallbtnMobile,\nhtml body .FeCallbtn{\n display: none !important;\n}\nhtml body header.site-header .container nav.navbar #header-nav .navbar-nav>li:last-child > a,\nhtml body .header .navbar--menu .main__menu--left > a:last-child span {\n text-decoration: underline;\n}\nhtml body .fe_19-sales-link {\n text-align: center;\n padding: 0 0.5rem 0 0;\n position: relative;\n top: 4px;\n display: none;\n float: right;\n}\n\nhtml body .fe_19-sales-link a {\n color: #404040;\n font-size: .875rem;\n text-transform: uppercase;\n font-weight: 600;\n}\n\nhtml body .fe_19-sales-link a img {\n max-width: 14px;\n display: none;\n margin: auto;\n}\n\nhtml body .fe_19-sales-link a img.fe_19-white, \nhtml body.home .fe_19-sales-link a img.fe_19-black {\n display: none;\n}\n\nhtml body.home .fe_19-sales-link a {\n color: #fff;\n}\n\nhtml body.home .fe_19-sales-link a img.fe_19-white {\n display: block;\n}\n\nhtml body.home.blog .fe_19-sales-link a img.fe_19-black {\n display: block;\n}\n\nhtml body.home.blog .fe_19-sales-link a {\n color: #404040;\n}\n\nhtml body.home.blog .fe_19-sales-link a img.fe_19-white {\n display: none;\n}\n\nhtml body.blog .fe_19-sales-link {\n padding-right: 0;\n margin-right: 32px;\n}\n\n@media (max-width: 1199px) {\n html body .main__menu .dropdown__wrapper:first-child>.menu__item {\n margin-left: 15px;\n }\n\n html body .main__menu .menu__item {\n margin-left: 15px;\n }\n\n html body .main__menu.main__menu--right .menu__item {\n margin-right: 10px;\n }\n\n html body .main__menu.main__menu--right .btn {\n min-width: 0;\n padding: 6px 15px;\n }\n\n html body header.site-header .container nav.navbar #header-nav .navbar-nav li:first-child {\n margin-left: 15px;\n }\n\n html body header.site-header .container nav.navbar #header-nav .navbar-nav .nav-item {\n margin-left: 15px;\n }\n\n html body header.site-header .container nav.navbar #header-nav .btn-wrapper .btn-try-free {\n width: auto;\n margin-left: 0;\n } \n}\n\n@media (max-width: 991px) {\n \n html body header.site-header .container nav.navbar,\n header.header .container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n html body .fe_19-sales-link {\n width: 100%;\n display: flex;\n justify-content: flex-end;\n padding-bottom: 0;\n text-align: center;\n font-size: 12px;\n padding-right: 11px;\n align-items: center;\n top: 0px !important;\n }\n html body.single-post.single-format-standard .fe_19-sales-link {\n margin-right: 26px;\n }\n html body.blog .fe_19-sales-link .fe_19-black, \n html body.single-post.single-format-standard .fe_19-sales-link .fe_19-black{\n display: none !important;\n }\n html body .fe_19-sales-link a{\n text-decoration: underline !important;\n }\n}\n\n\n@media screen and (min-width:1200px){\n html body header.site-header .container nav.navbar #header-nav .navbar-nav .nav-item:not(:first-child),\n html body .header .navbar--menu .main__menu--left >.dropdown__wrapper:nth-child(2) > a,\n html body .header .navbar--menu .main__menu--left > a {\n margin-left: 26px !important;\n}\nhtml body header.site-header .container nav.navbar #header-nav .btn-wrapper .btn-try-free{\n margin-left: 0px;\n}\nhtml body .main__menu.main__menu--right .menu__item{\n margin-right: 24px;\n}\n} \n\n@media screen and (max-width: 767px) {\n html body .fe_19-sales-link a{\n text-decoration: none !important;\n }\n html body.home .fe_19-sales-link a img.fe_19-black,\n html body .fe_19-sales-link a img.fe-19-white,\n .bm-19-Phone {\n display: none !important;\n }\n html body.blog.home .fe_19-sales-link .fe_19-black, \n html body.single-post.single-format-standard .fe_19-sales-link .fe_19-black,\n html body .fe_19-sales-link a img.fe_19-black,\n html body.home .fe_19-sales-link a img.fe-19-white {\n display: block !important;\n }\n html body.single-post.single-format-standard .fe_19-sales-link {\n margin-right: 26px;\n }\n \n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"js":"(function() {\n var FEHelper = {\n onLoadElement: function(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function() {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function() {\n clearInterval(interval);\n }, delayTimeout);\n },\n insertAfter: function(afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement.nextSibling\n );\n },\n };\n\n function init() {\n // Adjust text for Customers\n document.querySelector('.navbar--menu .main__menu--left a[href=\"https://keeptruckin.com/case-studies\"]').innerText = 'Customers';\n\n // Add sales link for desktop\n var targetElement = document.querySelector('.navbar--menu .main__menu--left > a:last-child');\n var afterElement = document.createElement('a');\n afterElement.innerHTML = 'Sale 855-434-3564';\n afterElement.setAttribute('href', 'tel:855-434-3564');\n afterElement.setAttribute('class', 'menu__item menu-item menu-item-type-custom menu-item-object-custom');\n FEHelper.insertAfter(afterElement, targetElement);\n\n FEHelper.onLoadElement(\".header .container .navbar--toggler\", function() {\n// Add sales link for mobile\n var logoElement = document.querySelector('.header .container .navbar--toggler');\n var linkElement = document.createElement('div');\n linkElement.innerHTML = ' Sales ';\n linkElement.innerHTML = ' Sales 855-434-3564 ';\n linkElement.setAttribute('class', 'fe_19-sales-link');\n FEHelper.insertAfter(linkElement, logoElement);\n logoElement.parentNode.insertBefore(linkElement, logoElement); \n }, 50, 10000)\n \n }\n\n function initBlog() {\n // Adjust text for Customers\n document.querySelector('#header-nav #menu-header a[href=\"https://keeptruckin.com/case-studies\"]').innerText = 'Customers';\n\n // Add sales link for desktop\n var targetElement = document.querySelector('#header-nav #menu-header > li:last-child');\n var afterElement = document.createElement('li');\n afterElement.innerHTML = 'Sale 855-434-3564';\n afterElement.setAttribute('class', 'nav-item menu-item menu-item-type-custom menu-item-object-custom');\n FEHelper.insertAfter(afterElement, targetElement);\n\n // Add sales link for mobile\n var logoElement = document.querySelector('header.site-header .container nav.navbar .side-navbar-toggler');\n var linkElement = document.createElement('div');\n linkElement.innerHTML = ' Sales 855-434-3564';\n linkElement.setAttribute('class', 'fe_19-sales-link');\n FEHelper.insertAfter(linkElement, logoElement);\n }\n\n if (window.location.href.indexOf('/blog') > -1) {\n FEHelper.onLoadElement('#header-nav #menu-header a[href=\"https://keeptruckin.com/case-studies\"]', initBlog, 50, 10000);\n } else {\n FEHelper.onLoadElement('.navbar--menu .main__menu--left a[href=\"https://keeptruckin.com/case-studies\"]', init, 50, 10000);\n }\n\n})();","lastChanged":"\"2020-07-03T15:02:25.583Z\"","selector":"body","type":"jc"}],"selector":"body"}]},"id":"5efdcc908d3355bb139e708f"}],"organization":"5e18ba6ae1afe74347038ecf","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"KeepTruckin-19: [Sitewide] Toll-free Number Nav Test v2","pageTargets":[{"include":true,"url":"https://keeptruckin.com/","match":"contains"},{"include":true,"url":"https://blog.keeptruckin.com/","match":"contains"},{"include":false,"url":"https://keeptruckin.com/get-in-touch?id=pricing","match":"simple"},{"include":false,"url":"https://keeptruckin.com/vdo","match":"simple"}],"persistentDecisions":true,"source":"visual","slug":"C21431161","sourceId":"C21431161","status":"draft","isArchived":false,"createdAt":"2020-07-02T11:56:49.015Z","updatedAt":"2020-07-02T15:19:21.384Z","editorUrl":"https://keeptruckin.com/","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 9; // Desired Custom Dimension\n const campaignSlug = 'C21431161'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}\n//console.log('>> KeepTruckin-16: [Sitewide] Reduce white space on the nav bar');\n","lastChanged":"2020-07-02T15:18:45.910Z"}]}]},"id":"5efdcb818d3355bb139e708c"}],"conditions":[{"provider":"browser-info","name":"fe-QAtest=true","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function hasQAParameter() {\ntry{\n var name = \"fe-QAtest\";\n name = name.replace(/[\\[]/, '\\\\[').replace(/[\\]]/, '\\\\]');\n var regex = new RegExp('[\\\\?&]' + name + '=([^&#]*)');\n var results = regex.exec(location.search);\n var paramVal = results===null ? '' : decodeURIComponent(results[1].replace(/\\+/g, ' '))\n return paramVal === \"true\";\n}\ncatch(err){\nreturn false;\n}\n};\n\nif(hasQAParameter()){\nreturn true;\n}\nelse{\nreturn false;\n}","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A9725385","id":"5e3807faf21a89660885a71e"},{"provider":"browser-info","name":"isMobile","conditionGroups":[{"conditionList":[{"comparisonAttr":"device_category","modifier":"equals","condition":"mobile","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A3948210","id":"5e6f768fed67471610aad1f0"},{"provider":"browser-info","name":"FeCookie","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"exists","condition":"function getCookie (name) {\n var value = \"; \" + document.cookie;\n var parts = value.split(\"; \" + name + \"=\");\n if (parts.length == 2) return parts.pop().split(\";\").shift();\n }\n\nvar feC=getCookie('feCookie');\nif(feC){\nreturn true;\n}\n","dataType":"string","key":"feCookie"}]}],"experimental":{},"pageTargets":[{}],"slug":"A1089692","id":"5e788bbc399e080427a6631b"},{"provider":"browser-info","name":"feCookieV0","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function getCookie (name) {\n var value = \"; \" + document.cookie;\n var parts = value.split(\"; \" + name + \"=\");\n if (parts.length == 2) return parts.pop().split(\";\").shift();\n }\n\nvar feC=getCookie('feCookie');\nif(feC ===\"V0\" || window.location.search.indexOf('feV0=true')!=-1){\nreturn true;\n}\n","dataType":"string","key":"feCookie"}]}],"experimental":{},"pageTargets":[{}],"slug":"A1216066","id":"5e79d2ba9074cdbb2ef3f089"},{"provider":"browser-info","name":"feCookieV1","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function getCookie (name) {\n var value = \"; \" + document.cookie;\n var parts = value.split(\"; \" + name + \"=\");\n if (parts.length == 2) return parts.pop().split(\";\").shift();\n }\n\nvar feC=getCookie('feCookie');\nif(feC ===\"V1\" || window.location.search.indexOf('feV1=true')!=-1){\nreturn true;\n}\n","dataType":"string","key":"feCookie"}]}],"experimental":{},"pageTargets":[{}],"slug":"A12160661","id":"5e79d2fa9074cdbb2ef3f08a"},{"provider":"browser-info","name":"feCookieV2","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function getCookie (name) {\n var value = \"; \" + document.cookie;\n var parts = value.split(\"; \" + name + \"=\");\n if (parts.length == 2) return parts.pop().split(\";\").shift();\n }\n\nvar feC=getCookie('feCookie');\nif(feC === \"V2\" || window.location.search.indexOf('feV2=true')!=-1){\nreturn true;\n}\n","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A12160662","id":"5e79d3369074cdbb2ef3f08b"},{"provider":"browser-info","name":"fe_vdo_cookie","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function getCookie (name) {\n var value = \"; \" + document.cookie;\n var parts = value.split(\"; \" + name + \"=\");\n if (parts.length == 2) return parts.pop().split(\";\").shift();\n }\n\nvar feC=getCookie('fe_vdo_cookie');\nif(feC){\nreturn true;\n}\nelse {\nreturn false;\n}\n","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A8399852","id":"5ea198472ebdc0585213b0a0"},{"provider":"browser-info","name":"Alternate Tibco -45","conditionGroups":[{"conditionList":[{"comparisonAttr":"referrer","modifier":"contains","condition":"spotfire","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A3848315","id":"5eaa846b9a9e194046410be6"},{"provider":"browser-info","name":"FeQACookie&QAParam","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"var feCookie = \"feQACookies\";\n\nfunction setCookie(cname, cvalue, exdays) {\n var d = new Date();\n d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));\n var expires = \"expires=\" + d.toGMTString();\n document.cookie = cname + \"=\" + cvalue + \";\" + expires + \";path=/\";\n}\n\n\nif (window.location.href.indexOf(\"fe-QAtest\") != -1) {\n setCookie(feCookie, true, 365);\n}\n\nfunction getCookie(name) {\n var cookieArr = document.cookie.split(\";\");\n for (var i = 0; i < cookieArr.length; i++) {\n var cookiePair = cookieArr[i].split(\"=\");\n\n if (name == cookiePair[0].trim()) {\n return decodeURIComponent(cookiePair[1]);\n }\n }\n\n return null;\n}\nif (getCookie(feCookie) != null) {\n return true;\n\n}","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A6901834","id":"5eb55d9389f61b80103249d8"}],"org_raw":{"name":"Keep Truckin","consentRequired":false,"orgJs":"(function() {\n try {\n var __feFN = {};\n __feFN.fePageUrl = window.location.href;\n\n __feFN.waitForElement = function(element, callback) {\n var feCounter = 0;\n var fewaitForElement = setInterval(function() {\n if (document.querySelectorAll(element).length > 0) {\n clearInterval(fewaitForElement);\n callback();\n }\n feCounter++;\n if (feCounter > 30) {\n clearInterval(fewaitForElement);\n }\n }, 500);\n };\n\n __feFN.live = function(selector, event, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent('on' + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element && function(ElementPrototype) {\n ElementPrototype.matches = ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function(selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(selector),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n }(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function(e) {\n var found, el = e.target || e.srcElement;\n while (el && el.matches && el !== context && !(found = el.matches(selector))) el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n }\n\n __feFN.setCookie = function(name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n }\n\n __feFN.getCookie = function(name) {\n var nameEQ = name + \"=\";\n var ca = document.cookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) == ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n }\n\n __feFN.eraseCookie = function(name) {\n document.cookie = name + '=; Max-Age=-99999999;';\n }\n //Below function used for pushing event to funnelenvy PRO\n __feFN.fePushEvents = function(eventName) {\n var waitForFunnelEnvy = setInterval(function() {\n if (typeof window.funnelEnvy !== 'undefined') {\n clearInterval(waitForFunnelEnvy);\n window.funnelEnvy = window.funnelEnvy || [];\n window.funnelEnvy.push({\n event: eventName\n });\n // console && console.log('feEventPush', eventName);\n }\n }, 30);\n setTimeout(function() {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n };\n __feFN.onDataHelperLoad = function(callback) {\n var waitForDatalayer = setInterval(function() {\n if (typeof window.dataLayer && window.DataLayerHelper) {\n clearInterval(waitForDatalayer);\n callback();\n }\n }, 30);\n setTimeout(function() {\n clearInterval(waitForDatalayer);\n }, 8000);\n };\n __feFN.fe_ajaxComplete = function(fe_url, fn) {\n (function() {\n const send = XMLHttpRequest.prototype.send\n XMLHttpRequest.prototype.send = function() {\n this.addEventListener('load', function() {\n if (this.responseURL.indexOf(fe_url) > -1) {\n fn();\n }\n // add your global handler here\n })\n return send.apply(this, arguments)\n }\n })()\n }\n\n if (window.location.href.indexOf('https://keeptruckin.com/get-in-touch') > -1) {\n var step1 = ['1-19', '20-50', '20-200', '200+']\n var step2 = ['ELD Compliance', 'GPS Tracking', 'Smart Dashcam', 'Vehicle Maintenance', 'Asset Tracking', 'IFTA Report']\n __feFN.waitForElement('#step-2', function() {\n // step 1 page view\n document.querySelector('#step-1-tab.active') && __feFN.fePushEvents('Pricing MS-form step 1');\n var step1ElemrntV = document.querySelectorAll('#step-1.active .variant-default label');\n // for (var i = 0; i < step1ElemrntV.length; i++) {\n // step1ElemrntV[i].addEventListener('click', function() {\n // var evtext = this.querySelector('p strong').innerText;\n // __feFN.fePushEvents('Pricing MS-form Fleet count (' + evtext + ')');\n // });\n // }\n\n\n // KT 9 goal \n\n // var step1Elemrnt = document.querySelectorAll('#step-1.active .variant-1 label');\n // for (var i = 0; i < step1Elemrnt.length; i++) {\n // step1Elemrnt[i].addEventListener('click', function() {\n // var evtext = this.querySelector('p strong').innerText;\n // __feFN.fePushEvents('Pricing MS-form product interest (' + evtext + ')');\n // });\n // }\n\n\n\n // step 2 page view\n document.querySelector('.nextButton > a').addEventListener('click', function() {\n\n document.querySelector('#step-2-tab.active') && __feFN.fePushEvents('Pricing MS-form step 2')\n\n document.querySelector('#step-3-tab.active') && __feFN.fePushEvents('Pricing MS-form step 3')\n\n\n // any selected fleet\n // var step2ElemrntVV = document.querySelectorAll('#step-2.active .variant-default label');\n // for (var i = 0; i < step2ElemrntVV.length; i++) {\n // step2ElemrntVV[i].addEventListener('click', function() {\n // var evtext = this.querySelector('p strong').innerText;\n // __feFN.fePushEvents('Pricing MS-form product interest (' + evtext + ')');\n // });\n // }\n // var step2Elemrnt = document.querySelectorAll('#step-2.active .variant-1 label');\n // for (var i = 0; i < step2Elemrnt.length; i++) {\n // step2Elemrnt[i].addEventListener('click', function() {\n // var evtext = this.querySelector('p strong').innerText;\n // __feFN.fePushEvents('Pricing MS-form Fleet count (' + evtext + ')');\n // });\n // }\n })\n })\n //kt-14 goal \n __feFN.live('#step-1.active .wp-block-kt-blocks-form-card div label','click',function(){\n var evtext = this.querySelector('p strong').innerText;\n __feFN.fePushEvents('Pricing MS-form product interest (' + evtext + ')');\n });\n\n __feFN.live('#step-2.active .wp-block-kt-blocks-form-card div label','click',function(){\n var evtext = this.querySelector('p strong').innerText;\n __feFN.fePushEvents('Pricing MS-form Fleet count (' + evtext + ')');\n });\n\n }\n\n // free trial form page complete\n if (window.location.href.indexOf('https://keeptruckin.com/sign-up/create-company') > -1) {\n __feFN.live('#sign-up-next', 'click', function() {\n var cName = document.querySelector('#company_name') && document.querySelector('#company_name').value\n var fleetSize = document.querySelector('#company_fleet_size') && document.querySelector('#company_fleet_size').value\n if (cName && !isNaN(fleetSize * 1)) {\n __feFN.fePushEvents('Free Trial Form Complete')\n }\n })\n }\n\n // starter order and pro order form complete https://keeptruckin.com/pricing\n if (window.location.href.indexOf('https://keeptruckin.com/order-now/thank-you') > -1) {\n if (sessionStorage.getItem('fe-pricing-page') && sessionStorage.getItem('fe-pricing-page') == 'starter') {\n __feFN.fePushEvents('Order Now-Starter Pricing Quote Form Complete')\n sessionStorage.removeItem('fe-pricing-page')\n }\n if (sessionStorage.getItem('fe-pricing-page') && sessionStorage.getItem('fe-pricing-page') == 'pro') {\n __feFN.fePushEvents('Order Now-Pro Pricing Quote Form Complete')\n sessionStorage.removeItem('fe-pricing-page')\n }\n }\n\n // using session because of in reload sometime event get canceled\n if (window.location.href.indexOf('https://keeptruckin.com/order-now') > -1) {\n if (sessionStorage.getItem('fe-pricing-page') && sessionStorage.getItem('fe-pricing-page') == 'starter') {\n __feFN.fePushEvents('Order Now-Starter Pricing Quote CTA click')\n }\n if (sessionStorage.getItem('fe-pricing-page') && sessionStorage.getItem('fe-pricing-page') == 'pro') {\n __feFN.fePushEvents('Order Now-Pro Pricing Quote CTA click')\n }\n }\n\n // cta click\n if (window.location.href.indexOf('https://keeptruckin.com/pricing') > -1) {\n __feFN.live('.wp-block-column:nth-child(1) .price-block a', 'click', function() {\n //Free Trial Complete CTA click\n __feFN.fePushEvents('Free Trial CTA click')\n })\n __feFN.live('.wp-block-column:nth-child(2) .price-block a', 'click', function() {\n //Order Now-Starter Pricing Quote CTA click\n sessionStorage.setItem('fe-pricing-page', 'starter')\n })\n __feFN.live('.wp-block-column:nth-child(3) .price-block a', 'click', function() {\n // Order Now-Starter Pricing Quote CTA click\n sessionStorage.setItem('fe-pricing-page', 'pro')\n })\n __feFN.live('.wp-block-column:nth-child(4) .price-block a', 'click', function() {\n //Enterprise Pricing Request Quote CTA click\n __feFN.fePushEvents('Enterprise Pricing Request Quote CTA click')\n })\n }\n\n // using data layer events\n var feDataLayerListener = function(model, message) {\n\n // pricing page\n //if (window.location.href.indexOf('https://keeptruckin.com/pricing') > -1) {\n // Pricing form completes (PRIMARY KPI): Don't have thanku page\n // if (message.event == 'form_submit' && message.form_name == \"Buyout\") {\n // __feFN.fePushEvents('Pricing form completes')\n // }\n // pricing page\n if (window.location.href.indexOf('https://keeptruckin.com/get-in-touch') > -1) {\n // Pricing form completes (PRIMARY KPI): Don't have thanku page\n if (message.event == 'form_submit' && message.form_name == \"Pricing\") {\n __feFN.fePushEvents('Pricing form completes')\n }\n // Enterprise Request Quote form completes \n if (message.event == 'form_submit' && message.form_name == 'Request Demo') {\n __feFN.fePushEvents('Enterprise Request Quote form completes');\n }\n\n }\n }\n\n //try free CTA click \n if (__feFN.fePageUrl.indexOf('https://go.keeptruckin.com/fleet-tracking-try-free') != -1) {\n\n __feFN.live('.hero-btn-group__cta a:first-of-type', 'click', function() {\n // Order Now-Starter Pricing Quote CTA click\n __feFN.fePushEvents('Try_Free_CTA_click');\n })\n\n }\n\n // Added on 19/02/19\n if (window.location.pathname == '/') {\n // Goal: HP Get Pricing CTA clicks\n // Goal: HP Try Free CTA clicks\n __feFN.live('.hero__actions a.try-free', 'click', function() {\n if (document.querySelector('.hero__actions a.try-free').innerText.indexOf('Get Pricing') != -1) {\n __feFN.fePushEvents('HP Get Pricing CTA clicks');\n } else {\n __feFN.fePushEvents('HP Try Free CTA clicks');\n }\n });\n\n // Goal: HP Request Demo CTA clicks\n __feFN.live('.hero__actions a.btn--outline--light', 'click', function() {\n if (document.querySelector('.hero__actions a.btn--outline--light').innerText.indexOf('Get Demo') != -1) {\n __feFN.fePushEvents('HP Request Demo CTA clicks');\n } else {\n __feFN.fePushEvents('Free Trial CTA click');\n }\n });\n\n // Goal: Request Demo lightbox form completes\n var send = XMLHttpRequest.prototype.send;\n XMLHttpRequest.prototype.send = function() {\n this.addEventListener('load', function() {\n if (this.responseURL.indexOf('/admin-ajax.php') != -1) {\n var responseText = JSON.parse(this.responseText);\n if (responseText.hasOwnProperty('msg')) {\n if (responseText.msg == 'Form has been successfully submitted.') {\n __feFN.fePushEvents('Request Demo lightbox form completes');\n }\n }\n }\n })\n return send.apply(this, arguments);\n }\n\n // Goal: Free Trial CTA click\n // KeepTruckin-6: V2: Pricing + Demo + Trial\n __feFN.live('.hero__actions a.fe-try-free', 'click', function() {\n __feFN.fePushEvents('Free Trial CTA click');\n });\n }\n\n //KeepTruckin-7 Bottom CTA click Goal All feature pages\n if (window.sessionStorage && window.sessionStorage.getItem('KT7_Bottom_CTA_Click')) {\n __feFN.fePushEvents('KT7_Bottom_CTA_Click');\n __feFN.removeItem('KT7_Bottom_CTA_Click');\n }\n //KeepTruckin-7 Hero CTA click Goal all feature pages\n if (window.sessionStorage && window.sessionStorage.getItem('KT7_Hero_CTA_Click')) {\n __feFN.fePushEvents('KT7_Hero_CTA_Click');\n __feFN.removeItem('KT7_Hero_CTA_Click');\n }\n\n __feFN.live('a[href=\"#quote\"]', 'click', function() {\n __feFN.fePushEvents('KT7_Hero_CTA_Click');\n });\n\n //KeepTruckin-8 Bottom CTA click Goal all solution pages\n if (window.sessionStorage && window.sessionStorage.getItem('KT8_Bottom_CTA_Click')) {\n __feFN.fePushEvents('KT8_Bottom_CTA_Click');\n __feFN.removeItem('KT8_Bottom_CTA_Click');\n }\n //KeepTruckin-9: [Homepage] Full Scale Personalized Content Strip for VDO Campaign \n var feLocation = window.location;\n var feVdoCookie = \"fe_vdo_cookie\";\n if (feLocation.pathname === \"/vdo\") {\n //create cookie for vdo page \n __feFN.setCookie(feVdoCookie, 'vdo', 365);\n } else if (feLocation.pathname === \"/vdo-solo\") {\n //create cookie for vdo-solo page \n __feFN.setCookie(feVdoCookie, 'vdos', 365);\n }\n\n //KeepTruckin-9: strip click goal \n __feFN.live('body .banner-section a', 'mousedown', function() {\n __feFN.fePushEvents('hp_strip_click');\n });\n //Try for Free & Sign Up for Free Click Goal\n __feFN.live('body [href^=\"/sign-up\"], body a[href=\"https://keeptruckin.com/sign-up\"]', 'mousedown', function() {\n __feFN.fePushEvents('Try for Free & Sign Up for Free Click');\n });\n //Nav wide # link\n __feFN.live('body header a', 'mousedown', function() {\n __feFN.fePushEvents('Nav link Click');\n });\n //Nav wide login CTA\n __feFN.live('header a[href^=\"/log-in\"] , header a[href=\"https://keeptruckin.com/log-in\"]', 'mousedown', function() {\n __feFN.fePushEvents('Nav Login CTA click');\n });\n //Nav Try for Free CTA Click Goal\n __feFN.live('body header [href^=\"/sign-up\"], body header a[href=\"https://keeptruckin.com/sign-up\"]', 'mousedown', function() {\n __feFN.fePushEvents('Nav wide Try for free CTA');\n });\n //call sale cta Click\n //call sale cta Click\n__feFN.live('body .FeCallbtnMobile, body .FeCallbtn, .fe_sales-link a , nav.main__menu.main__menu--left a[href^=\"tel\"], .fe-19-Sale, .fe_19-sales-link a, #header-nav .nav-item a[href^=\"tel\"]', 'mousedown', function() {\n __feFN.fePushEvents('Call Sale');\n});\n\n //KT-14 goal \n if (__feFN.fePageUrl.indexOf('https://keeptruckin.com/log-in') != -1 || __feFN.fePageUrl.indexOf('https://keeptruckin.com/refer') !=-1) {\n __feFN.live('#sign-in-button', 'mousedown', function() {\n __feFN.fePushEvents('Login Click');\n });\n //Sign Up CTA click\n __feFN.live('.sign-up a', 'mousedown', function() {\n window.localStorage.setItem('kt-15-signup',true);\n });\n //banner CTA Click \n __feFN.live('.dashcam a', 'mousedown', function() {\n __feFN.fePushEvents('Banner CTA Click');\n });\n //referral form submit event \n var send = XMLHttpRequest.prototype.send;\n XMLHttpRequest.prototype.send = function() {\n this.addEventListener('load', function() {\n if (this.responseURL.indexOf('/admin-ajax.php') != -1) {\n var responseText = JSON.parse(this.responseText);\n if (responseText.hasOwnProperty('msg')) {\n if (responseText.msg == 'Form has been successfully submitted.') {\n __feFN.fePushEvents('Referral form submit');\n }\n }\n }\n })\n return send.apply(this, arguments);\n }\n\n }\n if(__feFN.fePageUrl.indexOf('https://keeptruckin.com/sign-up')!=-1 && window.localStorage.getItem('kt-15-signup')){\n __feFN.fePushEvents('SignUp Click');\n localStorage.removeItem('kt-15-signup');\n }\n if(__feFN.fePageUrl.indexOf('https://keeptruckin.com/refer')!=-1){\n __feFN.live('#refer--form .custom-button, #refer--form input','click',function(){\n __feFN.fePushEvents('Refer_form_Engagement');\n });\n }\n \n //kt 17 18 goal \n if((__feFN.fePageUrl.indexOf('https://keeptruckin.com/get-in-touch?id=pricing')!=-1 ||__feFN.fePageUrl.indexOf('https://keeptruckin.com/get-in-touch?id=request-demo')!=-1) && window.localStorage.getItem('fe-new-cta')){\n __feFN.fePushEvents('Kt-17-NewCTA Click');\n localStorage.removeItem('fe-new-cta');\n }\n //kt 18 goal \n\t\tif(__feFN.fePageUrl.indexOf('https://blog.keeptruckin.com/')!=-1){\n __feFN.live('.fe-cta a, .fe-cta-bottom a','click',function(){\n __feFN.fePushEvents('Kt-18-NewCTA Click');\n });\n }\n \n //kt 20 goal \nif(window.location.pathname == \"/eld-compliance-solution\"){\n __feFN.live('.wp-block-kt-blocks-features-carousel + section .custom-button, .wp-block-kt-blocks-info-cover .wp-block-kt-button a','click',function(){\n localStorage.setItem('Kt-20-CTA Click',true);\n });\n}\nif((__feFN.fePageUrl.indexOf('https://keeptruckin.com/sign-up')!=-1 || __feFN.fePageUrl.indexOf('https://keeptruckin.com/get-in-touch')!=-1) && window.localStorage.getItem('Kt-20-CTA Click')){\n __feFN.fePushEvents('Kt-20-CTA Click');\n localStorage.removeItem('Kt-20-CTA Click');\n}\n } catch (err) {\n //console.log(err);\n }\n\n var dataLayerInterval = setInterval(function() {\n if (window && window.funnelEnvy && window.funnelEnvy.dataLayer) {\n var feDataLayerHelper = new DataLayerHelper(window.dataLayer, feDataLayerListener, true);\n clearInterval(dataLayerInterval);\n }\n }, 50);\n setTimeout(function() {\n clearInterval(dataLayerInterval)\n }, 10000)\n\n})();\n//-------------------------UTM Param hidden field code started here----------------- \n(function() {\n try {\n var FEHelper = {\n // Wait for datalayer \n doWhenFeLoaded: function(todoWhenLoaded) {\n var waitForFe = setInterval(function() {\n if (window &&\n window.funnelEnvy &&\n window.funnelEnvy.dataLayer) {\n clearInterval(waitForFe);\n todoWhenLoaded();\n }\n }, 50);\n setTimeout(function() {\n clearInterval(waitForFe);\n }, 5000);\n },\n // Wait for element\n doFECampaigntLoaded: function(todoWhenLoaded) {\n var waitForElement = setInterval(function() {\n if (window && window.funnelEnvy && window.funnelEnvy.campaignState.length > 0) {\n clearInterval(waitForElement);\n todoWhenLoaded();\n }\n }, 50);\n setTimeout(function() {\n clearInterval(waitForElement);\n }, 5000);\n },\n setCookie: function(name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n getCookie: function(name) {\n var nameEQ = name + \"=\";\n var ca = document.cookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) == ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n },\n eraseCookie: function(name) {\n document.cookie = name + '=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';\n }\n };\n //to store active campaign and variation name \n var newData = '';\n var feCookieInfo = ' ';\n var feList = '';\n //counter to check campaign and variation activate \n //data layer listener \n var feDataLayerListener = function(model, message) {\n //check fe-pro campaign activate \n if (message.event == 'backstage.activeCampaign') {\n // console.log('helllo' + message.event);\n newData += message.backstage.activeCampaign.name + \" _ \";\n\n }\n //check fe-pro variation activate \n if (message.event == 'backstage.activeVariation') {\n newData += message.backstage.activeVariation.name;\n feCookieInfo = FEHelper.getCookie('fe-test-info'); //|| newData.indexOf('Full Scale') != -1\n if (feCookieInfo != null && feCookieInfo.includes(newData) || newData.indexOf('Full Scale') != -1) {\n newData = '';\n // console.log('not added');\n } else {\n feCookieInfo = feCookieInfo ? feCookieInfo + \" | \" + newData : newData;\n //stored campaign name and variation name \n FEHelper.setCookie('fe-test-info', feCookieInfo);\n newData = '';\n }\n }\n if (message.event == 'backstage.updatedAudiences') {\n FEHelper.doFECampaigntLoaded(function() {\n if (feCookieInfo && feCookieInfo.length > 1) {\n removeCompletedCampaign(funnelEnvy.campaignState);\n }\n });\n }\n };\n\n //remove completed campaign \n function removeCompletedCampaign(campaignList) {\n var newList;\n var feCookieVal = FEHelper.getCookie('fe-test-info');\n // var feCookieVal = \"KT-15 Referral promotion for Login visitors _ 1-2-3 steps | KT-14: fleet question _ Divide fleet answers | KT-9: V2 HP VDO(Full Scale) _ HP - VDO Strip | KT-12 Toll-free(Full Scale) _ KT-12: Sales | KT-12 QA demo _ KT-12: Sales | KT-12 Toll-free _ KT-12: Sales\";\n var feCookieList = feCookieVal ? feCookieVal.split('|') : '';\n feCookieList.forEach(function(val, i) {\n newList = getNewCookieVal(val, campaignList);\n });\n //console.log(newList);\n //console.log(feCookieVal);\n //save cookie after removing completed campaign \n saveCookie(newList);\n\n }\n //generate new cookie removing completed if present on cookie \n function getNewCookieVal(val, camp) {\n // console.log('jj'+val);\n camp.forEach(function(vall, j) {\n if (vall.status == \"running\" && val.includes(vall.name)) {\n feList += val.trim() + ' | ';\n }\n });\n return feList;\n }\n\n function saveCookie(newList) {\n //remove | at the end of the cookie\n var newVal = newList.substring(0, newList.length - 2);\n //updated cookie val\n FEHelper.setCookie('fe-test-info', newVal);\n\n }\n //initialize datalayer helper \n function initDataLayer() {\n window.localStorage.setItem('fe-new-code', true);\n //initialize funnelenvy data layer for liten event (campaign activation / variation name/ script loaded)\n var feDataLayerHelper = new DataLayerHelper(\n window.funnelEnvy.dataLayer,\n feDataLayerListener,\n true\n );\n }\n //when funnelenvy and datalayer object loaded\n FEHelper.doWhenFeLoaded(function() {\n initDataLayer();\n });\n //remove previous cookie only once\n if (!window.localStorage.getItem('fe-new-code')) {\n FEHelper.eraseCookie('fe-test-info');\n }\n } catch (er) {\n\n }\n})();\n\n//-------------------------UTM Param hidden field code end----------------- \n\n//-------------------------UTM Param hidden field code end----------------- ","hideContentUntilScriptsExecute":true,"domains":"www.keeptruckin.com, go.keeptruckin.com, fleet.keeptruckin.com, vipgo.keeptruckin.com, vipgo-keeptruckin-com-preprod.go-vip.net, keeptruckin-develop.go-vip.co, p.k2labs.org, blog.keeptruckin.com","integrations":{"demandbase":{"options":{"active":true}},"browser-info":{"options":{"active":true}},"behavioral":{"options":{"active":true}}},"id":"5e18ba6ae1afe74347038ecf"},"flags":{"vpLambdaUrl":"https://cec.funnelenvy.com/visitor","vpSplitProbability":1,"vpTimeout":4000}};})()