內容簡介
W3C發佈了一份客戶體驗數位層規範,允許網站定義JavaScript物件以向第三方提供數據訪問。
此外掛為WooCommerce安裝程式創建該物件,公開各種產品和購物車數據,以便與第三方代碼整合(例如,購物車遺棄腳本)。
它還公開已登錄用戶的名稱和電子郵件地址,但僅限於他們的計算機,因此不構成隱私問題。
在WooCommerce版本2.1.9上進行了測試。
外掛標籤
開發者團隊
② 後台搜尋「Digital Data Layer Plugin for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
The W3C have issued a Customer Experience Digital Layer Specification that allows sites to define a JavaScript object to make data accessible to third parties.
This plugin creates that object for an installation of WooCommerce, exposing various pieces of product and cart data to allow integration with third party code (for example, cart abandonment scripts).
It also exposes the logged in user’s name and email address, but only on their machine, so shouldn’t pose a privacy issue.
Tested on WooCommerce version 2.1.9
