var hostNamePattern="quantcast.com";var onloadHeader="ProfileOnLoad";var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-871372-1"]);var yayGlobalVars=document.location+"";if(yayGlobalVars.indexOf("/top-sites")==-1){_gaq.push(["_setDomainName",".quantcast.com"]);_gaq.push(["_setAllowHash",false])}_gaq.push(["_addIgnoredOrganic","quantcast"]);_gaq.push(["_addIgnoredOrganic","quantcast.com"]);_gaq.push(["_addIgnoredOrganic","www.quantcast.com"]);_gaq.push(["_addIgnoredOrganic","http://www.quantcast.com"]);_gaq.push(["_addIgnoredOrganic","quant cast"]);_gaq.push(["_addIgnoredOrganic","quancast"]);function isProduction(){var a=document.location.hostname;return(a.toLowerCase().indexOf(hostNamePattern)!==-1)}function trackEvent(b,d,a,c){makeAsyncGoogleAnalyticsCall("_trackEvent",[b,d,a,c])}function trackPageView(a){makeAsyncGoogleAnalyticsCall("_trackPageview",[a])}function makeAsyncGoogleAnalyticsCall(c,a){var d=[c];for(var b=0;b<a.length;b++){if(a[b]){d.push(a[b])}}if(isProduction()){_gaq.push(d)}else{if(window.console){console.log("_gaq.push(["+d.join(",")+"]")}}}function handlePageSpecificEvents(){var a=document.location.pathname;if(/audience\/showcase-your-audience-segments\/?$/.test(a)){trackEvent("Showcase Your Audience Segments","True")}}trackPageView(window.location.pathname);jQuery(window).load(function(){$pageload.end=$pageload.end||new Date();var d=$pageload.end.getTime()-$pageload.start.getTime();var a=document.location.hostname;var c=document.location.pathname;var b=c.substr($profile.contextPath==undefined?0:$profile.contextPath.length);if(d<500){loadCat="<500ms"}else{if(d<1000){loadCat="500-1000ms"}else{if(d<2000){loadCat="1000-2000ms"}else{if(d<4000){loadCat="2000-4000ms"}else{loadCat=">4000ms"}}}}if(document.location.search){c+=document.location.search}jQuery.ajax({url:contextPath+"/profile/performance",data:{time:d,path:b},type:"POST"});trackEvent("ProfilePageLoad",loadCat,c,d);trackEvent("PageLoad",loadCat,c,d);handlePageSpecificEvents()});
