• Product

    • FeaturesFunnels, alerts, AI traffic and imports.
    • Live mapVisitors on a globe as they arrive.
    • SpeedA script under 1 KB. Visits in a second.
    • Integrations26 tools, from Slack to WordPress.
    • MCP serverAI tools set up sites and dashboards.

    Get started

    • Quick startOne script tag, and visits show up.
    • With an AI agentOne prompt, and your agent adds it.
    • API and CLIYour numbers in scripts and CI.
    • Install guides
      • Script tag
      • Next.js
      • React
      • Website builders
    Live demoacme.devLast 30 daysVisitors1,49325.5%PageVisitors/612/pricing341/docs/install208Click around before you sign up.Open the demoCompareHow we stack up against Google Analytics, Plausible, Fathom, PostHog and Umami
  • Company

    • AboutWhy it exists and how it is built.
    • BlogPrivacy, speed and how we build.
    • ContactQuestions on plans, setup or privacy.
    • BrandThe logo, colors, type and files.

    Trust

    • PrivacyWhat we collect and why.
    • TermsPlans, limits and your data.
    • StatusWhether everything is up right now. (opens in a new tab)
    Latest post4checks before DirectWhere Direct traffic comes fromNov 11, 2026Read the post
  • Blog
  • Docs
  • Pricing
Sign inStart free
FeaturesDemoSpeedBlogDocsPricing
Start freeSign in

Free for three sites. No card needed.

Getting started

  • Introduction
  • Quick start
  • Set up with an AI agent
  • CLI
  • CLI guide
  • How counting works

Install

  • Script tag
  • Next.js
  • React
  • React Native and Expo
  • Swift
  • Other frameworks
  • Server
  • Website builders

Mobile

  • Mobile apps
  • Screens and events
  • Swift apps
  • Development builds
  • Visitors and offline
  • App Store and Play privacy

Dashboard

  • Overview and filters
  • Custom dashboards
  • Realtime
  • Events page
  • Explore
  • Segments
  • Sessions
  • People
  • Journeys
  • Retention
  • Load
  • Web vitals
  • Errors
  • Revenue
  • Search Console
  • Visibility
  • Data quality
  • Transfer a site
  • Import and export
  • Scheduled reports

Tracking

  • Custom events
  • Signed-in users
  • Links and downloads
  • Goals and funnels
  • Alerts
  • Annotations
  • Excluded pages
  • Page addresses
  • Share links and embeds
  • Sitemaps

API

  • Overview
  • Query API
  • Load and vitals
  • Raw export
  • Live stream
  • MCP server

Platform

  • Architecture
  • Privacy and data

Getting started

  • Introduction
  • Quick start
  • Set up with an AI agent
  • CLI
  • CLI guide
  • How counting works

Install

  • Script tag
  • Next.js
  • React
  • React Native and Expo
  • Swift
  • Other frameworks
  • Server
  • Website builders

Mobile

  • Mobile apps
  • Screens and events
  • Swift apps
  • Development builds
  • Visitors and offline
  • App Store and Play privacy

Dashboard

  • Overview and filters
  • Custom dashboards
  • Realtime
  • Events page
  • Explore
  • Segments
  • Sessions
  • People
  • Journeys
  • Retention
  • Load
  • Web vitals
  • Errors
  • Revenue
  • Search Console
  • Visibility
  • Data quality
  • Transfer a site
  • Import and export
  • Scheduled reports

Tracking

  • Custom events
  • Signed-in users
  • Links and downloads
  • Goals and funnels
  • Alerts
  • Annotations
  • Excluded pages
  • Page addresses
  • Share links and embeds
  • Sitemaps

API

  • Overview
  • Query API
  • Load and vitals
  • Raw export
  • Live stream
  • MCP server

Platform

  • Architecture
  • Privacy and data

Cookieless web and product analytics. Fast to load, fast to read.

Start free, no card needed

Product

FeaturesLive mapDemoTry it on your siteSpeedPricingCompare

Get started

InstallDocsQuestionsSign inStart freeJoin the waitlist

Company

AboutBlogContactStatus (opens in a new tab)Brand

Legal

Privacy policyTerms of service

© 2026 Ultanimus. This site sets no cookies.

Mobile

Screens and events

What counts as a screen view, how to rename screens, and the calls for events, signed-in people and what opened the app.

The React Native package counts screens on its own once Analytics is in place. This page covers what counts as a view, how to rename screens, and the calls for events, signed-in people and what opened the app. Swift apps has the same calls for the Swift package.

What counts as a screen view#

A view counts when the focused screen changes. The same screen twice in a row counts once, and going back to a screen counts it again, as the back button does on the web. Coming back from the background counts no view.

  • Expo Router sends the route's pattern, such as /product/[id], never the filled address, so IDs never leave the phone. Groups such as (tabs) drop out of the path.
  • React Navigation sends the focused screen's name, never its params. Tabs, stacks, drawers and modals all count.
  • Anything else sends the name you give each screen.

Rename screens#

With React Navigation, pass screenName to send another name. It gets the focused route.

TSX
<Analytics site="YOUR_SITE_ID" app="com.acme.app" screenName={(route) => 'Shop/' + route.name} />

If Analytics sits outside NavigationContainer, pass the container's ref as container.

Name screens yourself#

Without Expo Router or React Navigation, call useScreen in each screen component. It sends a view when the screen mounts.

TSX
import { useScreen } from '@ultanimus/react-native'

function Checkout() {
  useScreen('Checkout')
  return <CheckoutForm />
}

screen('Checkout') does the same from outside a component, such as a navigation listener.

Send an event#

TSX
import { track } from '@ultanimus/react-native'

track('add_to_cart', { sku: 'lamp', quantity: 2 })

Property values are strings, numbers or booleans. Custom events covers naming and properties, and the same events work in goals and funnels.

Signed-in users#

Pass your own ID for the signed-in person, or null when nobody is. They then count as one visitor across days and devices, on the web and in the app.

TSX
<Analytics site="YOUR_SITE_ID" user={session?.userId ?? null} />

Or call identify(account.id) where your app learns who signed in, and identify(null) on sign out. Use an ID from your database, never an email address or a name. Signed-in users explains what is stored.

What opened the app#

A link that opens the app with utm_source, utm_medium, utm_campaign or ref in its address names the visit's source, as it does on a web page. For anything else that opens the app, such as a notification, call opened before the next screen shows.

TSX
import { opened } from '@ultanimus/react-native'

opened({ source: 'push', campaign: 'black-friday' })

A visit with neither shows as Direct. Installs from the App Store and Google Play carry no source yet.

PreviousMobile appsNextSwift apps

On this page

  • What counts as a screen view
  • Rename screens
  • Name screens yourself
  • Send an event
  • Signed-in users
  • What opened the app
View as Markdown