_satellite["_runScript13"](function(event, target, Promise) { var digData=window.digData||[],trackEvent=function(t,n){_satellite.logger.log("eventName: ",t," data: ",JSON.stringify(n)),digData.push({event:t,chat:{playbookID:n.playbookId||"",conversationId:n.conversationId||"",message:n.messageId||"",campaignId:n.campaignId||"",interactionId:n.interactionId||"","questionId:":n.questionId||"",buttonLabel:n.buttonBody||"","email:":n.email||""},interaction:{type:n.liveExperience?"chat:agent":"chat:bot"}})};"function"==typeof drift&&drift.on("ready",(function(){window.drift.on("conversation:playbookClicked",(function(t){trackEvent("chat initiation",t)})),window.drift.on("conversation:firstInteraction",(function(t){trackEvent("chat conversation started",t)})),window.drift.on("conversation:buttonClicked",(function(t){trackEvent("chat interaction button click",t)})),window.drift.on("emailCapture",(function(t){trackEvent("chat email captured",t)})),window.drift.on("phoneCapture",(function(t){trackEvent("chat phone captured",t)}))})); });