Screen views are the backbone of most funnels. They are also easy to get wrong. If a screen is missed or logged twice, every drop-off figure built on it is off, and nobody notices until a product decision goes the wrong way.
In November 2026, Google released agent skills for Google Analytics for Firebase. They let AI coding agents such as Claude Code, Codex and Cursor set up the SDK and add screen view logging to iOS and Android apps. They matter most for declarative UI such as SwiftUI and Jetpack Compose, where the SDK’s automatic screen logging does not always fit. Reports differ on the exact announcement date, and Google says more tasks are coming, so check the current release notes.
Why This Matters
An agent can add tracking to dozens of screens in minutes. That speed is useful, but it also spreads mistakes quickly. A wrong screen name, a missing call on one navigation path, or a duplicate with automatic logging will all show up in your reports as real behaviour. You need a way to check the output, not just trust it.
Data Points to Track
Use the screen_view event, and check these properties as part of a tracking audit:
screen_name: a readable, consistent name for each screenscreen_class: the view or composable class behind itfirebase_previous_screen: the screen the user came fromlogged_by: automatic, manual or agent-generated (your own audit label)screen_view_count_per_session: how often each screen appearsduplicate_screen_view_rate: share of views logged twice within a secondscreens_without_events: screens in the app that never log a viewapp_version: the release that introduced the changeplatform: iOS or Android
Setup Steps
- List every screen in your app, or export the route list from your navigation code.
- Ask your agent to instrument screen views, and review its changes like any other pull request.
- Decide whether to keep or disable automatic screen logging, so each screen is logged once.
- Use the manual
screen_viewevent withscreen_nameandscreen_class. The oldersetCurrentScreenandsetScreenNamecalls are deprecated. - Agree a naming convention, such as lowercase with underscores, and write it down.
- Test in DebugView and compare the events against your screen list.
- Release to a small group first, then compare counts with the previous version.
Actionable Insights
Coverage. If screens_without_events is not empty, those screens are invisible. Add them before building funnels that include them.
Duplicates. A high duplicate_screen_view_rate usually means automatic and manual logging are both running. Turn one off.
Naming drift. Two names for one screen split its data. Merge them in reporting and fix the code.
Version comparison. If views per session jump after a release, check the instrumentation before celebrating. The change may be logging, not behaviour.
Path sense-check. Use firebase_previous_screen to confirm the paths match the real navigation. Impossible paths point to a bug.