Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Dopo aver esaminato la convalida degli eventi, dovrai verificare l'implementazione. Il server di convalida verifica che gli eventi abbiano la
struttura corretta, ma per verificare che vengano inviati correttamente alla tua
proprietà, devi procedere nel seguente modo:
Se non visualizzi gli eventi dopo aver eseguito questi passaggi, consulta la sezione
risoluzione dei problemi per individuare errori di implementazione comuni.
Inviare un evento da un client
Scegli il cliente:
Inviare un evento alla tua proprietà
Controllare la visualizzazione in tempo reale
Dopo aver inviato un evento utilizzando Measurement Protocol, controlla la visualizzazione In tempo reale
per la tua proprietà. In genere, gli eventi vengono visualizzati entro pochi secondi.
Vai alla visualizzazione In tempo reale aprendo Google Analytics, poi vai a
Report > In tempo reale nel riquadro di navigazione a sinistra. Ti consigliamo di concentrarti sui grafici in basso, ad esempio "Conteggio eventi per nome evento" ed "Eventi chiave per nome evento".
Controllare DebugView
Se la visualizzazione In tempo reale non fornisce dettagli sufficienti per verificare l'implementazione, attiva la modalità di debug in alcuni eventi di test includendo i seguenti parametri nella raccolta params in modo da poter monitorare e rivedere gli eventi in DebugView:
"debug_mode": true o "debug_mode": 1
"engagement_time_msec" impostato su un numero positivo
Ad esempio, il seguente comando invia un rimborso con la modalità di debug attivata:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eThis guide provides steps to verify your analytics implementation after validating your events.\u003c/p\u003e\n"],["\u003cp\u003eYou'll learn how to send events from a client and your property, then monitor them in Realtime view and DebugView.\u003c/p\u003e\n"],["\u003cp\u003eIf events aren't appearing, refer to the troubleshooting section for common implementation errors.\u003c/p\u003e\n"]]],["To verify events are sent to your property, send an event from a client and to your property. Then, check the Realtime view in Google Analytics under **Reports**. Focus on the \"Event count by Event name\" and \"Key Events by Event name\" charts. For more detail, enable debug mode by including `\"debug_mode\": true` or `\"debug_mode\": 1` and `\"engagement_time_msec\"` in the `params` collection of test events. Monitor these events in the DebugView. If issues occur, consult troubleshooting.\n"],null,["# Verify implementation\n\nAfter going through [validating events](/analytics/devguides/collection/protocol/ga4/validating-events), you'll want to verify your\nimplementation. The validation server validates that your events have the\ncorrect structure, but to verify that they are being sent correctly to your\nproperty, you'll need to do the following:\n\n- [Send an event from a client](#client_send)\n- [Send an event to your property](#send)\n- [Check the Realtime view](#realtime)\n- [Check DebugView](#debugview)\n\nIf you're not seeing your events after going through these steps, check\n[troubleshooting](/analytics/devguides/collection/protocol/ga4/troubleshooting) for common implementation errors.\n\nSend an event from a client\n---------------------------\n\nChoose your client: \nFirebase gtag.js\n\n\u003cbr /\u003e\n\nSend an event to your property\n------------------------------\n\nCheck the Realtime view\n-----------------------\n\nAfter sending an event using the Measurement Protocol, check the Realtime view\nfor your property. Events typically show up within a few seconds.\n\nGo to the Realtime view by opening [Google Analytics](https://analytics.google.com), then going to\n**Reports** \\\u003e **Realtime** in the left navigation. You'll want to focus on the\nbottom charts, such as \"Event count by Event name\" and \"Key Events by Event\nname.\"\n\nCheck DebugView\n---------------\n\nIf the Realtime view doesn't provide enough detail for you to verify your\nimplementation, enable debug mode in some test events by including the following\nparameters in the `params` collection so you can monitor and review the events\nin **DebugView**:\n\n1. `\"debug_mode\": true` or `\"debug_mode\": 1`\n2. `\"engagement_time_msec\"` set to a positive number\n\nFor example, the following sends a [refund](/analytics/devguides/collection/protocol/ga4/reference/events#refund) with debug mode enabled:\n\nAfter you send events with debug mode enabled, follow the instructions for\n[monitoring events using **DebugView**](//support.google.com/analytics/answer/7201382) to verify your implementation."]]