光兒的平行宇宙•靈性成長的陪伴 #s-content.s-font-body-lora .s-font-body{font-family:lora,georgia,serif}#s-content.s-font-body-lora .s-font-body:lang(zh){font-family:lora,georgia,Cardo,STSong,"Songti SC",SimSun,"PingFang SC","Microsoft YaHei",微软雅黑,STXihei,华文细黑,serif}#s-content.s-font-body-lora .s-font-body:lang(zh-tw){font-family:lora,georgia,'PingFang TC','Microsoft JhengHei',"微軟正黑體",STXihei,serif}#s-content.s-font-weight-700-body-lora .s-font-body{font-weight:700}#s-content.s-font-weight-700-body-lora .s-font-body p,h3{font-weight:700}#s-content.s-font-title-chenyuluoyan-thin .s-font-title{font-family:chenyuluoyan-thin,sans-serif}#s-content.s-font-title-chenyuluoyan-thin .s-font-title:lang(zh){font-family:chenyuluoyan-thin,'PingFang SC',"Microsoft YaHei","微软雅黑",STXihei,"华文细黑",sans-serif}#s-content.s-font-title-chenyuluoyan-thin .s-font-title:lang(zh-tw){font-family:chenyuluoyan-thin,'Lisong Pro',PMingLiU,'PingFang TC','Microsoft JhengHei',"微軟正黑體",STXihei,sans-serif}#s-content.s-font-nav_item-lora .s-font-nav_item{font-family:lora,georgia,serif}#s-content.s-font-nav_item-lora .s-font-nav_item:lang(zh){font-family:lora,georgia,Cardo,STSong,"Songti SC",SimSun,"PingFang SC","Microsoft YaHei",微软雅黑,STXihei,华文细黑,serif}#s-content.s-font-nav_item-lora .s-font-nav_item:lang(zh-tw){font-family:lora,georgia,'PingFang TC','Microsoft JhengHei',"微軟正黑體",STXihei,serif}#s-content.s-font-weight-700-nav_item-lora .s-font-nav_item{font-weight:700}#s-content.s-font-nav_dropdown-lora .s-font-nav_dropdown{font-family:lora,georgia,serif}#s-content.s-font-nav_dropdown-lora .s-font-nav_dropdown:lang(zh){font-family:lora,georgia,Cardo,STSong,"Songti SC",SimSun,"PingFang SC","Microsoft YaHei",微软雅黑,STXihei,华文细黑,serif}#s-content.s-font-nav_dropdown-lora .s-font-nav_dropdown:lang(zh-tw){font-family:lora,georgia,'PingFang TC','Microsoft JhengHei',"微軟正黑體",STXihei,serif}#s-content.s-font-weight-700-nav_dropdown-lora .s-font-nav_dropdown{font-weight:700}h3{font-weight:700} // function setCookieItem(key, value, options) { if (typeof options.expires === 'number') { var days = options.expires, t = options.expires = new Date(); t.setTime(+t + days * 864e+5); } return (document.cookie = [ encodeURIComponent(key), '=', encodeURIComponent(String(value)), options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : '' ].join('')); } function getCookieItem(cookieName) { const name = cookieName + "="; const decodedCookie = decodeURIComponent(document.cookie); const cookieArray = decodedCookie.split(';'); for (let i = 0; i { if(document.body) { var $inputs = document.getElementsByClassName('sign-up-utm-config-input') var configStr = encodeURIComponent(JSON.stringify(uniq_utm_config)) for (var $item of $inputs ) { $item.value = configStr } clearInterval(utmLoopId) } }, 500) } } } function recordBaiDuAnalyticsCookies() { var siteUrl = document.URL; var baiduVid = getQueryParam(siteUrl, 'bd_vid'); if (baiduVid) { var analyticsDomain = getTrackDomain(); setCookieItem('__bd_analytics_config', JSON.stringify({ bd_vid: baiduVid, logid_url: siteUrl }), { expires: 120, path: '/', domain: analyticsDomain }); } } function recordFacebookAnalyticsCookies() { var siteUrl = document.URL; var fbclid = getQueryParam(siteUrl, 'fbclid'); if (fbclid) { var trackDomain = getTrackDomain(); setCookieItem('__fe_fbclid', fbclid, { expires: 90, path: '/', domain: trackDomain }); } } const isEuVisitor = getCookieItem('__strk_cookie_eu_visitor') === 'true' const isOpenStrkAnalyticsCookie = getCookieItem('__is_open_strk_analytics_cookie') let cookieNotificationArea = undefined let isShowCookieNotification = undefined if($S && $S.stores && $S.stores.pageData) { cookieNotificationArea = $S.stores.pageData.cookieNotificationArea isShowCookieNotification = $S.stores.pageData.showCookieNotification } else if ($S && $S.blogPostData && $S.blogPostData.pageData) { cookieNotificationArea = $S.blogPostData.pageData.cookieNotificationArea isShowCookieNotification = $S.blogPostData.pageData.showCookieNotification } const isLiveSite = Boolean($S && $S.live_site) || Boolean($S && $S.liveBlog) function handleRecordUniqUtmCookies() { try { if(isLiveSite) { if(isShowCookieNotification) { if(cookieNotificationArea === 'eu') { if(isEuVisitor) { return; } else { recordUniqUtmCookies(); } } else { return; } } else { recordUniqUtmCookies(); return; } } else { if (isEuVisitor && !getCookieItem('__is_open_strk_analytics_cookie')) { recordUniqUtmCookies(null, false); return; } else if (!isEuVisitor) { recordUniqUtmCookies(); } } } catch (error) { console.error(error); } } // record unique utm cookies handleRecordUniqUtmCookies(); // record Bai Du analytics cookies for sxl try { if(isLiveSite) { if(isShowCookieNotification) { if(cookieNotificationArea === 'eu') { if(!isEuVisitor) { recordBaiDuAnalyticsCookies(); } } } else { record
FACT BOX ・ 要点整理
- 出典:PR Times
- 分類:ニュース