{"id":28332,"date":"2020-12-22T11:21:36","date_gmt":"2020-12-22T11:21:36","guid":{"rendered":"https:\/\/rarathemes.com\/blog\/?p=28332"},"modified":"2021-06-21T11:27:49","modified_gmt":"2021-06-21T05:42:49","slug":"add-google-analytics-wordpress","status":"publish","type":"post","link":"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/","title":{"rendered":"How to Add Google Analytics to WordPress?"},"content":{"rendered":"\n<p>Google Analytics in your WordPress site means serious business. That is why there are tons of WordPress sites integrated with it.<\/p>\n\n\n\n<p>As per <a href=\"https:\/\/www.codeinwp.com\/blog\/wordpress-statistics\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener nofollow\" class=\"rank-math-link\">WordPress statistics<\/a>, around 19,500,000 websites on the entire web use WordPress. Likewise, approximately 13,130,587 websites use Google Analytics to understand their website performance.&nbsp;<\/p>\n\n\n\n<p>For a successful website, it is integral to understand how your audience interacts with your website. The best way to understand your audience\u2019s performance is through traffic statistics. For this, you need <a href=\"https:\/\/analytics.google.com\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener nofollow\" class=\"rank-math-link\">Google Analytics.<\/a>&nbsp;<\/p>\n\n\n\n<p>Google Analytics is the free digital analytics software from Google that allows you to analyze your website data and measure your website&#8217;s success.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#Why_is_Google_Analytics_so_important\" >Why is Google Analytics so important?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#How_to_Sign_up_with_Google_Analytics\" >How to Sign up with Google Analytics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#How_to_Install_Google_Analytics_in_WordPress\" >How to Install Google Analytics in WordPress<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#Adding_Google_Analytics_to_WordPress_with_MonsterInsights\" >Adding Google Analytics to WordPress with MonsterInsights<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#Adding_Google_Analytics_with_Insert_Headers_and_Footers_plugin\" >Adding Google Analytics with Insert Headers and Footers plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#Adding_Google_Analytics_using_Google_Tag_Manager\" >Adding Google Analytics using Google Tag Manager<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#Step_1_Get_Google_Analytics_tracking_code\" >Step:1 Get Google Analytics tracking code.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#Step_2_Add_tracking_code_to_the_headerphp_file\" >Step 2: Add tracking code to the header.php file<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#Viewing_reports_on_Google_Analytics\" >Viewing reports on Google Analytics&nbsp;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/rarathemes.com\/blog\/add-google-analytics-wordpress\/#Conclusion\" >Conclusion:<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_is_Google_Analytics_so_important\"><\/span>Why is Google Analytics so important?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Google Analytics helps you come up with strategies for your website based on the data. With Google Analytics, you can measure internal site search, visitor bounce rate, understand visitor demographics, targeted social media platforms, and determine your site&#8217;s content type.&nbsp;<\/p>\n\n\n\n<p>Overall, it helps you understand :<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Who visits your website.<\/li><li>Where they are coming from.<\/li><li>What they do on your site once they are there.<\/li><li>How successful your content and user funnels are.<\/li><li>And much more.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Sign_up_with_Google_Analytics\"><\/span>How to Sign up with Google Analytics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Google Analytics is available for free. The Signup process is prompt and easy. To create your Google Analytics account, follow the instructions below.<\/p>\n\n\n\n<p><strong>Step 1: <\/strong>&nbsp;First, you must have a Google account. You can use your Google or Gmail account to sign in. If you don\u2019t already own one, go ahead and create a Google account.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"700\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/1.-analytics.jpg\" alt=\"Google Analytics\" class=\"wp-image-28333\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/1.-analytics.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/1.-analytics-300x288.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/1.-analytics-63x60.jpg 63w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure><\/div>\n\n\n\n<p><strong>Step 2:<\/strong> After you sign-in with your Gmail account, it will direct you to a page similar to the picture below. It is where you must sign in Google analytics with your Gmail account.<\/p>\n\n\n\n<p>Next, it will ask you to provide an account name.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"728\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/2.-analytics-account-name.jpg\" alt=\"entering account name \" class=\"wp-image-28334\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/2.-analytics-account-name.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/2.-analytics-account-name-300x300.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/2.-analytics-account-name-150x150.jpg 150w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/2.-analytics-account-name-60x60.jpg 60w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p><strong>Step 3: <\/strong>On the next screen, you can choose between web, apps, or webs and apps. Select \u2018Web.\u2019<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"699\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/3.-account-setup.jpg\" alt=\"Setting up an account \" class=\"wp-image-28335\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/3.-account-setup.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/3.-account-setup-300x287.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/3.-account-setup-63x60.jpg 63w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Fill in the empty fields such as website name, website\u2019s URL, country, and time zone.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"550\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/4.-create-account.jpg\" alt=\"Creating account \" class=\"wp-image-28336\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/4.-create-account.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/4.-create-account-300x226.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/4.-create-account-80x60.jpg 80w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>After completing the form, click on the Next button. It will direct you to Google Analytics terms and services. Click on the \u2018I Agree\u2019 button.<\/p>\n\n\n\n<p><strong>Step 4:<\/strong> You will get a Google Analytics tracking code. Copy the tracking code<\/p>\n\n\n\n<p>&nbsp;(You will need it later for your WordPress site according to your chosen method.)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"388\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/5.-final-code.jpg\" alt=\"Google Analytics tracking code\" class=\"wp-image-28337\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/5.-final-code.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/5.-final-code-300x159.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/5.-final-code-113x60.jpg 113w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>It will be wise to leave the analytics browser tab open. You might require to revisit the site more than once after installing the code on your WordPress site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Install_Google_Analytics_in_WordPress\"><\/span>How to Install Google Analytics in WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are various ways to add Google Analytics to WordPress. Here, I introduce you to four different ways to integrate Google Analytics into your site.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Adding Google Analytics to WordPress with MonsterInsights<\/li><li>Adding Google Analytics with Insert Headers and Footers plugin<\/li><li>Adding Google Analytics using Google Tag Manager<\/li><li>Embed Google Analytics to WordPress without a plugin.<\/li><\/ol>\n\n\n\n<p>According to your requirement, choose the method that suits you the best.<\/p>\n\n\n\n<p>(<strong>Note:<\/strong>&nbsp; Use only one of the given methods to add Google Analytics on your website to avoid double tracking of page views.)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Adding_Google_Analytics_to_WordPress_with_MonsterInsights\"><\/span>Adding Google Analytics to WordPress with MonsterInsights<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Using <a href=\"https:\/\/wordpress.org\/plugins\/google-analytics-for-wordpress\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener nofollow\" class=\"rank-math-link\">MonsterInsights<\/a> is the most convenient method to add Google Analytics to your WordPress site amongst all three ways.<\/p>\n\n\n\n<p>Here we use the MonsterInsights plugin to integrate Analytics to our site.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"635\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/6.-monsterinsights.jpg\" alt=\"MonsterinSights\" class=\"wp-image-28338\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/6.-monsterinsights.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/6.-monsterinsights-300x261.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/6.-monsterinsights-69x60.jpg 69w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>MonsterInsights is one of the widely used Google Analytics plugins for WordPress. It is ideal for adding Google Analytics to WordPress to beginners and experts alike.<\/p>\n\n\n\n<p>MonsterInsights is available in both premium and a <a href=\"https:\/\/wordpress.org\/plugins\/google-analytics-for-wordpress\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener nofollow\" class=\"rank-math-link\">free version<\/a>. In this tutorial, I will be using the MonsterInsights free version.<\/p>\n\n\n\n<p>For advanced features like E-commerce tracking, Ads tracking, Author tracking, etc., you should pick the premium version.<\/p>\n\n\n\n<p>First off, you should install and activate the MonsterInsights plugin.<\/p>\n\n\n\n<p>Go to plugins &gt; Add new.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"603\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/7.-add-new.jpg\" alt=\"adding new plugin\" class=\"wp-image-28339\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/7.-add-new.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/7.-add-new-300x248.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/7.-add-new-73x60.jpg 73w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Search MonsterInsights Plugins, install, and activate it. Upon activation, a new menu item labeled \u2018<strong>Insights<\/strong>\u2019 will appear on your WordPress admin menu. Click on it to set up MonsterInsights.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"470\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/8.-insights-on-admin-menu.jpg\" alt=\"insights on admin menu\" class=\"wp-image-28340\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/8.-insights-on-admin-menu.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/8.-insights-on-admin-menu-300x193.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/8.-insights-on-admin-menu-93x60.jpg 93w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Select a category for your website (a business website, blog, or online store) and click on the \u2018Save and Continue\u2019 button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"694\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/9.-welcome-page-monsterinsights.jpg\" alt=\"welcome page monsterinsights\" class=\"wp-image-28341\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/9.-welcome-page-monsterinsights.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/9.-welcome-page-monsterinsights-300x285.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/9.-welcome-page-monsterinsights-63x60.jpg 63w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Next, click on the \u2018<strong>Connect MonsterInsights<\/strong>\u2019 button. A pop up to Google accounts will appear, asking you to either sign in or select a Google account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"705\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/10.-choose-account.jpg\" alt=\"choose account\" class=\"wp-image-28342\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/10.-choose-account.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/10.-choose-account-300x290.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/10.-choose-account-62x60.jpg 62w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>It will ask you to allow MonsterInsights to access your Google Analytics account. Click on the \u2018Allow\u2019 button and continue.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"756\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/11.-allow-access.jpg\" alt=\"allowing for the access\" class=\"wp-image-28343\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/11.-allow-access.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/11.-allow-access-290x300.jpg 290w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/11.-allow-access-58x60.jpg 58w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure><\/div>\n\n\n\n<p>Select the profile you want to track. Add your website and click on the \u2018Complete Connection\u2019 button to continue.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"393\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/12.-complete-connection.jpg\" alt=\"complete connection\" class=\"wp-image-28344\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/12.-complete-connection.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/12.-complete-connection-300x162.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/12.-complete-connection-111x60.jpg 111w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>MonsterInsights will install Google Analytics on your website. Upon installation, it will ask you to select the desired settings for your website. The default settings work well with most of the websites.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"738\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/13.-desired-settings.jpg\" alt=\"desired settings\" class=\"wp-image-28345\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/13.-desired-settings.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/13.-desired-settings-297x300.jpg 297w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/13.-desired-settings-59x60.jpg 59w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>To save your settings, click the save and continue button.<\/p>\n\n\n\n<p>Next, you will see an advertisement for paid addons for MonsterInsights. To skip this step, click on the save and continue button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"703\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/14.-paid-addons.jpg\" alt=\"advertisement for paid addons for MonsterInsights\" class=\"wp-image-28346\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/14.-paid-addons.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/14.-paid-addons-300x289.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/14.-paid-addons-62x60.jpg 62w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>It will then ask you to install the WPForms plugin, one of the best WordPress contact form plugins. You can either install it or click on \u2018<strong>Skip this Step<\/strong>.\u2019<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"696\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/15.-wpform-plugin.jpg\" alt=\"wpform plugin\" class=\"wp-image-28347\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/15.-wpform-plugin.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/15.-wpform-plugin-300x286.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/15.-wpform-plugin-63x60.jpg 63w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Now, Google Analytics is successfully added to your WordPress site. It will take some time for google analytics to show on your stats.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"638\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/16.-finish-setup.jpg\" alt=\"Finishing setup\" class=\"wp-image-28348\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/16.-finish-setup.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/16.-finish-setup-300x262.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/16.-finish-setup-69x60.jpg 69w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>You can now view your Google Analytics reports inside your WordPress dashboard. Go to the <strong>Insights \u00bb Reports<\/strong> page and check a quick overview of your analytics data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/17.-monsterinsights-reports.jpg\" alt=\"monsterinsights reports\" class=\"wp-image-28349\" width=\"580\" height=\"328\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/17.-monsterinsights-reports.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/17.-monsterinsights-reports-300x170.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/17.-monsterinsights-reports-106x60.jpg 106w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Adding_Google_Analytics_with_Insert_Headers_and_Footers_plugin\"><\/span>Adding Google Analytics with Insert Headers and Footers plugin<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><a aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener nofollow\" class=\"rank-math-link\" href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers\/\" target=\"_blank\">Insert Headers and Footers<\/a> is a plugin that lets you insert code like Google Analytics, custom CSS, Facebook Pixel to your WordPress site with ease. Plus, you can add all these without editing your theme files.<\/p>\n\n\n\n<p>Here\u2019s what you need to do to add Google Analytics with Insert Headers and footers plugin:&nbsp;<\/p>\n\n\n\n<p>First, you should install and activate the Insert Headers and Footers plugin.<\/p>\n\n\n\n<p>Next, log in to your Google Analytics account and copy the tracking code for your website.<\/p>\n\n\n\n<p>(<strong>Note:<\/strong><em> The tracking code is the code you copied earlier in Step 4 when signing up for a Google Analytics account.)<\/em><\/p>\n\n\n\n<p>Open the settings page for the plugin.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"330\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/18.-Insert-headers-and-footers-plugin-settings.jpg\" alt=\"Insert headers and footers plugin settings\" class=\"wp-image-28350\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/18.-Insert-headers-and-footers-plugin-settings.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/18.-Insert-headers-and-footers-plugin-settings-300x136.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/18.-Insert-headers-and-footers-plugin-settings-133x60.jpg 133w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Paste the Google Analytics tracking code on the \u201cheaders\u201d section.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"397\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/19.-header-plugin.jpg\" alt=\"header plugin\" class=\"wp-image-28351\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/19.-header-plugin.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/19.-header-plugin-300x163.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/19.-header-plugin-110x60.jpg 110w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Save your changes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"534\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/20.save-changes.jpg\" alt=\"save changes\" class=\"wp-image-28352\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/20.save-changes.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/20.save-changes-300x219.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/20.save-changes-82x60.jpg 82w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>And now, you have successfully installed Google analytics to your Wordpress site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Adding_Google_Analytics_using_Google_Tag_Manager\"><\/span>Adding Google Analytics using Google Tag Manager<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Another method to add Google analytics to Wordpress is by using Google Tag Manager.&nbsp;<\/p>\n\n\n\n<p><a aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener nofollow\" class=\"rank-math-link\" href=\"https:\/\/tagmanager.google.com\/\" target=\"_blank\">Google Tag Manager <\/a>is a tag management system that incorporates scripts for a variety of purposes. It allows you to easily add tags and code snippets intended for traffic analysis and marketing on your website. With this plugin, you don\u2019t have to edit site code in WordPress. Instead, you can easily add and update scripts from the Tag Manager user interface.<\/p>\n\n\n\n<p>For this, you can simply use the free Google Tag Manager WordPress plugin and follow the steps below to add Google Analytics to WordPress.<\/p>\n\n\n\n<p>First off, you need a Google Tag Manager account. Go to Google Tag Manager and create your account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"277\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/21.-google-tag-manager-create-account.jpg\" alt=\"google tag manager create account\" class=\"wp-image-28353\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/21.-google-tag-manager-create-account.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/21.-google-tag-manager-create-account-300x114.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/21.-google-tag-manager-create-account-158x60.jpg 158w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Once you select to create an account, you will be directed to the page as shown in the picture below. Fill in your account details and create your account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"760\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/22.-create-google-tag-manager.jpg\" alt=\"create google tag manager\" class=\"wp-image-28354\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/22.-create-google-tag-manager.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/22.-create-google-tag-manager-288x300.jpg 288w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/22.-create-google-tag-manager-58x60.jpg 58w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Next, agree to the Google Tag Manager Terms of Service Agreement to continue.&nbsp;<\/p>\n\n\n\n<p>Once you complete the signup process, you will get the following Google Tag Manager snippets. Click on the OK button and get your Google Tag Manager ID.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"497\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/23.-google-tag-manager-id.jpg\" alt=\"google tag manager id\" class=\"wp-image-28355\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/23.-google-tag-manager-id.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/23.-google-tag-manager-id-300x204.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/23.-google-tag-manager-id-88x60.jpg 88w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>It will be wise to leave the Google Tag Manager tab open. You might require to revisit the site after installing the Google Tag Manager plugin on your WordPress site.<\/p>\n\n\n\n<p>Now, go to your WordPress dashboard to download and activate the Google Tag Manager plugin.<\/p>\n\n\n\n<p>Go to Plugins&gt;Add new.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"603\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/24.-add-new-plugins.jpg\" alt=\"add new plugins\" class=\"wp-image-28356\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/24.-add-new-plugins.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/24.-add-new-plugins-300x248.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/24.-add-new-plugins-73x60.jpg 73w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Search Google Tag Manager Plugin, install, and activate it.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"725\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/25.-google-tag-manager.jpg\" alt=\"google tag manager\" class=\"wp-image-28357\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/25.-google-tag-manager.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/25.-google-tag-manager-300x298.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/25.-google-tag-manager-150x150.jpg 150w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/25.-google-tag-manager-60x60.jpg 60w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure><\/div>\n\n\n\n<p>Upon activation, a new menu item labeled \u2018<strong>Google Tag Manager<\/strong>\u2019 under settings will appear on your WordPress admin menu.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"422\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/26.-settings-google-tag-manager.jpg\" alt=\"editing settings of google tag manager\" class=\"wp-image-28358\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/26.-settings-google-tag-manager.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/26.-settings-google-tag-manager-300x173.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/26.-settings-google-tag-manager-104x60.jpg 104w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure><\/div>\n\n\n\n<p>Return to the Google Tag Manager page and copy your Google Tag Manager ID. Paste your ID via <strong>Settings&gt; Google Tag Manager<\/strong> under Google Tag Manager ID in WordPress and save your changes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"423\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/27.-save-changes-google-tag-manager.jpg\" alt=\"save changes on google tag manager\" class=\"wp-image-28359\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/27.-save-changes-google-tag-manager.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/27.-save-changes-google-tag-manager-300x174.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/27.-save-changes-google-tag-manager-104x60.jpg 104w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Now, you have successfully integrated Google Analytics to your site with Google Tag Manager. You can easily access any tag set up in the Google Tag Manager plugin on your Wordpress Site.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Embed Google Analytics to WordPress without a plugin<\/li><\/ol>\n\n\n\n<p>Embedding is the trickiest method suitable for advanced users with coding knowledge. This method cannot be relied upon because your code will disappear if you switch or update the theme.&nbsp;<\/p>\n\n\n\n<p>In this method, you will directly edit the code of your site. Even a small misplaced comma can bring your whole website down.&nbsp;<\/p>\n\n\n\n<p>So, the first step is to keep a <a class=\"rank-math-link\" href=\"https:\/\/blossomthemes.com\/back-up-wordpress\/\" rel=\"noopener\"><strong>backup of your website<\/strong><\/a>. In case anything goes wrong, you can quickly revert it.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Get_Google_Analytics_tracking_code\"><\/span><strong>Step:1 Get Google Analytics tracking code.<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>First, you will need your Google Analytics tracking code that you copied in the beginning at Step 4 (above) while signing up for a Google Analytics account.<\/p>\n\n\n\n<p>If you don\u2019t have the code from the beginning, go to your Google Analytics account. Click on the admin icon on the bottom left corner of your analytics homepage.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"399\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/28.-Admin-Google-Analytics.jpg\" alt=\"Admin account of  Google Analytics\" class=\"wp-image-28360\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/28.-Admin-Google-Analytics.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/28.-Admin-Google-Analytics-300x164.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/28.-Admin-Google-Analytics-110x60.jpg 110w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Next, go to tracking info and select the tracking code. It will show you all the tracking details.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"335\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/29.-tracking-code.jpg\" alt=\"Google Analytics tracking code\" class=\"wp-image-28361\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/29.-tracking-code.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/29.-tracking-code-300x138.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/29.-tracking-code-131x60.jpg 131w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Copy the tracking code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"291\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/30.tracking-id.jpg\" alt=\"Google Analytics tracking id\" class=\"wp-image-28362\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/30.tracking-id.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/30.tracking-id-300x120.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/30.tracking-id-151x60.jpg 151w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Add_tracking_code_to_the_headerphp_file\"><\/span><strong>Step 2: Add tracking code to the header.php file<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Login to your wordpress dashboard, go to Appearance and select the Theme Editor option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"849\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/31.theme-editor.jpg\" alt=\"select the Theme Editor option\" class=\"wp-image-28363\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/31.theme-editor.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/31.theme-editor-258x300.jpg 258w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/31.theme-editor-52x60.jpg 52w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Go to the Theme Header (header.php) file on the right side. A code editor will appear in the middle of your screen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"531\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/32.header-php.jpg\" alt=\"\" class=\"wp-image-28364\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/32.header-php.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/32.header-php-300x218.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/32.header-php-82x60.jpg 82w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Search for a closing tag (&lt;\/head&gt;) in the code with Ctrl+F.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"459\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/33.head_.jpg\" alt=\"\" class=\"wp-image-28365\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/33.head_.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/33.head_-300x189.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/33.head_-95x60.jpg 95w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>Paste the copied tracking code from your Analytics before the closing &lt;\/head&gt; tag. Select the Update File to save your changes.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"492\" src=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/34.update.jpg\" alt=\"Select the Update File to save your changes.\" class=\"wp-image-28366\" srcset=\"https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/34.update.jpg 730w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/34.update-300x202.jpg 300w, https:\/\/rarathemes.com\/blog\/wp-content\/uploads\/2020\/11\/34.update-89x60.jpg 89w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure><\/div>\n\n\n\n<p>Now you have successfully added Google Analytics to your WordPress site without a plugin.&nbsp;<\/p>\n\n\n\n<p>You won\u2019t see traffic reports immediately. It takes anywhere from 24 to 48 hours for Google Analytics to accumulate new data.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Viewing_reports_on_Google_Analytics\"><\/span>Viewing reports on Google Analytics&nbsp;<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After adding Google Analytics to WordPress, you can now sort through the reports.<\/p>\n\n\n\n<p>If you used plugins like MonsterInsights, you could easily find the WordPress analytics data on the left-hand panel.<\/p>\n\n\n\n<p>With Analytics, you can access several reports which include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Audience tab:<\/strong> It shows data about your users like age group, gender, and more.<\/li><li><strong>Acquisition tab:<\/strong> It shows where your users are from, including countries, different social media platforms, and more.<\/li><li><strong>Behavior tab:<\/strong> It shows what the users do after they visit the site. It records bounce rates, engagement, and more.<\/li><li><strong>Conversion tab:<\/strong> It shows the success of your website as per your set goals.<\/li><\/ul>\n\n\n\n<p>If you get stuck on any metric, you can hover over the name to understand what they mean.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Google Analytics is an incredibly useful tool packed with impressive features at your disposal for free. Adding Analytics to your Wordpress will allow you to improve your website performance, monitor<a class=\"rank-math-link\" href=\"https:\/\/rarathemes.com\/blog\/increase-website-traffic-for-free\/\"> an increase in website traffic<\/a>, and reach your business goals.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Analytics in your WordPress site means serious business. That is why there are tons of WordPress sites integrated with it. As per WordPress statistics, around 19,500,000 websites on the &hellip; <\/p>\n","protected":false},"author":14,"featured_media":28719,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_be_single_description":"","_be_image_uploader":0,"_be_meta_button_label":"","_be_meta_button_url":"","_be_meta_button_newtab":false,"_be_meta_rel_attribute":"","footnotes":""},"categories":[5,15,3],"tags":[],"class_list":["post-28332","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-beginners","category-seo","category-tutorials","latest_post"],"_links":{"self":[{"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/posts\/28332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/comments?post=28332"}],"version-history":[{"count":0,"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/posts\/28332\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/media\/28719"}],"wp:attachment":[{"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/media?parent=28332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/categories?post=28332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rarathemes.com\/blog\/wp-json\/wp\/v2\/tags?post=28332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}