{"id":8435,"date":"2023-12-20T16:29:22","date_gmt":"2023-12-20T09:29:22","guid":{"rendered":"https:\/\/sable.asia\/?page_id=8435"},"modified":"2024-03-27T21:36:22","modified_gmt":"2024-03-27T14:36:22","slug":"8435-2","status":"publish","type":"page","link":"https:\/\/sable.asia\/zh\/8435-2\/","title":{"rendered":"SALBE-Receiver"},"content":{"rendered":"<p><title>SALBE-Receiver<\/title><br \/>\n<script><\/p>\n<p>        window.addEventListener(\"message\", receiveMessage, false);<\/p>\n<p>        function getCookie(name) {<br \/>\n          return document.cookie.match('(^|;)\\\\s*' + name + '\\\\s*=\\\\s*([^;]+)')?.pop() || ''<br \/>\n        }<br \/>\n        function setCookie(name,value){<br \/>\n          \/\/ set cookie for 365 days<br \/>\n          let days = 365;<br \/>\n          var expires = '';<br \/>\n          const host = window.location.hostname;<br \/>\n          const time = setSbExpire(days * 24 * 60 * 60 * 1000)<br \/>\n          expires = 'expires=' + time.toUTCString();<br \/>\n          if (typeof value !== 'object' || value !== '{}') {<br \/>\n            document.cookie = `${name}=${value || ''}; ${expires}; Domain=.${host}; path=\/`;<br \/>\n          }<br \/>\n        }<br \/>\n        function receiveMessage(event) {<br \/>\n            \/\/ Replace 'http:\/\/SenderDomain.com' with the origin you expect the message to come from<br \/>\n            \/\/ if (event.origin !== \"http:\/\/SenderDomain.com\") {<br \/>\n            \/\/     return; \/\/ Ignore messages from unexpected origins<br \/>\n            \/\/ }<\/p>\n<p>            var data = event.data;<br \/>\n            console.log(data);<br \/>\n            \/\/ check undefined data<br \/>\n            if (typeof data === 'undefined') {<br \/>\n              return;<br \/>\n            }<br \/>\n            \/\/ Perform actions based on the received message<br \/>\n            if (data.action === \"SABLE_setCookie\") {<br \/>\n              if (data.s_visitorId === \"s_visitorId\") {<br \/>\n                visitorId = data.s_visitorId <\/p>\n<p>                \/\/ check already have cookie 's_visitorId' or not<br \/>\n                const cookieName = 's_visitorId';<br \/>\n                const cookieValue = getCookie(cookieName);<br \/>\n                if (cookieValue) {<br \/>\n                  \/\/ already have s_visitorId cookie<br \/>\n                  \/\/ then set s_related_visitorId cookie<br \/>\n                  setCookie('s_related_visitorId', visitorId);<br \/>\n                  return;<br \/>\n                }else{<br \/>\n                  \/\/ set s_visitorId cookie<br \/>\n                  setCookie('s_visitorId', visitorId);<br \/>\n                  return;<br \/>\n                }<br \/>\n              }<br \/>\n                \/\/ document.cookie = data.cookieName + \"=\" + data.cookieValue + \"; path=\/; SameSite=None; Secure\";<br \/>\n                document.getElementById('h1h').innerHTML = JSON.stringify(data);<br \/>\n              }<br \/>\n        }<br \/>\n    <\/script><\/p>\n<h1 id=\"h1h\">Receiver Page<\/h1>\n<p><!-- Page content goes here --><\/p>","protected":false},"excerpt":{"rendered":"<p>SALBE-Receiver Receiver Page<\/p>","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SALBE-Receiver - SABLE - AI CDP and Sales &amp; Marketing Automation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sable.asia\/zh\/8435-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SALBE-Receiver - SABLE - AI CDP and Sales &amp; Marketing Automation\" \/>\n<meta property=\"og:description\" content=\"SALBE-Receiver Receiver Page\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sable.asia\/zh\/8435-2\/\" \/>\n<meta property=\"og:site_name\" content=\"SABLE - AI CDP and Sales &amp; Marketing Automation\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sable.th\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T14:36:22+00:00\" \/>\n<meta name=\"author\" content=\"SABLE\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/sable.asia\/#organization\",\"name\":\"SABLE Co., Ltd\",\"url\":\"https:\/\/sable.asia\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/sable.th\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/sable.asia\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/sable.asia\/wp-content\/uploads\/sites\/9\/2023\/07\/logo-icon-color-1.png\",\"contentUrl\":\"https:\/\/sable.asia\/wp-content\/uploads\/sites\/9\/2023\/07\/logo-icon-color-1.png\",\"width\":300,\"height\":300,\"caption\":\"SABLE Co., Ltd\"},\"image\":{\"@id\":\"https:\/\/sable.asia\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sable.asia\/#website\",\"url\":\"https:\/\/sable.asia\/\",\"name\":\"SABLE - AI CDP and Sales &amp; Marketing Automation\",\"description\":\"\u0e40\u0e0b\u0e40\u0e1a\u0e34\u0e25 \u0e1c\u0e39\u0e49\u0e43\u0e2b\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e30\u0e1a\u0e1a AI CDP, Sales Automation \u0e41\u0e25\u0e30 Marketing Automation \u0e40\u0e02\u0e49\u0e32\u0e43\u0e08\u0e25\u0e39\u0e01\u0e04\u0e49\u0e32\u0e1e\u0e24\u0e15\u0e34\u0e01\u0e23\u0e23\u0e21\u0e17\u0e38\u0e01 TouchPoint \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e22\u0e2d\u0e14\u0e02\u0e32\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34\",\"publisher\":{\"@id\":\"https:\/\/sable.asia\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sable.asia\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sable.asia\/8435-2\/#webpage\",\"url\":\"https:\/\/sable.asia\/8435-2\/\",\"name\":\"SALBE-Receiver - SABLE - AI CDP and Sales &amp; Marketing Automation\",\"isPartOf\":{\"@id\":\"https:\/\/sable.asia\/#website\"},\"datePublished\":\"2023-12-20T09:29:22+00:00\",\"dateModified\":\"2024-03-27T14:36:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sable.asia\/8435-2\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sable.asia\/8435-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sable.asia\/8435-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sable.asia\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SALBE-Receiver\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SALBE-Receiver - SABLE - AI CDP and Sales &amp; Marketing Automation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sable.asia\/zh\/8435-2\/","og_locale":"zh_TW","og_type":"article","og_title":"SALBE-Receiver - SABLE - AI CDP and Sales &amp; Marketing Automation","og_description":"SALBE-Receiver Receiver Page","og_url":"https:\/\/sable.asia\/zh\/8435-2\/","og_site_name":"SABLE - AI CDP and Sales &amp; Marketing Automation","article_publisher":"https:\/\/www.facebook.com\/sable.th","article_modified_time":"2024-03-27T14:36:22+00:00","author":"SABLE","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/sable.asia\/#organization","name":"SABLE Co., Ltd","url":"https:\/\/sable.asia\/","sameAs":["https:\/\/www.facebook.com\/sable.th"],"logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/sable.asia\/#\/schema\/logo\/image\/","url":"https:\/\/sable.asia\/wp-content\/uploads\/sites\/9\/2023\/07\/logo-icon-color-1.png","contentUrl":"https:\/\/sable.asia\/wp-content\/uploads\/sites\/9\/2023\/07\/logo-icon-color-1.png","width":300,"height":300,"caption":"SABLE Co., Ltd"},"image":{"@id":"https:\/\/sable.asia\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/sable.asia\/#website","url":"https:\/\/sable.asia\/","name":"SABLE - AI CDP and Sales &amp; Marketing Automation","description":"\u0e40\u0e0b\u0e40\u0e1a\u0e34\u0e25 \u0e1c\u0e39\u0e49\u0e43\u0e2b\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e23\u0e30\u0e1a\u0e1a AI CDP, Sales Automation \u0e41\u0e25\u0e30 Marketing Automation \u0e40\u0e02\u0e49\u0e32\u0e43\u0e08\u0e25\u0e39\u0e01\u0e04\u0e49\u0e32\u0e1e\u0e24\u0e15\u0e34\u0e01\u0e23\u0e23\u0e21\u0e17\u0e38\u0e01 TouchPoint \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e22\u0e2d\u0e14\u0e02\u0e32\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34","publisher":{"@id":"https:\/\/sable.asia\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sable.asia\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-TW"},{"@type":"WebPage","@id":"https:\/\/sable.asia\/8435-2\/#webpage","url":"https:\/\/sable.asia\/8435-2\/","name":"SALBE-Receiver - SABLE - AI CDP and Sales &amp; Marketing Automation","isPartOf":{"@id":"https:\/\/sable.asia\/#website"},"datePublished":"2023-12-20T09:29:22+00:00","dateModified":"2024-03-27T14:36:22+00:00","breadcrumb":{"@id":"https:\/\/sable.asia\/8435-2\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sable.asia\/8435-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sable.asia\/8435-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sable.asia\/"},{"@type":"ListItem","position":2,"name":"SALBE-Receiver"}]}]}},"_links":{"self":[{"href":"https:\/\/sable.asia\/zh\/wp-json\/wp\/v2\/pages\/8435"}],"collection":[{"href":"https:\/\/sable.asia\/zh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sable.asia\/zh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sable.asia\/zh\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/sable.asia\/zh\/wp-json\/wp\/v2\/comments?post=8435"}],"version-history":[{"count":2,"href":"https:\/\/sable.asia\/zh\/wp-json\/wp\/v2\/pages\/8435\/revisions"}],"predecessor-version":[{"id":8437,"href":"https:\/\/sable.asia\/zh\/wp-json\/wp\/v2\/pages\/8435\/revisions\/8437"}],"wp:attachment":[{"href":"https:\/\/sable.asia\/zh\/wp-json\/wp\/v2\/media?parent=8435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}