{"id":23144,"date":"2022-02-12T06:00:00","date_gmt":"2022-02-12T01:00:00","guid":{"rendered":"https:\/\/mcstarters.com\/blog\/?p=23144"},"modified":"2024-03-15T16:40:55","modified_gmt":"2024-03-15T11:40:55","slug":"install-google-analytics-4-wordpress","status":"publish","type":"post","link":"https:\/\/mcstarters.com\/blog\/install-google-analytics-4-wordpress\/","title":{"rendered":"How to Install Google Analytics 4 WordPress Step By Step (Screenshots)"},"content":{"rendered":"\n<p>If you want to track and know your audiences then you must add google analytics on websites. Today, we will show how to install google analytics 4 WordPress step by step ( Screenshots).<\/p>\n\n\n\n<p>Google Analytics is a free tool by google that help website and business owner to track website statistics.<\/p>\n\n\n\n<p class=\"bg-light\">You Might Also Like <a href=\"https:\/\/mcstarters.com\/free-elementor-templates\/\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/mcstarters.com\/free-elementor-templates\/\" rel=\"noreferrer noopener\">elementor templates <\/a>for WordPress websites.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-google-analytics-4-wordpress\">Install Google Analytics 4 WordPress<\/h2>\n\n\n\n<p>Before moving to step 1. I hope you already have a <strong>Gmail account<\/strong>. if not then create it. We use Gmail for signup with google analytics 4.<\/p>\n\n\n\n<p class=\"bg-light\">You Might Also Like How to <a href=\"https:\/\/mcstarters.com\/blog\/submit-website-to-google-search-console\/\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/mcstarters.com\/blog\/submit-website-to-google-search-console\/\" rel=\"noreferrer noopener\">Submit website to Google Search Console<\/a><\/p>\n\n\n\n<p>Please follow every step to add google analytics to the WordPress website.<\/p>\n\n\n\n<p class=\"step\"><strong>Step 1: <\/strong>First you need to visit&nbsp;<a href=\"https:\/\/analytics.google.com\/analytics\/web\/\" data-type=\"URL\" data-id=\"https:\/\/analytics.google.com\/analytics\/web\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google Analytics<\/a>. Now sign in with your Gmail account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"299\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Login-into-Google-Analytics.webp\" alt=\"\" class=\"wp-image-23164\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 2: <\/strong>After sign-in with your Gmail account and click on &#8220;Start measuring&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"287\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Welcome-to-Google-Analytics.webp\" alt=\"\" class=\"wp-image-23162\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 3: <\/strong>For Account, set up enter the <strong>account name<\/strong> and check benchmarking, technical support, and account specialists if you want. Last on click on &#8220;<strong>Next<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"297\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Google-Analytics-Account-Name.webp\" alt=\"\" class=\"wp-image-23166\" title=\"\"><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"298\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Analytics-Next-Button.webp\" alt=\"\" class=\"wp-image-23169\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 4: <\/strong>Now enter Property details, <strong>property name<\/strong>, and time zone according to country. Click on <strong>Next<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"300\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Google-Analytics-Properities-Details-setup.webp\" alt=\"\" class=\"wp-image-23171\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 5: <\/strong>Share your business information Such as business category, size, intent. The last click on &#8220;<strong>Create<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"300\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Setup-About-Your-Business-information.webp\" alt=\"\" class=\"wp-image-23173\" title=\"\"><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"296\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Click-on-Create-Account.webp\" alt=\"\" class=\"wp-image-23174\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 6: <\/strong>Now check google analytics terms of service and click on &#8220;<strong>I Accept<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"299\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Accept-Google-Analytics-Terms.webp\" alt=\"\" class=\"wp-image-23177\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 7: <\/strong>Just click on Save.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"305\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Email-Communication.webp\" alt=\"\" class=\"wp-image-23179\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 8: <\/strong>&nbsp;On the next screen, you just click on &#8220;<strong>Web<\/strong>&#8221; because you set up google analytics for the website.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"295\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Choose-platform-Web.webp\" alt=\"\" class=\"wp-image-23180\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 9: <\/strong>Enter the website <strong>URL and website name<\/strong>. once done then on click on Create stream.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"304\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Enter-Website-url-and-Stream-Name.webp\" alt=\"\" class=\"wp-image-23181\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 10: <\/strong>On this screen, click on the <strong>Global site tag<\/strong> and copy the code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"321\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Choose-Global-Site-Tag.webp\" alt=\"\" class=\"wp-image-23182\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 11: <\/strong>Now Open the WordPress dashboard. Go to plugins&gt; Add new &gt; Search &#8220;<strong>Insert Header and Footer<\/strong>&#8221; &gt; Click on Install and Activate.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"311\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/install-insert-header-and-footer-code-plugin.webp\" alt=\"\" class=\"wp-image-23183\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 12: <\/strong>Once the plugin installation is done then go setting &gt; <strong>insert header and footer <\/strong>&gt; paste code into header field. The last click on Save.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"320\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Paste-google-analytics-code-in-header.webp\" alt=\"\" class=\"wp-image-23184\" title=\"\"><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"209\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Click-on-Save.webp\" alt=\"\" class=\"wp-image-23185\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 13: <\/strong>Click on the cross to close the stream details.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"244\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Close-Web-Stream-Details.webp\" alt=\"\" class=\"wp-image-23186\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 14: <\/strong>Now click on &#8220;<strong>Reports<\/strong>&#8221; at the top left.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"248\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Google-Analtyics-4-reports.webp\" alt=\"\" class=\"wp-image-23187\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 15: <\/strong>On the next screen, click on <strong>Reports Snapshot<\/strong> and here you see the complete report of visiting user.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"312\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2022\/02\/Google-Analytics-4-stats.webp\" alt=\"\" class=\"wp-image-23189\" title=\"\"><\/figure>\n\n\n\n<p>Google Analytics is a great tool with a huge amount of useful features. Some are self-explanatory and simple to use, while others take further setup.<\/p>\n\n\n\n<p>We hope this article helped you learn how to install Google Analytics 4 WordPress. If you face any issues then comment below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"frequently-asked-questions\">Frequently Asked Questions<\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1644577030679\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">How do I add Google Analytics to my WordPress website?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>You can add Google Analytics to the WordPress website by installing a simple plugin.<br \/><strong>Step 1: <\/strong>Install &#8220;<strong>Insert Header and Footer<\/strong>&#8220;<br \/><strong>Step 2:<\/strong> Place code into head tag.<br \/><strong>Step 3:<\/strong> Click on Save Changes.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1644577278747\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">Is there a Google Analytics plugin for WordPress?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, The best Google Analytics plugin for WordPress is\u00a0<strong>MonsterInsights and Google Analytics Dashboard for WP<\/strong>.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>If you want to track and know your audiences then&#8230;<\/p>\n","protected":false},"author":5,"featured_media":23378,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[2],"tags":[],"class_list":["post-23144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/posts\/23144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/comments?post=23144"}],"version-history":[{"count":0,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/posts\/23144\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/media\/23378"}],"wp:attachment":[{"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/media?parent=23144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/categories?post=23144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/tags?post=23144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}