
內容簡介
這個外掛可實現與 WordPress (包括 WooCommerce) 的 fullstory 使用者監控平台之簡單整合。
它會新增一個設定頁面,您只需在其中輸入您有效的 fullstory 組織 ID,就可以在 WordPress 網站上獲取數據。
最新版本還提供了一個助手,讓您可以粘貼從 FullStory 獲得的 UI 鏈接並自動提取您的組織 ID。
由於此功能還在測試階段,因此下方顯示了所需的格式。
https://app.fullstory.com/ui/**{ORGID}**/segments/everyone/people/0
此外掛還與 wp-cli 自動部署兼容,通過向 wp-config.php 注入一個定義 ‘FULLSTORY_ORG’。
此外掛不進行特殊處理,只需確保在使用之前已逃脫所有保存值中的屬性。
我們特別提供了以下幾個過濾器,讓您可以指定自己的定制 fullstory 屬性。
cd2_fstory_data (數組)
如果您使用自定義過濾器,請注意必須自行負責檢查數據的正確性。我建議您盡量避免編輯此外掛,而是使用其相關的外掛。在部署前先在本地或測試環境中進行測試, FullStory 不喜歡格式錯誤的數據。數據的格式僅僅是一個 PHP 數組中的鍵值對。
這是一個參考性外掛,我非常願意對其進行進一步的開發,或與您合作包括其他功能,例如鉤子界面或複雜項目的正式視圖分離。我在多站點、標準 WP、多語言網站上使用過此外掛。
外掛標籤
開發者團隊
② 後台搜尋「fullstory WordPress reference integration」→ 直接安裝(推薦)
原文外掛簡介
This plugin enables painless integration with WordPress (including WooCommerce) with the fullstory user-monitoring platform.
It adds a new settings page, where you simply enter your valid fullstory organisation ID, and you get data from your WordPress site.
The latest version has a helper so that you can paste a UI link from FullStory and automatically extract your Organisation ID.
This is still experimental, so below is the format expected.
https://app.fullstory.com/ui/**{ORGID}**/segments/everyone/people/0
The plugin is also compatible with wp-cli automated deployment by injecting a define ‘FULLSTORY_ORG’ to the wp-config.php.
The plugin does no special work apart from ensuring that attributes are escaped in saved values before being used.
Care has been taken to supply the following filters, so that you can specify your own custom fullstory attributes.
cd2_fstory_data (array)
If using custom filters, please note you are wholely responsible for not messing things up. I recommend using a sibling plugin rather than editing this one; as well as testing locally, perhaps in staging before deploying to production as FullStory does not love malformed data. The format of data is simply key-value in a PHP array which is merged with the default array.
This is a reference plugin, I’d love to develop it further, or work with you or your business to include additional features, perhaps a hooks interface or more formal view-separation for complex projects. I’ve used this on Multisite, Standard WP, multi-lingual sites.
