Sub topic 1
Properties and Data Streams: Where Data Lands
Prerequisites
You should understand that a website or app can send interaction data to an analytics service. You should also be able to read simple JavaScript configuration examples. This chapter assumes you know that a web page can load a tracking tag and that a mobile app can include an analytics software development kit (SDK).
The property is the reporting container
A GA4 property is the main container for an organization’s analytics data. It holds the configuration, users, events, reports, audiences, and conversions for one measurement setup.
A property often represents a business, product, or service. For example, a company might create one property for its online store. That property can contain data from the store’s website and its shopping app.
A property is different from a report. Reports are views of the data stored in the property. The property controls how GA4 collects, processes, and presents that data.
A data stream is a source of data
A data stream is a source that sends data into a property. GA4 supports these stream types:
- A web stream collects data from a website.
- An iOS stream collects data from an iPhone or iPad app.
- An Android stream collects data from an Android app.
A property can contain multiple streams. For example, a retail property might contain one web stream, one iOS stream, and one Android stream.
Each stream has settings that describe how its source is measured. A web stream has a measurement ID, usually beginning with G-. An app stream is associated with an app configured through Firebase. The tracking tag or app SDK uses these settings when it sends events.
flowchart TD
A[GA4 property] --> B[Web data stream]
A --> C[iOS data stream]
A --> D[Android data stream]
B --> E[Website events]
C --> F[iOS app events]
D --> G[Android app events]The streams feed the same property, but the incoming events still carry information about their source. You can use dimensions such as platform or stream name to compare website and app activity.
Stream settings affect collection
A stream is more than a label. Its settings can determine what data GA4 collects automatically.
For a web stream, enhanced measurement can collect common interactions such as page views, scrolls, outbound clicks, site searches, video engagement, and file downloads. You can enable or disable these options in the stream settings.
Your own tracking code can also send events through the stream:
gtag('config', 'G-XXXXXXXXXX', {
send_page_view: true
});
gtag('event', 'newsletter_signup', {
form_location: 'footer'
});The config call connects the page to the web stream. The event call sends an interaction to the same measurement destination. The property then makes that event available for processing and reporting.
Choose the property and stream deliberately
The property boundary affects data access and reporting. Keep data together when teams need shared users, events, audiences, and reports. Separate properties when the data belongs to unrelated businesses, requires different access controls, or must follow a different measurement policy.
Keep streams separate when they represent distinct platforms, such as a website and a mobile app. Do not create a new property merely because you need another platform. A single property can combine related streams.
| Level | Main purpose | Example |
|---|---|---|
| Property | Holds shared analytics configuration and reporting data | Online store |
| Data stream | Sends data from one platform or source | Store website |
| Event | Records one interaction from a stream | `newsletter_signup` |
A stream is the route by which data enters a property. The event-based model begins after that data arrives. Later chapters explain how GA4 describes those events with parameters and derives users and sessions from them.
Exercise
A company has one website and one Android shopping app. It wants shared reporting for the same business. Should it create two properties or one property with two streams?
Show answer
It should normally create one property with a web stream and an Android stream. This keeps related data in shared reports while preserving the source platform.