[WordPress] 外掛分享: Segment For WordPress

WordPress 外掛 Segment For WordPress 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Segment For WordPress」是 2019-06-11 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 200 個安裝啟用數。
  • 上一次更新是 2023-02-27,距離現在已有 1095 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.3.5 以上。
  • 有 2 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

juanin8 |

外掛標籤

Segment | tracking | analytics |

內容簡介

WordPress 的 Segment Analytics 外掛。免費整合 WooCommerce、Ninja Form 和 Gravity Form。
使用 Segment 官方的 PHP 程式庫進行伺服器端事件,以及許多其他功能。
我完全重寫這個外掛的上一個版本。
客戶端和服務器端追蹤。
客戶端事件在驗證時觸發(例如,提交表單)。
服務器端事件是預定且異步發生的,所以用戶不必等待處理這些事件,它不會使他們變慢。

整個外掛中有註釋來解釋不同的功能。

基於用戶自定義字段、電子郵件或 WP 用戶 ID 設置使用者 ID
內置 WooCommerce、Ninja Forms、Gravity Forms 和 WordPress 原生事件的支援。
重新命名事件,選擇在 Identify 調用中包含哪些特徵等等...
支援客戶端(JS API)和伺服器端追蹤(PHP API)
有能力過濾角色、自定義文章類型和管理區域
在追蹤調用中輕鬆包含 userID 和電子郵件屬性
有能力使用元鍵在識別調用中包含自定義的使用者特徵

鉤子

您可以使用以下過濾器,請返回正確的值。

“segment_for_wp_change_user_id” ($user_id):返回使用者 ID。
“segment_for_wp_change_user_traits” ($traits, $wp_user_id):返回一個關聯數組的特徵。
“segment_for_wp_change_event_properties” ($properties, $action, $data):返回一個關聯數組的屬性。
“segment_for_wp_change_product_properties” ($properties):返回一個產品屬性的關聯數組(適用於 WooCommerce)。
“segment_for_wp_change_order_properties” ($properties):返回一個訂單屬性的關聯數組(適用於 WooCommerce)。

樂意擴展它,讓我知道吧。

原文外掛簡介

Segment Analytics for WordPress. Free WooCommerce, Ninja Form & Gravity Form integrations.
Uses Segment’s official PHP libraries for Server Side events, as well as a lot of other features functionality.
I completely rewrote this plugin from the previous version.
Client side and server side tracking.
Client side events fire upon validation (ie, for submissions)
Server side events are scheduled and happen asynchronously, so users don’t have to wait for processing of these events, it won’t slow them down.
There are annotations throughout the plugin to explain the different features.

Set a User ID based on user custom field, email, or WP user id
Built-in support for WooCommerce, Ninja Forms, Gravity Forms and WordPress native events.
Re-name events, choose what traits to include in Identify calls, etc…
Supports client side (JS API) and server-side tracking (PHP API)
Ability to filter out roles, custom post types and the admin area
Easily include userID and email properties in track calls
Ability to include custom user traits in identify calls using meta keys

Hooks
You can use the following filters, please return the correct values.

“segment_for_wp_change_user_id” ($user_id): Return a user id.
“segment_for_wp_change_user_traits” ($traits, $wp_user_id): Return an associative array of traits.
“segment_for_wp_change_event_properties” ($properties, $action, $data): Return an associative array of properties.
“segment_for_wp_change_product_properties” ($properties): Return an associative array of product properties (for WooCommerce).
“segment_for_wp_change_order_properties” ($properties): Return an associative array of order properties (for WooCommerce).

Happy to extend it, let me know.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Segment For WordPress」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


2.0.0 | 2.0.1 | 2.1.0 | 2.1.1 | 2.2.0 | 2.2.1 | 2.3.0 | 2.3.1 | 2.3.3 | trunk |

延伸相關外掛(你可能也想知道)

  • PersonalizeWP 》WordPress 個人化外掛總結:, , - PersonalizeWP 可讓你將 WordPress 變成數位體驗平台,為使用者展示和互動的內容增加個人化和條件規則。, - 可以與商業企業...。

文章
Filter
Apply Filters
Mastodon