Google アナリティクスの MCP サーバーを試します。
GitHub からインストールし、詳細については
お知らせをご覧ください。
EnhancedMeasurementSettings
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ウェブ DataStream の下のシングルトン リソース。追加のサイト インタラクションとコンテンツの測定を構成します。
JSON 表現 |
{
"name": string,
"streamEnabled": boolean,
"scrollsEnabled": boolean,
"outboundClicksEnabled": boolean,
"siteSearchEnabled": boolean,
"videoEngagementEnabled": boolean,
"fileDownloadsEnabled": boolean,
"pageChangesEnabled": boolean,
"formInteractionsEnabled": boolean,
"searchQueryParameter": string,
"uriQueryParameter": string
} |
フィールド |
name |
string
出力専用。拡張計測機能設定のリソース名。形式: properties/{property_id}/dataStreams/{dataStream}/EnhancedMeasurementSettings 例: 「properties/1000/dataStreams/2000/EnhancedMeasurementSettings」
|
streamEnabled |
boolean
このウェブ ストリームでのインタラクションとコンテンツを自動的に測定するために、拡張計測機能の設定を使用するかどうかを示します。 この値を変更しても設定自体には影響しませんが、設定が適用されるかどうかが決まります。
|
scrollsEnabled |
boolean
有効にすると、ユーザーがページの一番下までスクロールするたびにスクロール イベントが記録されます。
|
outboundClicksEnabled |
boolean
有効にすると、ドメインから離脱するリンクをユーザーがクリックするたびに、離脱クリック イベントが記録されます。
|
siteSearchEnabled |
boolean
有効にすると、ユーザーがサイトで検索を行うたびに(クエリ パラメータに基づいて)検索結果表示イベントがキャプチャされます。
|
videoEngagementEnabled |
boolean
有効にすると、ユーザーがサイト上の埋め込み動画を視聴したときに、動画再生イベント、動画進捗イベント、動画再生完了イベントが記録されます。
|
fileDownloadsEnabled |
boolean
有効にすると、一般的なドキュメント、圧縮ファイル、アプリケーション、動画、音声拡張子のリンクがクリックされるたびに、ファイルのダウンロード イベントをキャプチャします。
|
pageChangesEnabled |
boolean
有効にすると、ウェブサイトでブラウザの履歴状態が変更されるたびにページビュー イベントがキャプチャされます。
|
formInteractionsEnabled |
boolean
有効にすると、ユーザーがウェブサイト上のフォームを操作するたびにフォーム操作イベントをキャプチャします。デフォルトは false です。
|
searchQueryParameter |
string
必須。サイト内検索パラメータとして解釈する URL クエリ パラメータ。最大長は 1,024 文字です。空白にすることはできません。
|
uriQueryParameter |
string
追加の URL クエリ パラメータ。最大長は 1,024 文字です。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eEnhanced Measurement Settings automatically track website interactions and content using a web DataStream.\u003c/p\u003e\n"],["\u003cp\u003eThis singular resource provides a variety of configurable settings for measuring events like scrolls, outbound clicks, site search, video engagement, file downloads, page changes, and form interactions.\u003c/p\u003e\n"],["\u003cp\u003eYou can enable or disable the automatic measurement of these interactions while customizing aspects such as site search parameters and additional URL query parameters.\u003c/p\u003e\n"],["\u003cp\u003eResource information and individual interaction settings are represented in JSON format, accessible via a designated endpoint ("properties/{property_id}/dataStreams/{dataStream}/enhancedMeasurementSettings").\u003c/p\u003e\n"]]],["This content describes settings for enhanced measurement of interactions on a web data stream. Key actions include enabling or disabling the use of these settings to measure interactions and content. Specific interactions measured include scrolls, outbound clicks, site searches, video engagement, file downloads, page changes, and form interactions. The settings also capture URL query parameters for site search and allow additional parameters. Each measurement type can be individually turned on or off, with specific settings, such as \"searchQueryParameter\".\n"],null,["# EnhancedMeasurementSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nSingleton resource under a web DataStream, configuring measurement of additional site interactions and content.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"streamEnabled\": boolean, \"scrollsEnabled\": boolean, \"outboundClicksEnabled\": boolean, \"siteSearchEnabled\": boolean, \"videoEngagementEnabled\": boolean, \"fileDownloadsEnabled\": boolean, \"pageChangesEnabled\": boolean, \"formInteractionsEnabled\": boolean, \"searchQueryParameter\": string, \"uriQueryParameter\": string } ``` |\n\n| Fields ||\n|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of the Enhanced Measurement Settings. Format: properties/{property_id}/dataStreams/{dataStream}/enhancedMeasurementSettings Example: \"properties/1000/dataStreams/2000/enhancedMeasurementSettings\" |\n| `streamEnabled` | `boolean` Indicates whether Enhanced Measurement Settings will be used to automatically measure interactions and content on this web stream. Changing this value does not affect the settings themselves, but determines whether they are respected. |\n| `scrollsEnabled` | `boolean` If enabled, capture scroll events each time a visitor gets to the bottom of a page. |\n| `outboundClicksEnabled` | `boolean` If enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain. |\n| `siteSearchEnabled` | `boolean` If enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter). |\n| `videoEngagementEnabled` | `boolean` If enabled, capture video play, progress, and complete events as visitors view embedded videos on your site. |\n| `fileDownloadsEnabled` | `boolean` If enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension. |\n| `pageChangesEnabled` | `boolean` If enabled, capture a page view event each time the website changes the browser history state. |\n| `formInteractionsEnabled` | `boolean` If enabled, capture a form interaction event each time a visitor interacts with a form on your website. False by default. |\n| `searchQueryParameter` | `string` Required. URL query parameters to interpret as site search parameters. Max length is 1024 characters. Must not be empty. |\n| `uriQueryParameter` | `string` Additional URL query parameters. Max length is 1024 characters. |"]]