Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Setelah memvalidasi peristiwa, sebaiknya verifikasi
penerapan Anda. Server validasi memvalidasi bahwa peristiwa Anda memiliki struktur yang benar, tetapi untuk memverifikasi bahwa peristiwa dikirim dengan benar ke properti Anda, Anda perlu melakukan hal berikut:
Jika Anda tidak melihat peristiwa setelah melakukan langkah-langkah ini, lihat pemecahan masalah untuk mengetahui error penerapan yang umum.
Mengirim peristiwa dari klien
Pilih klien Anda:
Mengirim peristiwa ke properti Anda
Memeriksa tampilan Realtime
Setelah mengirim peristiwa menggunakan Measurement Protocol, periksa tampilan Realtime
untuk properti Anda. Peristiwa biasanya muncul setelah beberapa detik.
Buka tampilan Real-Time dengan membuka Google Analytics, lalu membuka
Laporan > Real-Time di navigasi kiri. Anda dapat berfokus pada
diagram di bawah, seperti "Jumlah peristiwa menurut Nama peristiwa" dan "Peristiwa Utama menurut Nama
peristiwa".
Periksa DebugView
Jika tampilan Real-Time tidak memberikan detail yang cukup bagi Anda untuk memverifikasi penerapan, aktifkan mode debug di beberapa peristiwa pengujian dengan menyertakan parameter berikut dalam pengumpulan params sehingga Anda dapat memantau dan meninjau peristiwa di DebugView:
"debug_mode": true atau "debug_mode": 1
"engagement_time_msec" ditetapkan ke angka positif
Misalnya, skrip berikut mengirimkan peristiwa refund dengan mode debug diaktifkan:
[null,null,["Terakhir diperbarui pada 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."]]