{"id":13387,"date":"2023-04-04T12:48:52","date_gmt":"2023-04-04T10:48:52","guid":{"rendered":"https:\/\/dits.md\/?p=13387"},"modified":"2025-04-29T13:49:20","modified_gmt":"2025-04-29T11:49:20","slug":"kak-nastroit-otslezhivanie-sobytij-v-google-analytics-4","status":"publish","type":"post","link":"https:\/\/dits.md\/en\/kak-nastroit-otslezhivanie-sobytij-v-google-analytics-4\/","title":{"rendered":"How to Set Up Event Tracking in Google Analytics 4"},"content":{"rendered":"<p>[et_pb_section fb_built=&quot;1&quot; admin_label=&quot;Section&quot; _builder_version=&quot;4.0.2&quot; background_image=&quot;https:\/\/dits.md\/wp-content\/uploads\/paralax-background.jpg&quot; min_height=&quot;126px&quot; custom_padding=&quot; 35px|0px|40px|0px|false|false&quot; global_module=&quot;2594&quot; locked=&quot;off&quot; collapsed=&quot;off&quot;][et_pb_row _builder_version=&quot;4.0.2&quot; width=&quot;100%&quot; max_width=&quot;100%&quot; custom_margin=&quot; ||||false|false&quot; custom_padding=&quot;18px||||false|false&quot;][et_pb_column type=&quot;4_4&quot; _builder_version=&quot;4.0.2&quot;][et_pb_post_title meta=&quot;off&quot; featured_image=&quot;off&quot; _builder_version= \u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb title_font=\u00bb|600|||||||\u00bb title_text_align=&quot;center&quot; title_text_color=&quot;#ffffff&quot; title_font_size=&quot;41px&quot; title_line_height=&quot;1.2em&quot; title_font_size_tablet=&quot;&quot; title_font_size_phone=&quot;27px&quot; title_font_size_last_edited=&quot;on|desktop&quot; title_2_font_size_phone=&quot;27px&quot; title_2_font_size_last_edit ed=&quot;on|desktop&quot; title_3_font_size_phone =&quot;27px&quot; title_3_font_size_last_edited=&quot;on|desktop&quot; title_4_font_size_phone=&quot;27px&quot; title_4_font_size_last_edited=&quot;on|desktop&quot; title_5_font_size_phone=&quot;27px&quot; title_5_font_size_last_edited=&quot;on|desktop&quot; title_6_font_size_phone=&quot;27px&quot; title_6_fon t_size_last_edited=&quot;on|desktop&quot;][\/ et_pb_post_title] [\/et_pb_column] [\/et_pb_rown] [\/et_pb_section] [et_pb_section fb_built = &quot;1 \u2033 _Builder_version =&quot; 4.8.0 \u2033 _module_preset = &quot;default&quot;] [ET_PB_ROW _Builder_version = &quot;4.8.0 \u2033 _MODULE_PRESET =&quot; Default &quot;] [ et_pb_column type=&quot;4_4&quot; _builder_version=&quot;4.8.0&quot; _module_preset=&quot;default&quot;][et_pb_text _builder_version=&quot;4.8.0&quot; _module_preset=&quot;default&quot;]<\/p>\n<p>Google Analytics 4 (Google Analytics 4, GA4) is a new resource created by Google to replace Universal Analytics. Already, when installing Google Analytics, GA4 is used by default. Therefore, it is important for everyone who works with analytics to know what kind of data model it has now. In this article, we will look at the structure and operation of events in GA4. Let&#039;s use an example to show how to set up GA4 through Google Tag Manager (GTM).<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&quot;4.8.0&quot; _module_preset=&quot;default&quot; custom_margin=&quot;||5px|||&quot;]<\/p>\n<p><strong>Content:<\/strong><\/p>\n<ul>\n<li><a href=\"#struktura-sobytija-v-google-analytics-4\">Event structure in Google Analytics 4<\/a>\n<ul>\n<li><a href=\"#konstrukcija-sobytija\">Event Construction<\/a><\/li>\n<li><a href=\"#ogranichenija-sobytij\">Event limits<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#tipy-sobytij-v-google-analitika-4\">Event Types in Google Analytics 4<\/a>\n<ul>\n<li><a href=\"#avtomaticheski-registriruemye-sobytija\">Automatically logged events<\/a><\/li>\n<li><a href=\"#uluchshennaja-statistika\">Improved statistics<\/a><\/li>\n<li><a href=\"#rekomenduemye-sobytija\">Featured Events<\/a><\/li>\n<li><a href=\"#specialnye-sobytija\">Special events<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#primer-nastrojki-sobytija-v-google-analitika-4-cherez-google-tag-manager\">An example of setting up an event in Google Analytics 4 via Google Tag Manager<\/a>\n<ul>\n<li><a href=\"#dobavljaem-kod-google-analitika-4-v-gtm\">Adding Google Analytics 4 Code to GTM<\/a><\/li>\n<li><a href=\"#nastraivaem-otslezhivanie\">Setting up tracking<\/a><\/li>\n<li><a href=\"#proverjaem-rabotu-sobytij-v-ga4\">Checking the operation of events in GA4<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#zapomnit\">Remember<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=\u00bbstruktura-sobytija-v-google-analytics-4\u2033 _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb custom_margin=\u00bb||16px|||\u00bb locked=&quot;off&quot;]<\/p>\n<h2><strong>Event structure in Google Analytics 4<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb custom_margin=\u00bb||8px|||\u00bb]<\/p>\n<p>GA4 does not have Category, Action, Label, Value components. They have been replaced:<\/p>\n<ul>\n<li>an event is a user action on a site or in an application in a certain period of time. Old setting in Universal Analytics correlates with in GA4;<\/li>\n<li>parameters are additional information describing the event: when and where it happened.<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text module_id=\u201dkonstrukcija-sobytija\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d custom_margin=\u201d||16px|||\u201d locked=&quot;off&quot;]<\/p>\n<h3><strong>Event Construction<\/strong><\/h3>\n<p>[\/et_pb_text][et_pb_text _builder_version=&quot;4.8.0&quot; _module_preset=&quot;default&quot; background_color=&quot;rgba(63,28,108,0.08)&quot; custom_margin=&quot;|130px||130px|false|true&quot; custom_margin_tablet=&quot;|5px|| 5px|false|true\u00bb custom_margin_phone=\u00bb\u00bb custom_margin_last_edited=\u00bbon|phone\u00bb custom_padding=\u00bb30px|30px|20px|30px|false|true\u00bb custom_padding_tablet=\u00bb\u00bb custom_padding_phone=\u00bb\u00bb custom_padding_last_edited=\u00bbon|tablet\u00bb border_radii=\u00bb on|5px|5px|5px|5px&quot; locked=&quot;off&quot;]<\/p>\n<p style=\"text-align: center;\"><span>gtag(&#039;event&#039;, &#039; &#039;, {<\/span><br \/><span>&#039; &#039;: &lt;parameter_1_<\/span><b>value<\/b><span>&gt;,&#039; &#039;: &lt;parameter_2_<\/span><b>value<\/b><span>&gt;,&#039; &#039;: &lt;parameter_3_<\/span><b>value<\/b><span>&gt;,});<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb custom_margin=\u00bb||2px|||\u00bb]<\/p>\n<p>GA4 has &quot;Automatically Logged Events&quot; and &quot;Enhanced Statistics&quot; in which predefined by the system. There are also &quot;Recommended&quot;, which offer standardized names and parameters.<\/p>\n<p>You can also give events your own (special) names.<\/p>\n<p>Page_view is the classic page view in GA4. It starts automatically after installing the counter on the site and cannot be disabled.<\/p>\n<p>By default with Google collects the following additional parameters:<\/p>\n<ul>\n<li>page_location;<\/li>\n<li>page_path;<\/li>\n<li>page_title;<\/li>\n<li>page_referrer (URL of the previous page).<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=\u201dogranichenija-sobytij\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<h3><strong>Event limits<\/strong><\/h3>\n<p>The following data collection restrictions are set:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/ogranicenia-sobytijpng.png\u00bb title_text=\u00bbogranicenia-sobytijpng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>And there are the following settings restrictions:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/ogranicenia-nastroekpng.png\u00bb title_text=\u00bbogranicenia-nastroekpng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text module_id=\u201dtipy-sobytij-v-google-analitika-4\u2033 _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d custom_margin=\u201d ||16px|||&quot; locked=&quot;off&quot;]<\/p>\n<h2><strong>Event Types in Google Analytics 4<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&quot;4.8.0&quot; _module_preset=&quot;default&quot;]<\/p>\n<p>There are four types of events in GA4:<\/p>\n<ul>\n<li>automatically registered;<\/li>\n<li>Featured;<\/li>\n<li>Special;<\/li>\n<li>Improved statistics.<\/li>\n<\/ul>\n<p>Unlike Universal Analytics, where events had to be configured using a global tag or GTM, in GA4 many events are registered automatically.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=\u201davtomaticheski-registriruemye-sobytija\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<h3><strong>Automatically logged events<\/strong><\/h3>\n<p>In Basic Data Collection, GA4 automatically tracks <a href=\"https:\/\/support.google.com\/analytics\/answer\/9234069\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">a specific set of events.<\/a> It contains events for both applications and sites. Events from the &quot;Improved Statistics&quot; are also listed there.<\/p>\n<p>List of automatic events not found in other event categories:<\/p>\n<ul>\n<li><strong>first_visit<\/strong> - when the user visits the site or launches the application for the first time;<\/li>\n<li><strong>session_start<\/strong> \u2014 when the user enters the site or launches the application and begins to interact with it;<\/li>\n<li><strong>user_engagement<\/strong> - periodically fires when the user has launched and \/ or is in an open application.<\/li>\n<\/ul>\n<p>You can see them in the Real Time report:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/v-realnom-vremenipng.png\u00bb title_text=\u00bbv-realnom-vremenipng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text module_id=\u201duluchshennaja-statistika\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<h3><strong>Improved statistics<\/strong><\/h3>\n<p>Statistics help marketers get more events in reports on their own without additional communication with developers or settings in GTM.<\/p>\n<p>The \u201cEnhanced Measurement\u201d section is located in the window along the path: \u201cAdministrator\u201d - \u201cData Streams\u201d - \u201cWeb Stream Details\u201d (Admin - Data Streams - Select the web data stream).<\/p>\n<p>By default, &quot;Enhanced Statistics&quot; is enabled and tracks the following events:<\/p>\n<ul>\n<li>page view (event name: page_view);<\/li>\n<li>scroll(event name: scroll);<\/li>\n<li>following an outgoing link (event name: click with the outbound: true parameter);<\/li>\n<li>site search (event name: view_search_results);<\/li>\n<li>video engagement (event name: video_start, video_progress, video_complete);<\/li>\n<li>file download (event name: file_download).<\/li>\n<\/ul>\n<p>More details - in <a href=\"https:\/\/support.google.com\/analytics\/answer\/9216061\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">Help from Google.<\/a><\/p>\n<p>These events can be disabled and enabled individually. To do this, click on the gear icon in the &quot;Enhanced Measurement&quot; section:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/rassirennye-izmeneniapng.png\u00bb title_text=\u00bbrassirennye-izmeneniapng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>Select the events you need:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/nuznye-sobytiapng.png\u00bb title_text=\u00bbnuznye-sobytiapng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>Also, some events can be configured additionally. Let&#039;s consider in detail:<\/p>\n<ul>\n<li><strong>page_views<\/strong><\/li>\n<\/ul>\n<p>Sent to GA4 when a new page is loaded or the page URL changes without reloading the page:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/bez-perezagruzkipng.png\u00bb title_text=\u00bbbez-perezagruzkipng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<ul>\n<li><strong>scroll<\/strong><\/li>\n<\/ul>\n<p>Sent to GA4 once per page when the visitor scrolls below the 90% height threshold.<\/p>\n<ul>\n<li><strong>click<\/strong><\/li>\n<\/ul>\n<p>Used to track the transition on an outgoing link. Along with it, an additional outbound parameter is sent (with the value &quot;true&quot;) and a number of such parameters: link_classes, link_domain, link_id, link_url.<\/p>\n<p>If you have multiple domains, go to More Tagging Settings - Configure your domains in the same flow and enter them. All domains listed here will not trigger the event outbound link.<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/domenypng.png\u00bb title_text=\u00bbdomenypng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset =\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<ul>\n<li><strong>view_search_results<\/strong><\/li>\n<\/ul>\n<p>Sent to GA4 when the URL of the page being loaded contains a query parameter. For example: q, s, search, query, keyword. There can be up to 10, separated by commas:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/cerez-zapatuupng.png\u00bb title_text=\u00bbcerez-zapatuupng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>For example:<\/p>\n<p>If the URL of the search results page looks like this: https:\/\/netpeak.net\/en\/blog\/search\/?q=ga4, then in &quot;Settings&quot; enter &quot;q&quot; (without quotes).<\/p>\n<p>If the URL of the search results page looks like this: https:\/\/site.com\/search\/?key=search+term&amp;results=50, then enter \u201ckey\u201d (without quotes) in the first configuration field, and \u201cresults\u201d in the second (without quotes). And GA4 will automatically track this parameter:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/otslezivat-parametrpng.png\u00bb title_text=\u00bbotslezivat-parametrpng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<ul>\n<li><strong>video_start, video_progress, video_complete<\/strong><\/li>\n<\/ul>\n<p>&quot;Enhanced Statistics&quot; can track the interaction of embedded Youtube videos on your site and then send events<video> in GA4.<\/p>\n<p>To do this, the URL of the built-in Youtube video player must contain the parameter ?enablejsapi=1. But this feature is not always available. There are other reasons why Youtube video tracking might not work. Therefore, it is better to configure this event separately through GTM.<\/p>\n<ul>\n<li><strong>file_download<\/strong><\/li>\n<\/ul>\n<p>Sent to GA4 when clicking on a link (open\/download file) that contains one of the following file extensions: pdf, xls, xlsx, doc, docx, txt, rtf, csv, exe, key, pps, ppt, pptx, 7z, pkg, rar, gz, zip, avi, mov, mp4, mpe, mpeg, wmv, mid, midi, mp3, wav, wma. It is not yet possible to update the list with other extensions in the GA4 interface.<\/p>\n<p>When the events to track are selected, click &quot;Save&quot; in the upper right corner. Then make sure &quot;Enhanced Measurement&quot; is enabled.<\/p>\n<p>From now on, Google Analytics 4 will automatically track the events that will be displayed in the Real-time report:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/kolicestvo-sobytijpng.png\u00bb title_text=\u00bbkolicestvo-sobytijpng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>You can view all events in the Engagement - Events section. Clicking on the event name will show all its parameters:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/parametry1617809882png.png\u00bb title_text=\u00bbparametry1617809882png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset =\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>The list of &quot;Enhanced Statistics&quot; events can also be seen in the &quot;Events&quot; - &quot;Existing events&quot; section:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/vse-sobytia1617889782png.png\u00bb title_text=\u00bbvse-sobytia1617889782png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text module_id=\u201drekomenduemye-sobytija\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<h3><strong>Featured Events<\/strong><\/h3>\n<p>Before setting up, when choosing a name and parameters for an event, check if they are in the &quot;Automatically registered events&quot; (<a href=\"https:\/\/support.google.com\/analytics\/answer\/9234069\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">Automatically collected events<\/a>) and in Enhanced Measurement. Only then go to the list of &quot;Recommended events&quot; (Recommended events).<\/p>\n<p>We create &quot;Recommended events&quot; ourselves, using standard names and parameters. Then we will be able to work with existing and future reporting features that are not available for events with special names.<\/p>\n<p>Google has created &quot;Recommended Events&quot; for the following activities:<\/p>\n<ul>\n<li><a href=\"https:\/\/support.google.com\/analytics\/answer\/9267735\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">all resources;<\/a><\/li>\n<li><a href=\"https:\/\/support.google.com\/analytics\/answer\/9268036\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">retail and e-commerce;<\/a><\/li>\n<li><a href=\"https:\/\/support.google.com\/analytics\/answer\/9268037\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">work, education, real estate;<\/a><\/li>\n<li><a href=\"https:\/\/support.google.com\/analytics\/answer\/9267738\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">trips;<\/a><\/li>\n<li><a href=\"https:\/\/support.google.com\/analytics\/answer\/9267565\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">games.<\/a><\/li>\n<\/ul>\n<p>Some of them already existed in Google Analytics for the gtag.js library by default with categories and labels set:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/kategorii-i-arlykipng.png\u00bb title_text=\u00bbkategorii-i-arlykipng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb For example:<\/p>\n<ul>\n<li>to track when a user logs in, use an event from the list <a href=\"https:\/\/support.google.com\/analytics\/answer\/9267735\" rel=\"nofollow noopener\" target=\"_blank\">&quot;All Resources&quot;<\/a>;<\/li>\n<li>to track when a user shares content from a site, use from the All Resources list.<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/vse-resursy.jpg\u00bb title_text=\u00bbvse-resursy\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text module_id=\u201dspecialnye-sobytija\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>Using recommended names helps Google Analytics better understand the data and apply it to machine learning.<\/p>\n<h3><strong>Special events<\/strong><\/h3>\n<p>When the event we want to send is not mentioned in either &quot;Auto Tracked&quot;, &quot;Enhanced Statistics&quot;, or &quot;Recommended Events&quot;, we create our own (special) events.<\/p>\n<p>To create custom events:<\/p>\n<ol>\n<li>Sign in to your Google Analytics account.<\/li>\n<li>Select the required resource.<\/li>\n<li>Select &quot;Events&quot; on the left panel.<\/li>\n<li>Click &quot;Create Event&quot;.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/sozdat-sobytiepng.png\u00bb title_text=\u00bbsozdat-sobytiepng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>5. Select an existing special event or create a new one using the &quot;Create&quot; button:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/knopka-sozdatpng.png\u00bb title_text=\u00bbknopka-sozdatpng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>6. Set the parameters of the special event as shown in the screenshot and click &quot;Create&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/sozdat1617810492png.png\u00bb title_text=\u00bbsozdat1617810492png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset =\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>You can access these settings in another way. Select &quot;Administrator&quot; - &quot;Resource&quot; column - &quot;Data Streams&quot; - &quot;Sites&quot; - &quot;Web Stream&quot; - &quot;Additional Tagging Settings&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/dopolnitelnye-nastrojki1617810541png.png\u00bb title_text=\u00bbdopolnitelnye-nastrojki1617810541png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>Event names can only contain letters, numbers and symbols. Underscores and spaces are not allowed. The name must begin with a letter, which is case sensitive. That is, events with names And - different.<\/p>\n<p>Important: Google has <a href=\"https:\/\/support.google.com\/analytics\/answer\/9267744?hl=ru\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">restrictions<\/a>, for example, the total number of characters for special titles. In addition, there is a limit of 500 unique event names per GA4 resource. When the maximum is used, the system will not track new events and delete unused ones. So don&#039;t create too many unique names.<\/p>\n<p>Examples of an event name for tracking clicks on a button with a call to action: or .<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=\u00bbprimer-nastrojki-sobytija-v-google-analitika-4-cherez-google-tag-manager\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb custom_margin=\u00bb||16px| ||&quot; locked=&quot;off&quot;]<\/p>\n<h2><strong>An example of setting up an event in Google Analytics 4 via Google Tag Manager<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb custom_margin=\u00bb||3px|||\u00bb]<\/p>\n<p>There are two types of tags in GTM for collecting data in GA4:<\/p>\n<ul>\n<li><strong>Google Analytics:<\/strong> GA4 configuration. Sets basic settings and is used as the base configuration for event tags.<\/li>\n<li><strong>Google Analytics:<\/strong> event GA4. Used to send events to GA4.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/otpravka-sobytijpng-1.png\u00bb title_text=\u00bbotpravka-sobytijpng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version= \u201c4.8.0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text module_id=\u201ddobavljaem-kod-google-analitika-4-v-gtm\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault &quot;]<\/p>\n<p>Before setting up tracking, we set up the GA4 configuration.<\/p>\n<h3><strong>Add Google Analytics 4 code to GTM:<\/strong><\/h3>\n<p>1. In GTM, in the &quot;Tags&quot; tab, click &quot;Create&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/tegi-sozdat1617889961png.png\u00bb title_text=\u00bbtegi-sozdat1617889961png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>2. From the proposed ones, select the tag &quot;Google Analytics: GA4 configuration&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/teg1617890046png.png\u00bb title_text=\u00bbteg1617890046png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset =\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>3. We prescribe the &quot;Data stream identifier&quot; from GA4.<\/p>\n<p>To do this, in the GA4 settings, go to &quot;Administrator&quot; - &quot;Data Streams&quot; - &quot;Web Stream Details&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/svedenia1617890096png.png\u00bb title_text=\u00bbsvedenia1617890096png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset =\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>Copy it and paste it into the &quot;Data Stream ID&quot; line in the &quot;Tag Configuration&quot; window:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/konfiguracia-tega1617810953png.png\u00bb title_text=\u00bbkonfiguracia-tega1617810953png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>4. Select the trigger &quot;All Pages&quot; (All pages):<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/vse-stranicy.jpg\u00bb title_text=\u00bbvse-stranicy\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>5. Enter the name of the tag and click the &quot;Save&quot; button:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/knopka-sohranitpng.png\u00bb title_text=\u00bbknopka-sohranitpng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text module_id=\u201dnastraivaem-otslezhivanie\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<h3><strong>Set up tracking:<\/strong><\/h3>\n<p>In GTM, go to the &quot;Tag Configuration&quot; window. In the &quot;Tag type&quot; line, select the type &quot;Google Analytics: GA4 event&quot;.<br \/> We select the previously created &quot;Configuration Type&quot; with the data flow identifier &quot;GA4&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/identifikator1617811158png.png\u00bb title_text=\u00bbidentifikator1617811158png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset =\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>We enter the name. For example, we need to track how many people signed up for a course and clicked the &quot;Done&quot; button on the friendly site:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/zapis-na-kurs1617890176png.png\u00bb title_text=\u00bbzapis-na-kurs1617890176png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>Remember that you can not use names from &quot;Automatically tracked&quot;. We come up with the name &quot;Enrollment&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/pridumat-nazvaniepng.png\u00bb title_text=\u00bbpridumat-nazvaniepng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>Since we have chosen a one-page site, we specify the additional condition &quot;Once per page&quot; in the &quot;Tag activation settings&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/odin-raz-na-stranicupng.png\u00bb title_text=\u00bbodin-raz-na-stranicupng\u00bb show_in_lightbox=\u00bbon\u00bb align =\u201dcenter\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>In the &quot;Event Parameters&quot; add the parameters that we want to send along with the event to GA4.<\/p>\n<p>The parameters specified at the time of activation in the &quot;Configurations&quot; tag are included automatically.<\/p>\n<p>Important: If you want to use parameters in reports, you must register them as custom parameters.<\/p>\n<p>We write down which element was clicked:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/element-klikapng.png\u00bb title_text=\u00bbelement-klikapng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>Set the &quot;Activation Trigger&quot;: &quot;Click&quot; - &quot;All elements&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/vse-elementypng.png\u00bb title_text=\u00bbvse-elementypng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_image src=\u201dhttps:\/\/dits.md\/wp-content\/uploads\/triggerypng.png\u201d title_text=\u201dtriggerypng\u201d show_in_lightbox=\u201don \u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb locked=\u00bboff\u00bb][\/et_pb_image][et_pb_text _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb]<\/p>\n<p>To track a click on this particular button, you must specify a condition:<\/p>\n<ul>\n<li>find the desired element on the page;<\/li>\n<li>inspect the element in the browser using the developer console: press F12, right-click on the desired button (in this case it is \u201cDone\u201d):<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/gotovo.jpg\u00bb title_text=\u00bbgotovo\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset =\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<ul>\n<li>in the &quot;Menu&quot; select &quot;View Code&quot;:<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/posmotret-kod1617811652png.png\u00bb title_text=\u00bbposmotret-kod1617811652png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>In this example, &quot;Form Classes&quot; contains &quot;ninja-forms-field nf-element&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/v-dannom-primere-form-classes-soderzit-ninja-forms-field-nf-elementpng.png\u00bb title_text=\u00bb v-dannom-primere-form-classes-soderzit-ninja-forms-field-nf-elementpng&quot; show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb locked=\u00bboff\u00bb] [\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>Enter the name of the trigger and click &quot;Save&quot;:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/propisyvaem-nazvanie-triggera-i-nazimaem-sohranitpng.png\u00bb title_text=\u00bbpropisyvaem-nazvanie-triggera-i-nazimaem- sohranitpng\u201d show_in_lightbox=\u201don\u201d align=\u201dcenter\u201d _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>\u00a0Enter the name of the tag in the upper right corner (in this example, &quot;Event Button&quot;) and click &quot;Save&quot;.<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/knopka-sobytiepng.png\u00bb title_text=\u00bbknopka-sobytiepng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text module_id=\u201dproverjaem-rabotu-sobytij-v-ga4\u2033 _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<h3><strong>Checking the operation of events in GA4<\/strong><\/h3>\n<p>You can check the operation of events in GA4 using:<\/p>\n<ol>\n<li>Real time report.<\/li>\n<li>DebugView.<\/li>\n<li>Extensions for Google Chrome browser - <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/google-analytics-debugger\/jnkmfdileelhofjcijamephohjechhna?hl=ru\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">Google Analytics Debugger<\/a> or its equivalent.<\/li>\n<\/ol>\n<p>Let&#039;s check the operation of our event through DebugView. To do this, install the Google Analytics Debugger extension - when enabled, the icon displays ON:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/vklucenopng.png\u00bb title_text=\u00bbvklucenopng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset =\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<ol>\n<li>We go to the monitored site. At the bottom, the Debugger login window appeared.<\/li>\n<\/ol>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/okno-vhoda1617890587png.png\u00bb title_text=\u00bbokno-vhoda1617890587png\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>2. Enter the site address and click &quot;Start&quot;.<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/startpng.png\u00bb title_text=\u00bbstartpng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset =\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>3. The DebugView report will display the input and all committed events on the timeline. In our case, an event called &quot;enrollment&quot; was displayed, repeating 20 times:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/otobrazenie-sobytiapng.png\u00bb title_text=\u00bbotobrazenie-sobytiapng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8 .0\u2033 _module_preset=\u201ddefault\u201d locked=\u201doff\u201d][\/et_pb_image][et_pb_text _builder_version=\u201d4.8.0\u2033 _module_preset=\u201ddefault\u201d]<\/p>\n<p>By clicking on the name in the list of main events, we see all its parameters and properties:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/dits.md\/wp-content\/uploads\/parametry-i-svojstvapng.png\u00bb title_text=\u00bbparametry-i-svojstvapng\u00bb show_in_lightbox=\u00bbon\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb locked=\u00bboff\u00bb][\/et_pb_image][et_pb_text module_id=\u00bbzapomnit\u00bb _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb custom_margin=\u00bb||16px||| \u00bb locked=&quot;off&quot;]<\/p>\n<h2><strong>Remember<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&quot;4.8.0&quot; _module_preset=&quot;default&quot;]<\/p>\n<p>1.Google Analytics 4 data model is based on events only.<\/p>\n<p>2. Structure of an event in GA4 <a href=\"https:\/\/support.google.com\/analytics\/answer\/9964640?hl=ru\" rel=\"\u201dnofollow\u201d noopener\" target=\"_blank\">is different<\/a> from Universal Analytics. Instead of four components (\u201cCategory\u201d, \u201cAction\u201d, \u201cLabel\u201d, \u201cValue\u201d), it has only two: \u201cEvents\u201d and \u201cParameters\u201d. The design of the event has also changed.<\/p>\n<p>3. There are four types of events in Google Analytics 4:<\/p>\n<ul>\n<li>automatically registered;<\/li>\n<li>recommended;<\/li>\n<li>special;<\/li>\n<li>improved statistics.<\/li>\n<\/ul>\n<p>GA4 is still in its infancy - we are waiting for the appearance of new features in the near future.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: right;\"><em>A source:\u00a0<a href=\"https:\/\/netpeak.net\/\" target=\"_blank\" rel=\"noopener nofollow\">Netpeak.net<\/a><\/em><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=\u00bb4.8.0\u2033 _module_preset=\u00bbdefault\u00bb][\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>","protected":false},"excerpt":{"rendered":"<p>Google Analytics 4 (Google Analytics 4, GA4) is a new resource created by Google to replace Universal Analytics. Already now, when installing Google Analytics, GA4 is used by default. Therefore, it is important for everyone who works with analytics to know what its data model is now. In this article we will look at the structure and operation of events in GA4. Let&#039;s use an example to show [...]<\/p>","protected":false},"author":4,"featured_media":13391,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-13387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/posts\/13387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/comments?post=13387"}],"version-history":[{"count":11,"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/posts\/13387\/revisions"}],"predecessor-version":[{"id":13451,"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/posts\/13387\/revisions\/13451"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/media\/13391"}],"wp:attachment":[{"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/media?parent=13387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/categories?post=13387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dits.md\/en\/wp-json\/wp\/v2\/tags?post=13387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}