קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אחרי אימות האירועים, כדאי לאמת את ההטמעה. שרת האימות מאמת שהאירועים שלכם בנויים בצורה הנכונה, אבל כדי לוודא שהם נשלחים בצורה תקינה לנכס, תצטרכו לבצע את הפעולות הבאות:
אם האירועים לא מופיעים אחרי שמבצעים את השלבים האלה, כדאי לעיין בפתרון בעיות כדי לראות אם יש שגיאות נפוצות בהטמעה.
שליחת אירוע מלקוח
בוחרים את הלקוח:
שליחת אירוע לנכס
בדיקה של התצוגה 'זמן אמת'
אחרי ששולחים אירוע באמצעות Measurement Protocol, בודקים את התצוגה 'זמן אמת' בנכס. בדרך כלל האירועים מופיעים תוך כמה שניות.
כדי לעבור לתצוגה 'פעילות בזמן אמת', פותחים את Google Analytics ועוברים אל דוחות > פעילות בזמן אמת בתפריט הניווט הימני. כדאי להתמקד בתרשימים התחתונים, כמו 'מספר האירועים לפי שם האירוע' ו'אירועים מרכזיים לפי שם האירוע'.
בדיקה ב-DebugView
אם התצוגה 'זמן אמת' לא מספקת מספיק פרטים כדי לוודא שההטמעה תקינה, אפשר להפעיל את מצב ניפוי הבאגים באירועי בדיקה מסוימים. לשם כך, צריך לכלול את הפרמטרים הבאים באוסף params כדי שתוכלו לעקוב אחרי האירועים ולבדוק אותם ב-DebugView:
"debug_mode": true או "debug_mode": 1
"engagement_time_msec" מוגדר כמספר חיובי
לדוגמה, הפקודה הבאה שולחת החזר כספי כשמצב ניפוי הבאגים מופעל:
[null,null,["עדכון אחרון: 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."]]