Files
Last update 2 months 4 days
by
Arnaud-Apu-Fanovard
LivePerson.js.téléchargementwindow.lpTag=window.lpTag||{};if(typeof window.lpTag._tagCount==="undefined"){window.lpTag={site:"12757882"||"",section:lpTag.section||"",autoStart:lpTag.autoStart===false?false:true,ovr:lpTag.ovr||{},_v:"1.6.0",_tagCount:1,protocol:"https:",events:{bind:function(c,b,a){lpTag.defer(function(){lpTag.events.bind(c,b,a)},0)},trigger:function(c,b,a){lpTag.defer(function(){lpTag.events.trigger(c,b,a)},1)}},defer:function(b,a){if(a==0){this._defB=this._defB||[];this._defB.push(b)}else{if(a==1){this._defT=this._defT||[]; this._defT.push(b)}else{this._defL=this._defL||[];this._defL.push(b)}}},load:function(c,b,d){var a=this;setTimeout(function(){a._load(c,b,d)},0)},_load:function(d,c,e){var a=d;if(!d){a=this.protocol+"//"+((this.ovr&&this.ovr.domain)?this.ovr.domain:"lptag.liveperson.net")+"/tag/tag.js?site="+this.site}var b=document.createElement("script");b.setAttribute("charset",c?c:"UTF-8");if(e){b.setAttribute("id",e)}b.setAttribute("src",a);document.getElementsByTagName("head").item(0).appendChild(b)},init:function(){this._timing=this._timing||{}; this._timing.start=(new Date()).getTime();var a=this;if(window.attachEvent){window.attachEvent("onload",function(){a._domReady("domReady")})}else{window.addEventListener("DOMContentLoaded",function(){a._domReady("contReady")},false);window.addEventListener("load",function(){a._domReady("domReady")},false)}if(typeof(window._lptStop)=="undefined"){this.load()}},start:function(){this.autoStart=true},_domReady:function(a){if(!this.isDom){this.isDom=true;this.events.trigger("LPT","DOM_READY",{t:a})}this._timing[a]=(new Date()).getTime() },vars:lpTag.vars||[],dbs:lpTag.dbs||[],ctn:lpTag.ctn||[],sdes:lpTag.sdes||[],ev:lpTag.ev||[]};lpTag.init()}else{window.lpTag._tagCount+=1};