Web SDK事件
基本事件追蹤
透過追蹤使用者的行為與互動,可以分析並改善網站的成效。
🚀 基本事件追蹤
📊 常見事件模式
🎯 設定使用者屬性
setUserProperties 支援的屬性
| 屬性 | 型別 | 支援的值 | 說明 |
|---|---|---|---|
gender | string | 'male' | 'female' | 'other' | 'unknown' | 使用者性別 |
country | string | 自由輸入(建議 ISO 3166-1 alpha-2) | 國家代碼(例:'KR'、'US') |
city | string | 自由輸入 | 城市名稱(例:'Seoul'、'New York') |
age | string | 自由輸入 | 年齡或年齡層(例:'25'、'25-34') |
language | string | 自由輸入(建議 ISO 639-1) | 語言代碼(例:'ko-KR'、'en-US') |
setDeviceInfo 支援的屬性
| 屬性 | 型別 | 支援的值 | 說明 |
|---|---|---|---|
category | string | 'mobile' | 'desktop' | 'tablet' | 'other' | 裝置類別 |
platform | string | 自由輸入 | 平台名稱(例:'Windows'、'macOS'、'iOS') |
model | string | 自由輸入 | 裝置型號(例:'iPhone 15'、'MacBook Pro') |
appVersion | string | 自由輸入 | 應用程式版本(例:'1.0.0'、'2.1.3') |
osVersion | string | 自由輸入 | 作業系統版本(例:'14.0'、'macOS 14.1') |
📝 表單事件追蹤
下一步
了解更多進階事件追蹤功能:

