!function(r,s){"use strict";function t(g){var n=this;g.on("afterOpen",function(){n.track("open")}).on("afterClose",function(){n.track("close")}),(g.GATracker=this).track=function(n){var t=g.options.ga_tracking_event_category,e=g.options.ga_tracking_event_label;this.gaLoad(function(){gaEB("send","event",{eventCategory:t,eventAction:n,eventLabel:e,hitCallback:function(){g.log("Google Analytics Event Tracked. Action: "+n+", Category: "+t+", Label: "+e)}})})},this.gaLoad=function(n){var t,e,a,o,c,i;"undefined"==typeof gaEB?(e=s,a="script",o="gaEB",(t=r).GoogleAnalyticsObject=o,t[o]=t[o]||function(){(t[o].q=t[o].q||[]).push(arguments)},t[o].l=1*new Date,c=e.createElement(a),i=e.getElementsByTagName(a)[0],c.async=1,c.src="//www.google-analytics.com/analytics.js",i.parentNode.insertBefore(c,i),gaEB("create",g.options.ga_tracking_id,"auto"),gaEB("require","displayfeatures"),gaEB(function(){n()})):gaEB(function(){n()})}}EngageBox&&EngageBox.onReady(function(){EngageBox.getInstances().forEach(function(n){n.options.ga_tracking&&n.options.ga_tracking_id&&new t(n)})})}(window,document);

