To analyze user activity on your website, the data must first be collected and processed correctly. In this post, you’ll learn how to set u...
To analyze user activity on your website, the data must first be collected and processed correctly. In this post, you’ll learn how to set up Google Analytics correctly and configure it in the best possible way.
Setting up Google Analytics is often described as a 5-minute action: “Click here, confirm there, and the first data will come in.” However, whether everything is being collected correctly out of the box is not certain, you may not immediately use all the features to your advantage. As your offers grow and become more sophisticated, you should know exactly which screws to turn.
Setting up a completely new Google Analytics account does not happen very often, especially in companies. Usually, you’ll take over an already existing account, and new websites or apps are rarely added. But was everything taken into account and implemented in the best possible way? Do the decisions made back then still apply today? You should also understand what works and what doesn’t for a check your setup and check for updates.
![]() |
| Set Up Google Analytics 4 |
Creating an Account, a Property, and a Data Stream
A Google Analytics account is a basic requirement for all other settings, and you’ll need a Google account to create a Google Analytics account. When you navigate to https://analytics.google.com/, Google will either take you to the login page where you can register or, if required, set up an account free of charge. If your Google account is not linked to any Google Analytics account, you’ll be taken to the setup home page.
Your Google account can have access to multiple Google Analytics accounts, and you can create additional accounts at any time. If you’re already in a running Google Analytics report after logging in, you should go to the administration settings (Admin) by clicking the cogwheel icon in the menu on the left. In this area, you can set up an additional account above the first column. Assign a name to the new account.
In total, your Google account can have access to 100 Google Analytics accounts at the same time regardless of whether you’ve created the accounts yourself or have been granted access. When you create a new account, the current number is displayed. Multiple accounts can access one Google Analytics account.
If a text section with the heading Link to organization appears below the input field, your currently selected account is linked to an organization, and you can apply this setting, as shown in below figure. An organization is an administrative unit that is below an account and with which you can assign some settings for Google Analytics and other Google products.
![]() |
| Linking Account to an Organization |
The account name is followed by its data sharing settings, with the following four options available:
Google products and services
If you activate this setting, your data will be used to improve Google Analytics. The data flows into both Analytics Intelligence and spam detection capabilities, both of which benefit from a large amount of data. However, the setting is not related to the special exchange of your data with other products such as Google Ads. These settings are configured separately and independently. By default, this option is switched off and can remain so.
Benchmarking
With this setting, your (aggregated) data is transferred to a large comparison pool. By sharing your data for benchmarking, you will get access to all other data yourself and can compare key figures from your websites with those of other offers from the same industry. Benchmarking data is not yet available for google analytics 4, and it is so general in Universal Analytics (UA) that you can do without it. You should therefore deactivate this option.
Technical support
By checking this box, you give Google service employees permission to log into your account. If you have a support request, the Google staff member can access your property this way.
Account manager
This setting is also about access to your account by Google employees, but this time by sales and marketing experts. They can make recommendations and suggestions for optimization based on your data. You can deselect this checkbox, and for support, you can activate this setting at any time if required.
In summary, you can deactivate all these options without noticing any noticeable restrictions in your account. For a future data privacy audit, sharing as little data as possible is ideal.
Creating a Property
A property is your repository for the tracking data that you collect on your website. You can run user activities from one or more websites and one or more apps in a property. When you set up a new account, a new property is automatically created for you; you should check some details and adjust if necessary. You can change all these settings later if you change your mind.
First, you must assign a name under which you want to find the property in the Google Analytics menu later. Then, you must maintain the Reporting time zone and Currency fields, as shown below.
![]() |
| Defining the Basic Data for a Property |
The time zone determines the time at which user access is logged. For reports in Google Analytics, this time zone counts as the basis, not the time zone of the respective visitor. If you have selected Eastern Standard Time as the time zone, access from users from New Zealand will be shown with the corresponding time difference. A view made at 12 noon in Auckland on a Tuesday is recorded as Monday 7 p.m. EST.
The currency is your default setting for e-commerce and campaign cost data. If you use several currencies in your store, when tracking orders, you can optionally specify them in the code and thus overwrite the default setting.
You can create additional properties under Admin. A total of 2,000 properties are possible per account. For this task, click on the Create property button above the column in the administration settings. If the button is grayed out, your Google account does not have the necessary permissions in this account, and you’ll need to contact an administrator (or create a new account first).
Once you’ve set up a property, you’ll be asked for some more information about your company. This information on industry and size is voluntary and is used by Google to improve its offering. They do not have a direct influence on your GA4 reports. You can therefore skip this step by clicking Create.
Then, you must confirm the terms of use.
Example: Creating a Data Stream for the Web
By creating an account and a property, you have created a framework for collecting data. In the next step, you’ll need at least one data stream to tell GA4 where the data is coming from.
On the next screen, as shown in below figure, you can choose between three platforms: Web, Android app, and iOS app. For a website, first create a web data stream.
![]() |
| GA4 Collects Data from Various Platforms |
Enter the URL of the website you want to track and enter a name for this stream. You can leave the optimized analyses activated. After confirming your selections by clicking Create stream, you’ll be taken to the detail view of the web stream. The most important information on this screen for the next step is the measurement ID, which is a unique identifier for how this stream is addressed in tracking codes.
A property can contain multiple data streams, both for web and app data. You can return to this overview of data streams at any time via the administration settings and add more streams there. Each stream has its own measurement ID and may differ in some settings. The user data collected from all streams is totaled in the report, but you can segment it by stream.
Theoretically, you can set up to 20 streams in one property. However, Google recommends creating as few streams as possible. Multiple streams are particularly detrimental to performance when generating an entire report. If, for example, you want to analyze multiple websites in a property together, you must set up a stream and install the tracking code with the same measurement ID on all websites.
Structuring Google Analytics Accounts and GA4 Properties
You’ve now learned the steps for creating an account, creating a property, and creating a data stream for a single offer. An account can contain multiple properties and these in turn can contain multiple data streams. A user can have access to multiple accounts with their Google Analytics login.
But how do you use these units if you have multiple websites or apps to analyze? To make planning easier for you, let’s explore some examples of common tasks next.
Individual Website
The setup we’ve described so far consists of a single coherent website or domain. All the content you want to measure is available at www.my-website.com, for example.
In this case, you can use a property with a data stream.
Multiple Websites
You want to track the path of users via different websites, as these websites are related in terms of content, for example, the path from www.my-website.com to store.my-website.com. GA4 must collect the data in a property so that you can see where users accessed the www site from and then purchased in the store.
If you have multiple top-level domains, for example, www.my-website.de and www.my-website.com, you must ask yourself whether user paths overlap between the websites. In this case, an analysis in a property makes sense.
You can only use one data stream for multiple subdomains as well as for top-level domains in a property. With separate data streams, Google Analytics treats the users in each stream separately and cannot display a coherent value.
You should consider adding different domains together in a property in the following cases:
- If the content of the websites is identical, for example, in the case of different language versions of the same website. If the URLs on these websites are identical, you can analyze all content together with the overall account.
- If the websites have the same content and only differ in their presentation, for example, if they are optimized for desktop PCs or mobile devices.
- If the websites are closely interlinked in terms of content, as with a website and a blog. Users move back and forth between the two types of content, and there is no clear boundary.
- If the websites are advertised on one page, but users can reach their set destination elsewhere. For instance, you have a website and a store. You advertise the website in a campaign with the aim of getting more visitors to buy from the store.
Basically, you can assume the following: The more similar your websites are, the more likely they should be counted in a common property.
Measuring Multiple Websites Separately
If you view the data of multiple domains independently of each other, two separate properties are probably easier to handle. Thus, you won’t have to constantly filter data to one domain or another later on. This scenario arises, for example, with different language versions of the same website: If each language version is managed by a different employee, everyone has their own reports.
Apps and Websites in Combination
For apps, you need one data stream per system. For example, if you have created an app for Android and iOS, you should create one property with two data streams for the analysis. If you also have a website that either shares content with the apps or extends them, you must create a data stream for it in the same property.
Reports Only for Subdirectories
Your website might have various subdirectories, such as /de/ and /en/, but perhaps, you only want to provide your co-workers with data for “their” respective directory. In this case, you can create a separate property plus a data stream and only include the count in this subdirectory. If your colleagues only need to see what content has been accessed in their directory, this option makes sense.
However, you should bear in mind that all data outside these directories will then be lost. For example, if a user accesses the start page (/) and then clicks on the /en/ directory, all data collected on the start page will be lost. Such a division is therefore unfavorable for the consideration of sources and campaigns. In this case, you should use a comprehensive property that you can filter and segment.
Only Selected Data for Users
Let’s say you only want to give colleagues or a service provider access to selected data, for example, only for users who have come through a campaign. Unfortunately, the GA4 interface does not provide any restrictions for different users or user groups. All users with access to a property can see the data and reports it contains. For example, you cannot give a user access to only a few pages in the report.
Two restrictions on data are possible via the administration settings: You can explicitly prevent the display of revenue data and/or campaign costs for users.
Managing User Rights at a Higher Level
If you manage reports for entirely independent websites for example, as an agency for various client projects you must use a separate account for each project. Then, you can grant admin rights for an individual account. You can also hand over such an account pretty easily, after a project is finished.
If you need to manage access to multiple Google Analytics accounts that belong together organizationally (such as the country sites of an international corporation), you should consider using a Google Marketing Platform (GMP) organization. This approach provides an administration level for users and groups across multiple accounts.
Embedding Tags on Websites
After setting up a data stream, you’re now ready to start collecting user data. At this point, you must now integrate the Google tag into your website so that views are registered in your property. The Google tag is a JavaScript code that collects and sends user data to the Google Analytics servers, as shown in below figure.
![]() |
| Page Tagging Process in Google Analytics |
To start collecting data for your website, GA4 provides several options in the data stream:
- Via the administration of your content management system (CMS) or store system; alternatively, through a plugin
- By integrating JavaScript code directly into HTML
- Via configuration in Google Tag Manager
- Through a link to an existing UA property
Each variant has its advantages and disadvantages, which we’ll briefly cover next.
Using a Website Builder, Content Management System, or Store System
In the web data stream details, the last item is View tag instructions. This item contains the installation instructions for integrating the Google tag. GA4 lists instructions for a whole range of systems to guide you through the setup. Simply copy the tag ID from the installation instructions and enter this value in the relevant configuration for the plugin, CMS, or store.
Today, many offerings use WordPress as a website builder. With the Site Kit, Google offers its own WordPress plugin for the quick and easy integration of Google Analytics and other Google services.
If your system is not on this list, looking for third-party plugins might be worthwhile. These plugins can extend a system with functions for code execution and configuration. For example, solutions from other manufacturers can display Google tags and data in WordPress.
With store systems, native integration or a plugin usually has an advantage in that the information for e-commerce tracking is displayed correctly, in addition to the Google tag.
An overview of which systems already support GA4 tags out of the box and which will require you to enter code directly can be found at https://support.google.com/analytics/answer/10447272.
Google Tag Directly in the Source Code
If your system is not on the list mentioned earlier, you can insert the Google tag manually into one of the templates or page templates. The Google tag (gtag) allows the integration of various Google tracking codes, as shown in Listing below. The gtag is the basis for the integration of Google Analytics, but it can also request codes for Google Ads and Google Display & Video 360 (DV360).
[<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/
gtag/js?id=G-Z5729XXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-Z572914KR7');
</script>]
In the web data stream, you’ll find the JavaScript code to copy and paste into your website in the installation instructions, under the Install manually tab, which is where the correct measurement ID is automatically stored. This element in the code is decisive because it determines which property the views are sent to. For Google Analytics data streams, the ID always starts with a G-, differing from Google Ads conversion tags, for example, which begin with AW.
The direct integration of the tracking code promises optimal loading times and is relatively easy to implement if you have access to the backend or access to the files for your website. However, if you want to extend individual tracking, for example, for different clicks or for e-commerce, you’ll need in-depth programming skills in JavaScript.
When integrating gtag codes directly, an important step is to link them correctly to the consent query before the page is loaded for the first time. The consent manager and the Google tag must be configured accordingly, which is implemented differently depending on the combination.
GA4 in Google Tag Manager
Google Tag Manager is Google’s toolbox for all tasks related to tracking codes. This solution can configure tags, read and collect additional data from websites, and display the right tags at the right times.
For a larger setup with multiple tracking systems and many user actions that you want to measure, Google Tag Manager is an indispensable companion. Positioned between the website and the Google Analytics server, Google Tag Manager makes the development of your tracking codes independent of your website’s sprints and release cycles, as shown in below figure.
| Tracking Using Google Tag Manager |
As a Google product, Google Tag Manager comes with the necessary templates for easy integration with Google Analytics. Simply note the measurement ID of the data stream during setup.
If you already have a running Google Tag Manager container, go to Google Tag Manager to create a new tag. In the list that appears, select the Google Tag. (Even if you click on the Analytics item, you’ll be taken to the Google Tag.)
In the settings window, enter the measurement ID in the corresponding field. At this stage, you can ignore the other options.
Now, the tag needs a trigger. Select the Initialization - All Pages trigger from the list. Finally, you must publish the container by clicking the Send button.
The first Google tag ensures that the relevant pages of your website are tracked. In addition, it serves as a configuration template for individual GA4 event tags.
In a Google tag for individual event calls, select a GA4 configuration tag, from which the measurement ID for the event call is taken. As a result, you don’t need to constantly enter the measurement ID of your data stream.
Google Tag Manager is a powerful tool that supports many systems and codes. A more detailed introduction is available in the Google Tag Manager help at https://support.google.com/tagmanager/answer/14842872?hl=en.
Consent Mode for User Consent
The Google tag must not record user activities on a website or app without explicit permission. A number of data privacy requirements must be considered when tracking. To obtain the consent of your users for tracking, you’ll need a corresponding query that is presented to users when they first access your website.
You can then transfer the user’s selection to the Google tag or have the consent manager transfer it. The Google tag behaves differently depending on the consent (or refusal) given. The Google tag may only record user actions and data with the user’s consent.
The tag provides the consent mode for the transmission of these values. As described in Table 2.1, this mode comes in two variants, which we’ll cover next.
![]() |
| Comparison of Consent Modes |
Simple Consent Mode
When a page is viewed, the Google tag is loaded but does not yet send any data. The data won’t be sent until the Google tag receives the necessary consent signals. If a user refuses to have their activities tracked, the Google tag remains inactive, and the user will not be measured.
Extended Consent Mode
When a page is viewed, the Google tag waits again for the user to interact with the query. If consent is given, all actions are counted, and the user is permanently marked with a cookie. However, if consent is refused, no cookies are set, but user data is still sent in a trimmed-down version. Google refers to these views as pings. If a sufficient number of pings occurs, Google attempts to model and extrapolate user behaviors from those pings.
In both modes, Google Analytics assumes that the user has not yet made a selection or given consent when the page is viewed. This behavior can be adjusted in the Google tag settings.
Google does not offer a separate banner or widget for displaying and obtaining consent. Instead, a whole host of solutions, both comprehensive consent manager services and (in some cases, free) plugins for various systems. A list of systems that directly support consent mode and provide data can be found at https://support.google.com/tagmanager/answer/14546213.
Checking Whether Data Is Arriving
In the installation instructions, you’ll find a field for checking the integration at various points in the tabs. If you enter a URL, Google Analytics will check whether the Google tag is installed. However, this test only works if you have integrated the Google tag directly. If you use Google Tag Manager, the test will fail.
We therefore recommend reviewing the Realtime overview report. Once you’ve integrated the Google tag of the newly created GA4 property, the first user activities should be visible in the report.
You can access this report via the GA4 menu. If you have integrated the Google tag into an existing website on which users are already browsing, the first entries should appear immediately, as shown in figure below.
![]() |
| Incoming Data in the Realtime Overview |
However, if a completely new offer or a test environment, you must provide the initial data yourself. For this task, open the website from which you expect traffic in your browser.
An important step is that you now confirm the consent query, which is likely to appear. Only then will your visit be released for tracking and thus appear in the real-time view.
However, if your real-time report remains empty, start troubleshooting with the data call that the Google tag sends on the page.
For this step, go to your website and open the developer tools in the browser of your choice. In Chrome, for example, press Ctrl + I. Go to the Network area. You’ll probably see a long list of entries. If not, reload the page.
In this window, you’ll see all files loaded by the browser when the page was viewed, as shown in figure below, including texts, images, fonts, and more.
![]() |
| All Website Calls in the Developer Tools |
Now, use the filter field above the list to search for the collect?v=2 string, as shown in below figure.
![]() |
| String to Filter GA4 Calls Only |
This step will show you all requests your browser has sent for tracking with GA4. If you do see requests, at least the data transfer has worked. Activities should then also be visible in the real-time report. If “real time” remains empty despite dispatch, investigate two possible causes:
- The data was sent to the wrong property. Check the measurement ID in the tracking code of the page.
- Your access is filtered. Is there already a filter for IP addresses in your property?
However, if you do not find any collect calls in the list of network calls, you either have an issue with the code itself, or your browser does not want to send it. You should therefore check the following next:
Is the browser the problem?
Have you perhaps installed an adblocker or a privacy plugin in your browser? You should also check your consent to tracking in your consent box. It is best to use a different browser or at least a different profile in your browser. This also avoids problems caused by caching the page in the browser’s cache.
Is the Google tag being adopted correctly?
If you have copied and pasted the Google tag code shown at the end of the data stream setup, check the source code of the browser to see if the code is fully included in the page. To do this, go to your website and open the source code. In Chrome, for example, press Ctrl + U. Search for “gtag” and compare the code block again with the block from the property management. The block should start with a comment:
<!-- Global site tag (gtag.js) - Google Analytics -->
The block should end with a script tag:
</script>
If, for example, you have forgotten the closing script tag, the code will not execute.
Has the tag been published in Google Tag Manager?
Changes in Google Tag Manager must first be published before they can be deployed to users. If you integrate the new tag via Google Tag Manager, check whether you have published the new version at the end.
Events in GA4
In GA4, events are the basic unit for all tracking. Almost every measured action or unit can be traced back to an event. GA4 processes certain special events for certain reports; these events often have fixed parameters. The Google tag automatically fires a whole series of events in GA4 without your intervention when certain actions take place. However, you can also create individual new events, which we’ll cover next.
Structure and Use of Events
A GA4 event always consists of at least one event name and optional parameters. Certain names are linked to reports in GA4. For example, page_view events have the page_location and page_referrer parameters whose data is included in the page report and the source report. All data is entered in the Events report under the Engagement menu item.
In GA4, events are divided into four types:
- Automatically recorded events
- Events for optimized analyses
- Recommended events
- Custom events
We’ll take a closer look at these types in the following sections.
Automatically Recorded Events
As soon as the Google tag is installed on a website, it starts collecting user data. You don’t need to do anything else or configure anything, simply load the tag. However, these events are not sent from the website; instead, they are generated within the GA4 property based on the data. Thus, you won’t see these events under the Network tab of your browser.
The session_start, first_visit, and user_engagement events are automatically generated on websites, as shown in Table below.
![]() |
| Automatically Generated Events in GA4 |
These three events are also generated for apps that you can track using the Firebase software development kit (SDK). Some special events are only generated for apps.
Events for Optimized Analyses
In addition to the automatically recorded events, the Google tag can track other actions on your website independently. You can switch this tracking on or off in the data stream settings, as shown in below figure. Unfortunately, Google came up with the somewhat unwieldy name of optimized analyses instead of calling these “automatic events” too.
![]() |
| Optimized Analyses During the Data Stream Setup |
You can activate optimized analyses for various tasks. The Google tag executes out the necessary code and fires the corresponding events without any further adjustments to your website’s code. This capability works both for the integration via gtag code and for integration via Google Tag Manager. You can also switch optimized analyses on or off at any time in the administration of the data stream.
In contrast to automatically recorded events, you can see optimized analyses under the Network tab of your browser, and you can track what data is being sent.
GA4 provides seven automatically tracked events with optimized analyses, which we’ll now look at in detail.
Page Views
When a page is loaded and the associated Google tag is loaded along with it, a page view is triggered. A page view also happens whenever a user reloads a page by clicking on the refresh button in their browser. In the event report in GA4, the action appears as page_view.
Page views are the only optimized analysis that cannot be deactivated. They only allow the behavior to be adapted for dynamic websites, as shown in Figure 2.19. For example, changes in the browser history (history change) are also logged by default. These changes often occur on dynamic and code-heavy websites that use JavaScript to load content without leaving the actual page. You can sometimes recognize them in the browser by a hash # in the URL.
![]() |
| Capturing Page Changes for Dynamic Websites |
You can deactivate this behavior under Advanced settings, although this step is only necessary in very special cases. Usually, you can ignore this option and leave the settings as is.
As mentioned earlier, you cannot deactivate automatic page loading so make sure that you only load the Google tag after the user has given their consent.
Scrolling Processes
If a page is too long for a user’s browser window, the user must scroll down. With this optimized analysis, the Google tag records the moment when a user has seen 90% of a page (or when it was technically visible in the browser). In this case, the scroll event is triggered, and the value 90 is passed as a parameter.
Clicks on External Links
An external link is a link that leads to another domain (i.e., to a domain that is different from the one currently called in the browser). When you click this link, not only is the click event fired, but a number of parameters are also transferred, which you can analyze later in GA4, such as the following parameters:
- The clicked URL
- The domain to which the change is made
- The CSS class of the clicked link
- The HTML ID of the clicked link
- Information on whether the domain is stored for cross-domain tracking
Domains you have stored for cross-domain tracking are not regarded as external domains and are therefore not counted per event.
Website Search
If you provide a search function on your website that users can use to browse your website’s contents, you can configure an analysis of the search queries entered in that search field.
For this task, first check whether the search of your offer transfers the search query with a URL parameter. You can check this capability by starting a search on the website and then viewing the URL in the browser. For example, when searching on Google, the query is passed in the q parameter:
https://www.google.com/search?q=mysearchquery
The website search is already preconfigured for the following parameters:
q, s, search, query, keyword
If your input appears in the URL as a value after another parameter, you should add this parameter in the field provided.
If additional data is transferred in your search, such as a category filter, you can enter this value in the input field for additional search parameters and later analysis.
If a user views a page that contains one of the stored parameters in the URL, the Google tag fires the view_search_results event and passes the input and additional fields as parameters for later evaluation.
Interaction with a Form
If forms are built into the website, GA4 attempts to record the interaction and submission. For this purpose, the form_start and form_submit events are triggered.
The following parameters are transferred:
- The HTML ID of the form
- The HTML name of the form
- The destination URL of the form
- A test of the send button, if available
The recognition of the form dispatch does not necessarily work as intended in all cases.
Engagement with Videos
- The title of the video
- The URL of the video
- The host of the video (e.g., YouTube)
- The total duration of the video
- The current playing time of the video
- The percentage progress in the video
File Downloads
- PDF files: .pdf
- Office files: .docx, .xlsx, and .pptx
- Text files: .txt, .rtf, and .csv
- Packed archives: .7z, .rar, .gz, .zip, and .pkg
- Videos: .mp4, .mpg, .avi, .mov, and .wmv
- Audio files: .mp3, .wav, and .wma
- File name
- File extension
- Text of the link
- URL of the link
- Domain of the link
- CSS class of the link
- HTML ID of the link
Recommended Events
![]() |
| Selection of Recommended Event Names with Parameters |
Custom Events
Events with gtag
[gtag('event', '<event_name>', {<event_params>});]
[gtag('event', 'ga4test', {'chapter': '2','page': '43'});]
[gtag('event', 'file_download', {'file_name': 'biketour.gpx','file_extension': 'gpx','link_text': 'Bike Tour Download GPX','link_url': '/downloads/biketour.gpx'});]
Event Limits
Events with Google Tag Manager Tags
![]() |
| Google Tag Manager Event for Downloading Special Files |
Editing Events
![]() |
| Creating an Event When the Event Name Arrives |
![]() |
| Changing the Event Name to “newsletter_signup” |
Changing and Overwriting
![]() |
| Replacing a Parameter Value with Another Parameter |
![]() |
| Deleting a Parameter Value |
Adding Parameters
![]() |
| Adding a Content Group to an Event |
Deleting Parameters
Creating Events
![]() |
| Firing a New Event When the Thank You Page Is Viewed |
Defining Key Events
Purpose of Key Events in GA4
![]() |
| Overview of the Channels with Key Events |
Defining Key Events
![]() |
| Selecting Key Events in the Event List |
![]() |
| List of Key Events with Calls and Values |
![]() |
| Automatic Key Events for Apps |
![]() |
| Setting Up a Key Event Before the First Call |
![]() |
| Marking a Conversion in the Event Report via the Menu |
Planning Key Events
Using Custom Definitions
Sending Parameters to GA4
[gtag('event', 'ga4book', {'chapter': '2','page': '43'});]
![]() |
| Incoming Values in the Realtime View of an Event |
![]() |
| Defining a Custom Dimension |
- Metrics can only have an Event as their scope.
- You can also define an optional unit of measurement and choose from units for distances and times. Alternatively, you can define the metric as a currency field and specify whether the value is revenue data or cost data.
Limits of Dimensions and Metrics
![]() |
| Quota Information- Number of Dimensions and Metrics Created for Your Property |
![]() |
| Archiving Dimensions and Metrics |
Details of the Web Data Stream
Data Stream: The Measurement Protocol API and API Secrets
Data Stream: Removing Data
![]() |
| Parameters with Email Addresses in the URL |
![]() |
| Redacting Emails and Parameters in GA4 Data |
![]() |
| Test Data Removal with Sample URL |
Configuring Google Tag Settings
Tag Quality
Managing Automatic Events
Configuring Domains
![]() |
| Domains That Shouldn’t Count as References |
Reading User Data
![]() |
| Handling Data Provided by Users |
Tracking Universal Events
Marking Internal Traffic
![]() |
| Filtering IP Addresses to Clean Up GA4 Traffic |
![]() |
| Specifying a Filter for Parts of an IP Address |
![]() |
| Activating the Filtering of IP Data |
Ignoring Unwanted Referrals
![]() |
| Excluding Payment Services from Referrals |
Defining the Duration of Sessions
![]() |
| When Does a Session End |
![]() |
| When Is a Session Considered Engaged |
Life Cycle of Analytics Cookies
![]() |
| How Long Should a User Cookie Remain Valid |
Changing the Default Consent Mode
Automatic Consent to Data Collection
![]() |
| How Should GA4 View Incoming Data |
Setting Data Usage for Other Google Services
![]() |
| Controlling the Transfer of Data to Other Google Services |













































COMMENTS