[]
Main Gods and Goddesses in Norse Mythology { e.preventDefault(); Mntl.utilities.loadExternalJS( externalJS , () => { Mntl.CMP.onSdkLoaded(() => { OneTrust.ToggleInfoDisplay(); }) }); }, { as soon as: true }); }); Mntl.CMP.init(true, ‘ccpa’, false, 3000); })(); (operate(){ const pageTargeting = { customSeries: ” ,tax0: ‘tho’ ,rid: ‘nd0850467643446bc880869e7170039ca23’ ,customized: ” ,sid: ‘nd0850467643446bc880869e7170039ca23’ } ; const baseSlotTargeting = { leaid: ‘575’ ,docId: ‘120007’ ,viewtype: ” ,sort: ‘checklist’ ,ptax: ‘tho_ancient-history’ ,vid: ‘1’ ,tax1: ‘tho_humanities’ ,tax2: ‘tho_history-and-culture’ ,tier: ‘L’ ,leuid: ‘151378030080892’ ,id: ‘120007’ ,tax3: ‘tho_ancient-history’ ,tax4: ‘tho_mythology-and-religion’ ,inf: ‘0’ ,entryType: ‘direct’ ,gtemplate: ‘checklist’ ,revenueGroup: ” ,chpg: ‘1’ ,t: ‘115’ ,au: ‘575’ ,jny: ‘0’ ,sbj: ” ,lf: ” ,help: ‘500574af2f00624fce8013ab’ ,jnyroot: ” } ; pageTargeting.w = Mntl.utilities.getW(); const initialSlots = []; initialSlots.push({ config: { id: ‘oop’, sizes: [[1, 1]], sort: ‘outofpage’, rtb: false, timedRefresh: 0, waitForThirdParty: true }, concentrating on: Mntl.fnUtilities.deepExtend({}, { pos: ‘atf’, precedence: 0 ,floor_id: ‘706c020c2d1e4e48b5b377e9943f4409′ ,ground: ’50’ }) }); initialSlots.push({ config: { id: ‘leaderboard-flex-1’, sizes: [[728, 90], [970,90], [970, 250]], sort: ‘leaderboard’, rtb: true, timedRefresh: 0, waitForThirdParty: false }, concentrating on: Mntl.fnUtilities.deepExtend({}, { pos: ‘atf’, precedence: 1 ,floor_id: ‘bec74fe6e8d84acda569f4bebb0d848d’ ,ground: ’25’ }) }); initialSlots.push({ config: { id: ‘square-flex-1’, sizes: [[300, 250],[299, 251],[300, 600],[300, 1050],[160, 600]], sort: ‘billboard’, rtb: true, timedRefresh: 0, waitForThirdParty: false }, concentrating on: Mntl.fnUtilities.deepExtend({}, { pos: ‘atf’, precedence: 2 ,floor_id: ‘844192aae5aa4241a2dcef979f18f8d5′ ,ground: ’25’ }) }); const testIds = Mntl.GPT.getTestIds(); pageTargeting.ab = testIds; pageTargeting.bts = testIds; Mntl.utilities.onLoad(operate() { Mntl.utilities.loadExternalJS({ src: ‘//securepubads.g.doubleclick.web/tag/js/gpt.js’, async: false }); }); const choices = { area: ‘www.thoughtco.com’, templateName: ‘listsc’, isMobile: false, dfpId: ‘3865’, publisherProvidedId: ‘451242f4-34b1-4054-b736-6509289bad6c’, singleRequest: false, useLmdFormat: true, useOxygen: true, useInfiniteRightRail: true, useAuctionFloorSearch: false, bundlePrebid: false, lmdSiteCode: ‘hlt’, pageTargeting, baseSlotTargeting, geo: { isInEurope: false, isInUsa: true }, initialSlots, utils: { buildGptUrl: Ref.GPT.buildGptUrl, generateSlotId: Ref.GPT.generateSlotId }, displayOnScroll: false, displayOnConsent: true }; if (Mntl.AdMetrics) { Mntl.AdMetrics.init(“120007”, “nd0850467643446bc880869e7170039ca23″, initialSlots.map(slot => slot.config.id), Date.now()); } else { Mntl.AdMetrics = { pushMetrics: () => {} }; } Mntl.GPT.init(choices); }());// moved from gtm.ftl so we are able to initialize GTM solely onLoad. From https://assist.google.com/tagmanager/reply/6103696?hl=en Mntl.utilities.onLoad(operate() { (operate(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.begin’:new Date().getTime(),occasion:’gtm.js’});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;defer=true;j.src=’//www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);})(window,doc,’script’,’dataLayer’,’GTM-5P3SZGS’); }); var dataLayer = dataLayer || []; dataLayer.push({ occasion: ‘ab-proctor’, ‘abTests-proctor’: 0″ , “99-2” : “vanillaJWPlayer }); dataLayer.push({ envData: { setting: { setting: “k8s-prod”, utility: “reference”, dataCenter: “us-west-1” }, server: { model: “3.135.0”, title: “reference-launcher” }, shopper : { browserUA: navigator.userAgent, serverUA: “Mozilla/5.0 (Home windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36”, deviceType: “computer”, usStateCode: “AZ” }, mantle: “3.13.795”, commerce: “” } }); (operate(win, fnUtils, CMP) { var pageViewDataAsJSON = ; var deferLoadTime = 5000; var readyForThirdPartyTrackingEvent = new CustomEvent(‘readyForThirdPartyTracking’, { bubbles: true }); var readyForThirdPartyTracking = fnUtils.as soon as(operate() { dataLayer.push({occasion: ‘readyForThirdPartyTracking’}); window.dispatchEvent(readyForThirdPartyTrackingEvent); }); var readyForDeferredScriptsEvent = new CustomEvent(‘readyForDeferredScripts’, { bubbles: true }); var readyForDeferredScripts = fnUtils.as soon as(operate() { dataLayer.push({occasion: ‘readyForDeferredScripts’}); window.dispatchEvent(readyForDeferredScriptsEvent); }); var hasTargetingConsentHandler = operate() { const hasConsent = CMP.hasTargetingConsent(); if (hasConsent) { readyForThirdPartyTracking(); } // if there may be consent or the person has closed the banner(AlertBox) in EU then set off readyForDeferredScripts if (hasConsent || CMP.isAlertBoxClosed()) { readyForDeferredScripts(); } return hasConsent; }; var onRequiredDomEvent = fnUtils.as soon as(operate() { if (!CMP) { readyForThirdPartyTracking(); readyForDeferredScripts(); return; } if (!CMP.isLoading()) { hasTargetingConsentHandler(); } CMP.onConsentChange(hasTargetingConsentHandler); }); [ [‘adRendered’, onRequiredDomEvent], [‘beforeunload’, onRequiredDomEvent], [‘load’, function() { setTimeout(onRequiredDomEvent, deferLoadTime); }] ].forEach(operate(occasion) { win.addEventListener(occasion[0], occasion[1], { as soon as: true }); }); pageViewDataAsJSON.breakpointName = Ref.utilities.getW(); pageViewDataAsJSON.bounceExchangeId = ‘2473’; Mntl.utilities.onLoad(operate() { Mntl.PageView.init(pageViewDataAsJSON); }); })(window || {}, Mntl.fnUtilities || {}, Mntl.CMP);]]>

Source

Leave a Reply

Your email address will not be published. Required fields are marked *