Prova il server MCP per Google Analytics. Installa da
GitHub e consulta l'
annuncio per maggiori dettagli.
EnhancedMeasurementSettings
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Risorsa Singleton in un DataStream web, configurando la misurazione delle interazioni e dei contenuti aggiuntivi del sito.
Rappresentazione JSON |
{
"name": string,
"streamEnabled": boolean,
"scrollsEnabled": boolean,
"outboundClicksEnabled": boolean,
"siteSearchEnabled": boolean,
"videoEngagementEnabled": boolean,
"fileDownloadsEnabled": boolean,
"pageChangesEnabled": boolean,
"formInteractionsEnabled": boolean,
"searchQueryParameter": string,
"uriQueryParameter": string
} |
Campi |
name |
string
Solo output. Nome della risorsa delle impostazioni di misurazione avanzata. Formato: proprietà/{property_id}/dataStreams/{dataStream}/EnhancedMeasurementSettings Esempio: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
|
streamEnabled |
boolean
Indica se verranno utilizzate le impostazioni di misurazione avanzata per misurare automaticamente le interazioni e i contenuti su questo stream web. La modifica di questo valore non influisce sulle impostazioni stesse, ma determina se devono essere rispettate.
|
scrollsEnabled |
boolean
Se l'opzione viene attivata, l'acquisizione degli eventi di scorrimento ogni volta che un visitatore raggiunge la fine di una pagina.
|
outboundClicksEnabled |
boolean
Se questa opzione è attiva, acquisisci un evento di clic in uscita ogni volta che un visitatore fa clic su un link che lo rimanda al di fuori del tuo dominio.
|
siteSearchEnabled |
boolean
Se questa opzione è attiva, acquisisci un evento di visualizzazione dei risultati di ricerca ogni volta che un visitatore esegue una ricerca sul tuo sito (in base a un parametro di query).
|
videoEngagementEnabled |
boolean
Se attivata, puoi acquisire gli eventi di riproduzione, avanzamento e completamento del video man mano che i visitatori visualizzano i video incorporati sul tuo sito.
|
fileDownloadsEnabled |
boolean
Se questa opzione è attiva, ogni volta che viene fatto clic su un link a un documento comune, un file compresso, un'applicazione, un video o un'estensione audio, acquisisci un evento di download di file.
|
pageChangesEnabled |
boolean
Se questa opzione è attiva, acquisisci un evento di visualizzazione di pagina ogni volta che il sito web modifica lo stato della cronologia del browser.
|
formInteractionsEnabled |
boolean
Se questa opzione è attivata, acquisisci un evento di interazione con il modulo ogni volta che un visitatore interagisce con un modulo sul tuo sito web. Il valore è falso per impostazione predefinita.
|
searchQueryParameter |
string
Obbligatorio. Parametri di query dell'URL da interpretare come parametri di ricerca sul sito. La lunghezza massima è di 1024 caratteri. Il campo non può essere vuoto.
|
uriQueryParameter |
string
Parametri di query dell'URL aggiuntivi. La lunghezza massima è di 1024 caratteri.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]