このページでは

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)をご覧ください。

これは役に立ちましたか?