[]
What Is an Investment Bank? { e.preventDefault(); Mntl.utilities.loadExternalJS( externalJS , () => { Mntl.CMP.onSdkLoaded(() => { OneTrust.ToggleInfoDisplay(); }) }); }, { once: true }); }); Mntl.CMP.init(true, ‘ccpa’, false, 3000); })(); window.Mntl = window.Mntl || {}; Mntl.RTB = Mntl.RTB || {}; Mntl.RTB.setTaxonomyStampValues({“tax1″:”bal_investing”,”tax0″:”bal_root”}); Mntl.RTB.setTimeoutLength([500,800]); Mntl.RTB.Plugins.amazon.amazonConfigs = {“mapTaxValues”:{“tax1″:”bal_investing”,”tax2″:”null”,”si_section”:”null”,”tax0″:”bal_root”,”tax3″:”null”},”mapFBValues”:{“adunitid”:”mapFBID”},”amazonSlotName”:false}; Mntl.RTB.initVideoBidders([{ type: ‘amazon’, id: ‘3446’ }, { type: ‘prebid’, id: ‘true’ } ]); Mntl.RTB.initDisplayAndOutstreamBidders([{ type: “amazon”, id: ‘3446’},{ type: “lotameLightning”, id: ‘true’},{ type: “ixid”, id: ‘true’},{ type: “prebid”, id: ‘true’}]); Mntl.RTB.Plugins.lotameLightning.init({“tax1″:”bal_investing”,”tax0″:”The Balance”,”clientId”:”10691″}); Mntl.RTB.Plugins.prebid.setConfig({“square-fixed/tier1”:[{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442370″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482742″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9691af018180ffdca0028b21be0082″}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515088″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351530″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”830557″,”type”:”display”}}],”leaderboard-fixed/tier2″:[{“bidder”:”trustx”,”params”:{“uid”:”351525″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515084″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”830552″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442362″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9694b2018180ffe245028b1ac20090″}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482738″,”type”:”display”}}],”leaderboardac/tier2″:[{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442368″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482741″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351529″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9694b2018180ffe245028b1fec0091″}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515087″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”830555″,”type”:”display”}}],”square-fixed/tier2″:[{“bidder”:”ix”,”params”:{“siteId”:”830559″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515089″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482743″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442372″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351538″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9698d2018180ffd7df028b2379007a”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}}],”leaderboard-fixed/tier1″:[{“bidder”:”trustx”,”params”:{“uid”:”351526″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442360″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515359″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9698d2018180ffd7df028b19150078″}},{“bidder”:”ix”,”params”:{“siteId”:”830548″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482737″,”type”:”display”}}],”leaderboard-fixed/tier4″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515086″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”830553″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442366″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351527″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482740″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9698d2018180ffd7df028b1e3b0079″}}],”square-fixed/tier3″:[{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9694b2018180ffe245028b253a0092″}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482744″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”830561″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442374″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351531″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515090″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}}],”preroll”:[{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515093″,”type”:”instream”}},{“bidder”:”roundel”,”params”:{“siteId”:578566,”type”:”instream”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482747″,”type”:”instream”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442380″,”type”:”instream”}},{“bidder”:”trustx”,”params”:{“uid”:”351806″,”useNewFormat”:true,”type”:”instream”}},{“bidder”:”ix”,”params”:{“siteId”:”830573″,”type”:”instream”}}],”square-fixed/tier4″:[{“bidder”:”appnexus”,”params”:{“placementId”:”25482745″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515091″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442376″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9691af018180ffdca0028b27040083″}},{“bidder”:”ix”,”params”:{“siteId”:”830564″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351532″,”useNewFormat”:true,”type”:”display”}}],”leaderboard-fixed/tier3″:[{“bidder”:”appnexus”,”params”:{“placementId”:”25482739″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351528″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515085″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9691af018180ffdca0028b1c770081″}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442364″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”830550″,”type”:”display”}}],”leaderboardfooter-flex/tier2″:[{“bidder”:”ix”,”params”:{“siteId”:”830552″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4632098″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”364630″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9694b2018180ffe245028b1ac20090″}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482738″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442362″,”type”:”display”}}],”leaderboardfooter-flex/tier1″:[{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9698d2018180ffd7df028b19150078″}},{“bidder”:”ix”,”params”:{“siteId”:”830548″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4632097″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”364629″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442360″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482737″,”type”:”display”}}],”leaderboardfooter-flex/tier4″:[{“bidder”:”trustx”,”params”:{“uid”:”364631″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”830553″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442366″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4632100″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9698d2018180ffd7df028b1e3b0079″}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482740″,”type”:”display”}}],”leaderboardfooter-flex/tier3″:[{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4632099″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”364634″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9691af018180ffdca0028b1c770081″}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482739″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”830550″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442364″,”type”:”display”}}],”square-flex/tier1″:[{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442378″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515092″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482746″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351533″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9698d2018180ffd7df028b28bc007b”}},{“bidder”:”ix”,”params”:{“siteId”:”830563″,”type”:”display”}}],”square-flex/tier2″:[{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442378″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515092″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482746″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351533″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9698d2018180ffd7df028b28bc007b”}},{“bidder”:”ix”,”params”:{“siteId”:”830563″,”type”:”display”}}],”leaderboard-flex/tier1″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”351529″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”830555″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a9698d2018180ffd7df026a90080029″,”pos”:”8a9694b2018180ffe245028b1fec0091″}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426856″,”zoneId”:”2442368″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515087″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482741″,”type”:”display”}}]}); Mntl.RTB.Plugins.prebid.setPriceGranularity({“buckets”:[{“max”:”20″,”increment”:”0.05″},{“max”:”100″,”increment”:”0.5″}]}); Mntl.RTB.setLatencyBuffer(0); (function(){ const pageTargeting = { customSeries: ” ,tax0: ‘The Balance’ ,rid: ‘n27049bbff4d142639a5f51c336d5050320’ ,custom: ” ,sid: ‘n27049bbff4d142639a5f51c336d5050320’ } ; const baseSlotTargeting = { leaid: ‘213354’ ,docId: ‘357318’ ,viewtype: ” ,type: ‘term’ ,ptax: ” ,vid: ‘0’ ,tax1: ‘bal_investing’ ,tax2: ” ,tier: ‘H’ ,leuid: ‘148122552371372’ ,id: ‘357318’ ,tax3: ” ,tax4: ” ,inf: ‘0’ ,entryType: ‘direct’ ,gtemplate: ‘term’ ,revenueGroup: ” ,chpg: ‘1’ ,t: ‘125’ ,au: ‘7502’ ,jny: ‘1’ ,sbj: ” ,aid: ‘4ffc768a1902c836df80c366’ ,jnyroot: ‘3305857’ } ; pageTargeting.mtax = [‘24259’]; pageTargeting.w = Mntl.utilities.getW(); const initialSlots = []; initialSlots.push({ config: { id: ‘oop’, sizes: [[1, 1]], type: ‘outofpage’, rtb: false, timedRefresh: 0, waitForThirdParty: true }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: ‘atf’, priority: 0 ,floor_id: ‘707008a7f84d404f8e51ed384d6ea714′ ,floor: ’50’ }) }); initialSlots.push({ config: { id: ‘leaderboard-flex-1’, sizes: [[728, 90], [970,90], [970, 250]], type: ‘leaderboard’, rtb: true, timedRefresh: 0, waitForThirdParty: false }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: ‘atf’, priority: 1 ,floor_id: ‘af9dbf0277fc4056919ee31d3e648e8b’ ,floor: ’70’ }) }); initialSlots.push({ config: { id: ‘button1’, sizes: [[120, 60]], type: ‘button’, rtb: false, timedRefresh: 0, waitForThirdParty: false }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: ‘button1’, priority: 2 }) }); initialSlots.push({ config: { id: ‘button2’, sizes: [[120, 60]], type: ‘button’, rtb: false, timedRefresh: 0, waitForThirdParty: false }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: ‘button2’, priority: 2 }) }); initialSlots.push({ config: { id: ‘button3’, sizes: [[120, 60]], type: ‘button’, rtb: false, timedRefresh: 0, waitForThirdParty: false }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: ‘button3’, priority: 2 }) }); initialSlots.push({ config: { id: ‘button4’, sizes: [[120, 60]], type: ‘button’, rtb: false, timedRefresh: 0, waitForThirdParty: false }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: ‘button4’, priority: 2 }) }); initialSlots.push({ config: { id: ‘square-flex-1’, sizes: [[300, 250],[299, 251],[300, 600],[300, 1050],[160, 600]], type: ‘billboard’, rtb: true, timedRefresh: 0, waitForThirdParty: false }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: ‘atf’, priority: 2 ,floor_id: ‘bd1d366dc4bc4d68be177ac4499f6201’ ,floor: ‘125’ }) }); const testIds = Mntl.GPT.getTestIds(); pageTargeting.ab = testIds; pageTargeting.bts = testIds; Mntl.utilities.onLoad(function() { Mntl.utilities.loadExternalJS({ src: ‘//securepubads.g.doubleclick.net/tag/js/gpt.js’, async: false }); }); const options = { domain: ‘www.thebalancemoney.com’, templateName: ‘termsc’, isMobile: false, dfpId: ‘3865’, publisherProvidedId: ‘e1edc164-23eb-45f7-b44b-aa3b5a625183’, singleRequest: false, useLmdFormat: true, useOxygen: true, useInfiniteRightRail: true, bundlePrebid: false, lmdSiteCode: ‘thebalancemoney’, pageTargeting, baseSlotTargeting, geo: { isInEurope: false, isInUsa: true }, initialSlots, utils: { generateSlotId: Money.GPT.generateSlotId }, displayOnScroll: false, displayOnConsent: true }; if (Mntl.AdMetrics) { Mntl.AdMetrics.init(“357318”, “n27049bbff4d142639a5f51c336d5050320″, initialSlots.map(slot => slot.config.id), Date.now()); } else { Mntl.AdMetrics = { pushMetrics: () => {} }; } Mntl.GPT.init(options); }());// moved from gtm.ftl so we can initialize GTM only onLoad. From https://support.google.com/tagmanager/answer/6103696?hl=en Mntl.utilities.onLoad(function() { (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:new Date().getTime(),event:’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,document,’script’,’dataLayer’,’GTM-5P3SZGS’); }); var dataLayer = dataLayer || []; dataLayer.push({ event: ‘ab-proctor’, ‘abTests-proctor’: { “99-0” : “rtbTracking | control | | 0” , “99-1” : “useOxygen | useOxygen | use the Oxygenated ad unit format and slot names | 1” , “74” : “typographyUpdate | variableFonts | variableFonts – typography update | 1” , “99-3” : “trackGBR | enabled | in test, tracking subId appended to GBR iframe src | 1” , “99-4” : “scAdSettings | config3 | config 3. Updated ad placement location, updated lazy offset, hide TOC and remove native add | 3” , “99-5” : “vanillaJWPlayer | active | | 1” , “59” : “adjustRightRail | control | adjustRightRail control | 0” , “63” : “useInfiniteRightRail | useInfiniteRightRail | Use infinite right rail | 1” , “53” : “prebid | ixId | Active with index identity adapter | 2” , “99-9” : “useRTBforVideoAds | active | | 1” } }); dataLayer.push({ envData: { environment: { environment: “k8s-prod”, application: “money”, dataCenter: “us-west-1” }, server: { version: “4.32.0”, title: “money-launcher” }, client : { browserUA: navigator.userAgent, serverUA: “Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0”, deviceType: “pc”, usStateCode: “CA” }, mantle: “3.13.721”, commerce: “” } }); (function(win, fnUtils, CMP) { var pageViewDataAsJSON = {“description”:”An investment bank is a specific type of financial institution that helps companies access capital markets to raise money. Learn more about how they work.”,”country”:”US”,”commerceVersion”:””,”primaryTaxonomyIds”:”4053121|4072978|5085709|4073971″,”primaryTaxonomyNames”:”The Balance|Investing|Assets & Markets|Stocks”,”fullUrl”:”https://www.thebalancemoney.com/what-is-an-investment-bank-357318″ + location.hash,”experienceType”:”single page”,”entryType”:”direct”,”excludeFromComscore”:false,”internalSessionId”:”n27049bbff4d142639a5f51c336d5050320″,”internalRequestId”:”n27049bbff4d142639a5f51c336d5050320″,”hid”:””,”experienceTypeName”:””,”recircDocIdsFooter”:”S-4165740|S-4177807|S-5197654|S-5200813|S-5235570|S-4173836|S-4165695|S-357844″,”euTrafficFlag”:false,”isGoogleBot”:false,”mantleVersion”:”3.13.721″,”documentId”:357318,”contentGroup”:”Other”,”revenueGroup”:””,”authorId”:”7502″,”templateName”:”TERMSC”,”title”:”What Is an Investment Bank?” || document.title || ”,”lastEditingAuthorId”:”213354″,”lastEditingUserId”:”148122552371372″,”templateId”:”125″,”viewType”:””,”muid”:”e1edc164-23eb-45f7-b44b-aa3b5a625183″}; var deferLoadTime = 5000; var readyForThirdPartyTrackingEvent = new CustomEvent(‘readyForThirdPartyTracking’, { bubbles: true }); var readyForThirdPartyTracking = fnUtils.once(function() { dataLayer.push({event: ‘readyForThirdPartyTracking’}); window.dispatchEvent(readyForThirdPartyTrackingEvent); }); var readyForDeferredScriptsEvent = new CustomEvent(‘readyForDeferredScripts’, { bubbles: true }); var readyForDeferredScripts = fnUtils.once(function() { dataLayer.push({event: ‘readyForDeferredScripts’}); window.dispatchEvent(readyForDeferredScriptsEvent); }); var hasTargetingConsentHandler = function() { const hasConsent = CMP.hasTargetingConsent(); if (hasConsent) { readyForThirdPartyTracking(); } // if there is consent or the user has closed the banner(AlertBox) in EU then trigger readyForDeferredScripts if (hasConsent || CMP.isAlertBoxClosed()) { readyForDeferredScripts(); } return hasConsent; }; var onRequiredDomEvent = fnUtils.once(function() { if (!CMP) { readyForThirdPartyTracking(); readyForDeferredScripts(); return; } if (!CMP.isLoading()) { hasTargetingConsentHandler(); } CMP.onConsentChange(hasTargetingConsentHandler); }); [ [‘adRendered’, onRequiredDomEvent], [‘beforeunload’, onRequiredDomEvent], [‘load’, function() { setTimeout(onRequiredDomEvent, deferLoadTime); }] ].forEach(function(event) { win.addEventListener(event[0], event[1], { once: true }); }); pageViewDataAsJSON.breakpointName = Money.utilities.getW(); pageViewDataAsJSON.bounceExchangeId = ‘1948’; pageViewDataAsJSON.descriptiveTaxonomy = ‘16442,24259’; Mntl.utilities.onLoad(function() { Mntl.PageView.init(pageViewDataAsJSON); }); })(window || {}, Mntl.fnUtilities || {}, Mntl.CMP);]]> Skip to content
Source
previous post