Loading topic
debug_mode parameter in gtag.js, Google Tag Manager (GTM) preview mode, and Tag Assistant. It assumes you have a GA4 web data stream, can edit the site's code or its GTM container, and know 5 min readdebug_mode flags events. It also assumes you have a GA4 property linked to a Firebase app (Android, iOS, or both), the app's source or a debug build, and a device or emulator you can run it on. Command-line steps nee5 min readrunRealtimeReport method of the Google Analytics Data API. It returns the same kind of recent-activity data as the Realtime cards, so a script can check tracking, feed a monitoring dashboard, or run a smoke test after a d5 min read