Web analytics — страница 3

Google Analytics 4: what is it and how does it work?
Google Analytics 4, or GA4, collects data about website and app visitors, their actions, referral sources, and the results of those visits. Google Analytics lets you see where a user came from, which pages they viewed, how long they spent on the site, and whether they completed the desired action.

Installing Google Analytics 4 via Google Tag Manager
Google Analytics 4 is conveniently connected via Google Tag Manager when you need to manage analytics without constantly editing your website's code. The GTM container is installed on your website once, after which you can add Google tags, GA4 events, ad pixels, and other tags through its interface. This approach simplifies checking changes and reduces the risk of accidentally leaving multiple identical counters on your pages.

DataLayer in Google Tag Manager: how it works and how to test it
Google Tag Manager can retrieve information about clicks, pageviews, and user actions directly from the website interface. This approach is often insufficient for orders, leads, products, logins, and other business events, as the required values may be missing from the HTML or may change with the layout.