Bloomberg Technology


Bloomberg Technology – Bloomberg = 0 ? true : true, init: function initCMP() { var CCPA_FOOTER_LABELS = { ja: “私の個人情報を販売しない(カリフォルニア州消費者プライバシー法)”, en: “Do Not Sell My Info (California)” }; var GDPR_FOOTER_LABELS = { ja: “クッキーを管理する”, en: “Manage Cookies” }; if (!window.__bloomberg__.cmp.enabled) { console.log(“[navi/cmp] CMP feature toggle is disabled, exiting `initCMP`”); return; } if (!window.__tcfapi) { console.warn(“[navi/cmp] CMP required stub missing, exiting `initCMP`”); return; } var bbgConsentReadyFlag = false; var sourcepointCMPLoaded = false; var SOURCEPOINT_GDPR_PRIVACY_MANAGER_ID = 192913; var SOURCEPOINT_CCPA_PRIVACY_MANAGER_ID = “5f07906b43304a114d911db3”; var trackerTimeStart = Date.now(); /* https://support.google.com/analytics/answer/10022331?hl=en */ window[“gtag_enable_tcf_support”] = true; /* Listens for GDPR/CCPA consent events, converts it to bbg consent string, and stores it in a cookie */ waitForConsent({ onGDPR: function (tcData) { if (tcData.eventStatus !== “tcloaded” && tcData.eventStatus !== “useractioncomplete”) { console.warn(“[navi/cmp] CMP UI is shown, waiting for user consent”); return; } window.__tcfapi(“getCustomVendorConsents”, 2, function (customConsents, success) { if (!success) { console.error(“[navi/cmp] Failed to `getCustomVendorConsents` with __tcfapi”); return; } var bbgConsentString = convertFromGDPRData(customConsents); setCookie(“bbgconsentstring”, bbgConsentString, 365); fireBBGConsentReadyGTMEventOnce(); console.log(“[navi/cmp] GDPR applies, custom consent string”, bbgConsentString); }); }, onCCPA: function (uspData) { var bbgConsentString = convertFromCCPAData(uspData); setCookie(“bbgconsentstring”, bbgConsentString, 365); fireBBGConsentReadyGTMEventOnce(); console.log(“[navi/cmp] CCPA applies, custom consent string”, bbgConsentString); }, onError: function (error) { console.warn(“[navi/cmp]”, error); if (!navigator.sendBeacon) return; navigator.sendBeacon(“/javelin/api/cmp_tracker”, new Blob([JSON.stringify({ url: window.location.href, event: “sourcepoint_cmp_error”, message: error.message, userAgent: navigator.userAgent, timeElapsed: (Date.now() – trackerTimeStart) / 1000 })], { type: “application/json” })); } }); /* Listens for GDPR/CCPA consent events and injects proper footer link */ waitForConsent({ onGDPR: function () { waitForDOM(function () { injectCmpLink(GDPR_FOOTER_LABELS, function () { window._sp_.loadPrivacyManagerModal(SOURCEPOINT_GDPR_PRIVACY_MANAGER_ID); }); }); }, onCCPA: function () { waitForDOM(function () { injectCmpLink(CCPA_FOOTER_LABELS, function () { window._sp_ccpa.loadPrivacyManagerModal(null, SOURCEPOINT_CCPA_PRIVACY_MANAGER_ID); }); }); }, once: true }); window.addEventListener(“beforeunload”, function () { if (!navigator.sendBeacon) return; if (!sourcepointCMPLoaded || !wasGtmDomEventPushed() || !didGoogletagLoadStart()) { navigator.sendBeacon(“/javelin/api/cmp_tracker”, new Blob([JSON.stringify({ url: window.location.href, event: “integration_load_anomaly”, userAgent: navigator.userAgent, sourcepointCMPLoaded: sourcepointCMPLoaded, gtmDom: wasGtmDomEventPushed(), gtmLoad: wasGtmLoadEventPushed(), googletagLoadStart: didGoogletagLoadStart(), message: “See attached metadata”, timeElapsed: (Date.now() – trackerTimeStart) / 1000 })], { type: “application/json” })); } if (sourcepointCMPLoaded && !bbgConsentReadyFlag) { navigator.sendBeacon(“/javelin/api/cmp_tracker”, new Blob([JSON.stringify({ url: window.location.href, event: “bbg_consent_ready”, userAgent: navigator.userAgent, message: “User left the page before CMP was submitted”, timeElapsed: (Date.now() – trackerTimeStart) / 1000 })], { type: “application/json” })); } }); function waitForConsent(options) { window.__tcfapi(“addEventListener”, 2, function (tcData, success) { options.onError = options.onError || function () { }; if (!success) { options.onError(new Error(“[navi/cmp] Failure received from __tcfapi `addEventListener`”)); return; } /* https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/TCFv2/IAB%20Tech%20Lab%20-%20CMP%20API%20v2.md#what-does-the-gdprapplies-value-mean */ if (tcData.gdprApplies === undefined) { options.onError(new Error(“[navi/cmp] Received `gdprApplies` as undefined”)); return; } sourcepointCMPLoaded = true; if (tcData.gdprApplies) { options.onGDPR(tcData); } else { window.__uspapi(“getUSPData”, 1, function (uspData, success) { if (!success) { options.onError(new Error(“[navi/cmp] Failed to `getUSPData` with __uspapi”)); return; } options.onCCPA(uspData); }); } if (options.once) { window.__tcfapi(“removeEventListener”, 2, function (success) { if (!success) { options.onError(new Error(“[navi/cmp] Failed to remove __tcfapi event listener with id: ” + tcData.listenerId)); } }, tcData.listenerId); } }); } function waitForDOM(fn) { document.readyState === “loading” ? document.addEventListener(“DOMContentLoaded”, fn) : fn(); window.addEventListener(“load”, fn); } function injectCmpLink(labels, triggerCmpModal) { var cmpLink = document.querySelector(“#cmp-footer-link”); if (cmpLink && cmpLink.getAttribute(“data-status”) !== “injected”) { cmpLink.textContent = labels[cmpLink.getAttribute(“data-lang”) || “en”]; cmpLink.addEventListener(“click”, triggerCmpModal); cmpLink.setAttribute(“data-status”, “injected”); console.log(“[navi/cmp] Successfully injected footer link”, cmpLink); return; } console.warn(“[navi/cmp] Footer link was not found or was already injected”, cmpLink); } function convertFromCCPAData(uspData) { return uspData.uspString.charAt(2) === “N” ? “req1fun1pad1” : “req1fun0pad0”; } function convertFromGDPRData(consents) { var funId = “5f29641df70e58290010d5aa”; var padId = “5f2c366203c8584077858803”; var grantedConsents = consents.consentedPurposes.concat(consents.legIntPurposes); var reqFlag = “req1”, funFlag = “fun0”, padFlag = “pad0”; grantedConsents.forEach(function (purpose) { if (purpose._id === funId) { funFlag = “fun1”; Object.keys(consents.grants).forEach(function (vendorId) { var grant = consents.grants[vendorId].purposeGrants; if (funId in grant && !grant[funId]) { funFlag = “fun0”; } }); } if (purpose._id === padId) { padFlag = “pad1”; Object.keys(consents.grants).forEach(function (vendorId) { var grant = consents.grants[vendorId].purposeGrants; if (padId in grant && !grant[padId]) { padFlag = “pad0”; } }); } }); return [reqFlag, funFlag, padFlag].join(“”); } function setCookie(name, value, days) { var d = new Date; d.setTime(d.getTime() + 24 * 60 * 60 * 1000 * days); document.cookie = name + “=” + value + “;path=/;expires=” + d.toUTCString(); } function fireBBGConsentReadyGTMEventOnce() { if (!bbgConsentReadyFlag) { window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: “bbg_consent_ready” }); // add support for liveblog-frontend, which uses a different data layer array if (/^/?news/live-blog/.test(window.location.pathname)) { window.dataLayerMNTH5N = window.dataLayerMNTH5N || []; window.dataLayerMNTH5N.push({ event: “bbg_consent_ready” }); } /* Needed to guarantee that we fire GTM `bbg_consent_ready` event only once */ bbgConsentReadyFlag = true; } } function wasGtmDomEventPushed() { try { return Boolean(window.dataLayer.find(function (command) { return command.event === “gtm.dom”; })); } catch (e) { return null; } } function wasGtmLoadEventPushed() { try { return Boolean(window.dataLayer.find(function (command) { return command.event === “gtm.load”; })); } catch (e) { return null; } } function didGoogletagLoadStart() { try { return Boolean(window.googletag._loadStarted_); } catch (e) { return null; } } } }; window.__bloomberg__.cmp.init(); ]]> Skip to content

Bloomberg

Connecting decision makers to a dynamic network of information, people and ideas, Bloomberg quickly and accurately delivers business and financial information, news and insight around the world.

For Customers

Apple iPhone 12 Goes On Sale In Stores Technology Apple Must Pay VirnetX $503 Million in Security-Patent Trial 10/30/20, 7:51 PM EDT TikTok As Microsoft Corp. Tries To Salvage Purchase Deal Technology

Trump TikTok Restrictions Blocked by Judge in Win for Users

10/30/20, 6:30 PM EDT Twitter tumbles, posting its biggest decline since 2014 Technology

Twitter Posts Worst Day Since 2014 After Meager User Growth

10/30/20, 4:52 PM EDT Airbnb To Buy HotelTonight In Company's Biggest Acquisition Yet Technology

Apple Warns That Reduced App Store Cut Would Hurt Results

10/30/20, 3:16 PM EDT

Follow us

Get the latest in your inbox weekly

Sign up for the Fully Charged newsletter

Big Tech

Startups

What to Watch

relates to What to Watch

The Electric Pickup Truck War Is Here

The electrification of the pickup truck, America’s most beloved automobile, could finally jolt EVs fully into the U.S. mainstream. It also promises a huge payday for the companies that can make them affordable. The players in this potentially lucrative market aren’t just the traditional, deep-pocketed automakers, mind you: there’s a batch of well-funded startups going head-to-head in the coming fight. (This video has been updated to reflect that Amazon, the sponsor of the Accelerate series, is a financial backer of Rivian.) (Source: Bloomberg)

relates to Japan's Bullet Trains Hit a Speed Bump Due to Virus

Japan’s Bullet Trains Hit a Speed Bump Due to Virus

relates to Apple Embraces 5G Era in Launch of New iPhones

Apple Embraces 5G Era in Launch of New iPhones

relates to Wall Street Week - Full Show (10/30/2020)

Wall Street Week – Full Show (10/30/2020)

relates to 'Bloomberg Technology' Full Show (10/30/2020)

‘Bloomberg Technology’ Full Show (10/30/2020)

Cybersecurity

More on Screentime

China

Commentary

Technology & Ideas

Surrender Is Not a Valid Coronavirus Plan

Other countries have figured out how to manage it without vaccines.

10/30/20, 4:40 PM EDT Technology & Ideas

Covid-19 Has Made Us All Dashboard Junkies

The deadliest pandemic of the digital age has supercharged the rise of the dashboard, and illuminated the promise and peril of “dashboard thinking.”

10/30/20, 9:57 AM EDT Technology & Ideas

U.S. May Need France-Like Lockdowns to Beat Covid-19

Hospitalization rates haven’t yet reached the levels we saw in the spring, but the danger of an acute health crisis may be even greater.

10/30/20, 7:00 AM EDT Technology & Ideas

In China, Big Tech Isn’t the Enemy. It’s the Strategy

Beijing’s five-year plan is determined to ensure the success of domestic technology giants. Foreign firms are on notice.

10/29/20, 11:30 PM EDT Cryptocurrencies

Bitcoin Approaches Highest Level Since Post-Bubble Crash in 2018

10/27/20, 12:54 PM EDT More on Crypto More on Hyperdrive



Source

Leave a Reply

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