For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Web自動キャプチャスキーマ
このリファレンスは、Browser SDK 2を使用する場合のWeb用の自動キャプチャイベントタイプとイベントプロパティ名を示しています。パイプライン、パートナー、または検証用の安定した契約が必要な場合に使用してください。
自動キャプチャのセットアップ手順については、自動キャプチャを参照してください。プロパティの詳細な説明と例については、Autocaptureのイベントとプロパティを参照してください。ネイティブのiOSおよびAndroid自動キャプチャイベントプロパティについては、モバイル自動キャプチャスキーマに移動してください。
共有規約
- イベントタイプの値は、Amplitudeが
event_typeとして保存しているものと一致します(例:Page viewed)。 - Webイベントタイプでは、
[Amplitude] Network Requestの場合を除き、[Amplitude]プレフィックスは使用されません。 - プロパティ名はここに記載されているとおりにAmplitudeに表示されます。
- セッション イベントには、標準的なユーザーおよびセッション コンテキスト以外の追加のプロパティはありません。
機械可読スキーマ
json
{
"description": "Web Autocapture event types and event property names for the Amplitude Browser SDK 2.",
"documentation": "/docs/data/web-autocapture-schema",
"web": {
"sdk": "Browser SDK 2",
"events": {
"Session Started": { "properties": [] },
"Session Ended": { "properties": [] },
"Page viewed": {
"properties": ["Page Domain", "Page Location", "Page Path", "Page Title", "Page URL"]
},
"File Downloaded": {
"properties": ["File Extension", "File Name", "Link ID", "Link Text", "Link URL"]
},
"Form Started": {
"properties": ["Form Destination", "Form ID", "Form Name"]
},
"Form Submitted": {
"properties": ["Form Destination", "Form ID", "Form Name"]
},
"Element Clicked": {
"properties": [
"Element ID",
"Element Class",
"Element Tag",
"Element Text",
"Element Href",
"Element Position Left",
"Element Position Top",
"Viewport Height",
"Viewport Width",
"Page URL",
"Page Title",
"Element Hierarchy",
"Element Attributes",
"Element Aria Label",
"Element Parent Label"
]
},
"Element Changed": {
"properties": [
"Element ID",
"Element Class",
"Element Tag",
"Element Position Left",
"Element Position Top",
"Viewport Height",
"Viewport Width",
"Page URL",
"Page Title",
"Element Hierarchy",
"Element Attributes",
"Element Aria Label",
"Element Parent Label"
]
},
"[Amplitude] Network Request": {
"properties": [
"[Amplitude] URL",
"[Amplitude] URL Query",
"[Amplitude] URL Fragment",
"[Amplitude] Request Method",
"[Amplitude] Status Code",
"[Amplitude] Error Code",
"[Amplitude] Error Message",
"[Amplitude] Start Time",
"[Amplitude] Completion Time",
"[Amplitude] Duration",
"[Amplitude] Request Body Size",
"[Amplitude] Response Body Size",
"[Amplitude] Request Body",
"[Amplitude] Response Body"
]
},
"Web Vitals": {
"properties": [
"Page Domain",
"Page Location",
"Page Path",
"Page Title",
"Page URL",
"LCP (Largest Contentful Paint)",
"FCP (First Contentful Paint)",
"INP (Interaction to Next Paint)",
"CLS (Cumulative Layout Shift)",
"TTFB (Time to First Byte)"
]
}
}
}
}
Web(Browser SDK 2)
Browser SDK 2でAutocaptureOptionsを使用して、Amplitudeが取得するイベントを設定します。設定オプションについては自動キャプチャ(Browser SDK 2)をご覧ください。
| イベントタイプ | トリガーされた場合 | 一般的なイベントプロパティ |
|---|---|---|
Session Started | セッションは最初のページ読み込み時または非アクティブ状態の後に開始されます。 | なし。 |
Session Ended | セッションは、非アクティブ状態またはブラウザのタブが閉じられることで終了します。 | なし。 |
Page viewed | ユーザーがページを読み込むか、ページに移動する(単一ページのアプリルート変更など)。 | Page Domain, Page Location, Page Path, Page Title, Page URL. |
File Downloaded | ユーザーがリンクをクリックするとファイルのダウンロードが開始されます。 | File Extension, File Name, Link ID, Link Text, Link URL. |
Form Started | ユーザーは最初にフォーム要素(テキスト入力、ラジオボタン、またはドロップダウン)と対話します。 | Form Destination, Form ID, Form Name. |
Form Submitted | ユーザーがフォームを送信します。 | Form Destination, Form ID, Form Name. |
Element Clicked | ユーザーがインタラクティブなページ要素をクリックします。 | Element ID、Element Class、Element Tag、Element Text、Element Href、Element Position Left、Element Position Top、Viewport Height、Viewport Width、Page URL、Page Title、Element Hierarchy、Element Attributes、Element Aria Label、Element Parent Label。 |
Element Changed | ユーザーがドロップダウンやテキスト入力などのフォーム要素を変更します。 | Element ID、Element Class、Element Tag、Element Position Left、Element Position Top、Viewport Height、Viewport Width、Page URL、Page Title、Element Hierarchy、Element Attributes、Element Aria Label、Element Parent Label。 |
[Amplitude] Network Request | アプリケーションは追跡されたHTTP要求を発行します(デフォルトでは応答コードは500–599)。 | [Amplitude] URL、[Amplitude] URL Query、[Amplitude] URL Fragment、[Amplitude] Request Method、[Amplitude] Status Code、[Amplitude] Error Code、[Amplitude] Error Message、[Amplitude] Start Time、[Amplitude] Completion Time、[Amplitude] Duration、[Amplitude] Request Body Size、[Amplitude] Response Body Size、[Amplitude] Request Body、[Amplitude] Response Body。 |
Web Vitals | ブラウザのタブは非表示になります。AmplitudeはCore Web Vitalsを収集します。 | Page Domain、Page Location、Page Path、Page Title、Page URL、LCP (Largest Contentful Paint)、FCP (First Contentful Paint)、INP (Interaction to Next Paint)、CLS (Cumulative Layout Shift)、TTFB (Time to First Byte)。 |
これは役に立ちましたか?