****************************************************** console.log('dbp01-hh'); // window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() { googletag.defineSlot('/21682791461/Invdes_Home_300x250_Maestria', [[300,250],[300,600]], 'div-gpt-ad-7395697-1') .addService(googletag.pubads()); googletag.defineSlot('/21682791461/Invdes_Home_728x90_Menu', [[728,90],[970,250],[970,90]], 'div-gpt-ad-7395697-2') .addService(googletag.pubads()); googletag.defineSlot('/21682791461/Invdes_Home_728x90_tecnologia', [[970,90],[970,250],[728,90]], 'div-gpt-ad-7395697-3') .addService(googletag.pubads()); googletag.defineSlot('/21682791461/Invdes_Home_728x90_innovacion', [[728,90]], 'div-gpt-ad-7395697-4') .addService(googletag.pubads()); googletag.defineSlot('/21682791461/Invdes_Home_RM1x1', [[1,1]], 'div-gpt-ad-4865483-5') .addService(googletag.pubads()); }); var cX = cX || {}; cX.callQueue = cX.callQueue || []; cX.callQueue.push(['setSiteId', '1134080978869758082']); cX.callQueue.push(['sendPageViewEvent']); cX.callQueue.push(['getUserSegmentIds', { persistedQueryId: "0cbedb97083403b68651bdd2ab19a8e1d1d28cbe", callback: function (segments) { if (typeof window.localStorage === 'object' && typeof window.localStorage.getItem === 'function') { localStorage.setItem("cxSegments", segments.join(",")); } } }]); function getUserSegmentIdsLocal() { var segments = []; if (typeof window.localStorage === 'object' && typeof window.localStorage.getItem === 'function' && localStorage.getItem("cxSegments") !== null && localStorage.getItem("cxSegments").length > 0) { segments = localStorage.getItem("cxSegments").split(','); } return segments; } googletag.cmd.push(function () { googletag.pubads().setTargeting("CxSegments", getUserSegmentIdsLocal()); googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(); googletag.pubads().setCentering(true); googletag.enableServices(); }); // Async load of cx.js (function (d, s, e, t) { e = d.createElement(s); e.type = 'text/java' + s; e.async = 'async'; e.src = 'http' + ('https:' === location.protocol ? 's://s' : '://') + 'cdn.cxense.com/cx.js'; t = d.getElementsByTagName(s)[0]; t.parentNode.insertBefore(e, t); })(document, 'script'); //