ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
EnhancedMeasurementSettings
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทรัพยากร Singleton ภายใต้ 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
เอาต์พุตเท่านั้น ชื่อแหล่งข้อมูลของการตั้งค่าการวัดที่ปรับปรุงแล้ว รูปแบบ: พร็อพเพอร์ตี้/{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
หากเปิดใช้ ให้บันทึกเหตุการณ์การโต้ตอบกับแบบฟอร์มทุกครั้งที่ผู้เข้าชมโต้ตอบกับแบบฟอร์มในเว็บไซต์ เท็จโดยค่าเริ่มต้น
|
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. |"]]