Skip to content
weballin

weballin DIGIWIKI

Web Data Stream

A web data stream is a channel that connects website data to a GA4 property. Data collection begins by entering the measurement ID (G-XXXXXXXX) provided during creation into GTM or gtag.js. Set in Management → Data Stream → Stream Selection.

weballin

Web data streams are the most used stream type in GA4. When you enter a website URL and stream name, a measurement ID starting with G- is issued. Enter this ID into the gtag.js script or the GA4 configuration tag in Google Tag Manager to start collecting data.

Through enhanced measurement, web streams can automatically collect scrolling, outbound clicks, site searches, video, and file download events in addition to page views without additional code. This setting can be toggled on and off in the stream details screen.

If cross-domain tracking is necessary, add an accepted domain in the web stream settings. For example, if the main site and reservation page are different domains, both domains must be registered to prevent sessions from being disconnected.

Key takeaways

  • After you enter the website URL and create the stream, a measurement ID (G-XXXXXXXX) is issued immediately.
  • Enhanced Measurement automatically collects scrolling, clicks, searches, etc. without additional code.
  • Setting up cross-domain tracking adds accepted domains within the 'tag configuration' of your web stream.
  • Multiple web streams can be connected to one property, but purposes must be clearly distinguished to prevent domain confusion.
  • Data can also be transmitted directly from the server to a web stream via Measurement Protocol.

References

Frequently asked questions

Is it a good idea to leave all enhanced measurements turned on?

Although it is advantageous to have it turned on by default, site searches or form submissions may unintentionally be duplicated. If you implement events directly with GTM, it is better for data accuracy to turn off the corresponding enhanced metrics and use the GTM implementation first.

Are measurement ID and tag ID the same?

In the GA4 context it is the same. In Google Tag (gtag.js), G-XXXXXXXX is called the measurement ID, and in Google Tag settings, it is displayed as 'Tag ID', but the same value is used.