{"id":1185,"date":"2020-02-24T10:09:26","date_gmt":"2020-02-24T10:09:26","guid":{"rendered":"https:\/\/blog.infotheme.net\/?p=1185"},"modified":"2020-02-25T16:39:13","modified_gmt":"2020-02-25T16:39:13","slug":"google-analytics-install-on-wordpress-website-in-easy-way","status":"publish","type":"post","link":"https:\/\/infotheme.net\/blog\/google-analytics-install-on-wordpress-website-in-easy-way\/","title":{"rendered":"How to Install Google Analytics on WordPress Website in easy way"},"content":{"rendered":"\n<p>Lets learn how to install or integrate Google Analytics into your wordpress website : Once we create any WP blog or website, our primary objective is always getting huge traffic on our website. It doesn\u2019t matter whether we are running a simple blog or some kind of ecommerce website. To make our website popular or to increase our sale its very important to have regular visitors on our website.<\/p>\n\n\n\n<p>We use many marketing strategies to increase traffic on\nwebsite but the questions comes how to see report. How to find out whether we\nare getting results or not. Few general questions are:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><strong>I want to know how many visitors are visiting your website?<\/strong><\/p><p><strong>I want to know from which country or region you are getting most of the visitors?<\/strong><\/p><p><strong>I want to know which post\/article or page is mostly viewed by your website visitors?<\/strong><\/p><p><strong>I want to know that I am getting more visitors from mobile devices or desktop\/latop?<\/strong><\/p><\/blockquote>\n\n\n\n<p>We have single solution for above all questions. Use Google Analytics\non your website to know about your website audience or visitors.<\/p>\n\n\n\n<p>In this article, we will guide you how you can install\nGoogle Analytics on your website.<\/p>\n\n\n\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#WHAT_IS_GOOGLE_ANALYTICS\"><span class=\"toc_number toc_depth_1\">1<\/span> WHAT IS GOOGLE ANALYTICS?<\/a><ul><li><a href=\"#How_does_Google_Anlytics_work\"><span class=\"toc_number toc_depth_2\">1.1<\/span> How does Google Anlytics work?<\/a><\/li><li><a href=\"#Is_Google_Analytics_free_to_use\"><span class=\"toc_number toc_depth_2\">1.2<\/span> Is Google Analytics free to use?<\/a><\/li><li><a href=\"#Importance_of_Google_Analytics\"><span class=\"toc_number toc_depth_2\">1.3<\/span> Importance of Google\nAnalytics.<\/a><\/li><li><a href=\"#Which_users_visit_your_website\"><span class=\"toc_number toc_depth_2\">1.4<\/span> Which users visit your\nwebsite?<\/a><\/li><li><a href=\"#What_time_people_visit_your_website\"><span class=\"toc_number toc_depth_2\">1.5<\/span> What time people visit your website?<\/a><\/li><li><a href=\"#How_do_people_find_your_website\"><span class=\"toc_number toc_depth_2\">1.6<\/span> How do people find your website?<\/a><\/li><li><a href=\"#What_people_do_with_your_website_content\"><span class=\"toc_number toc_depth_2\">1.7<\/span> What people do with your website content?<\/a><\/li><li><a href=\"#How_to_create_account_on_Google_Analytics\"><span class=\"toc_number toc_depth_2\">1.8<\/span> How to create account on Google Analytics<\/a><\/li><\/ul><\/li><li><a href=\"#HOW_TO_INSTALL_GOOGLE_ANALYTIC_CODE_ON_YOUR_WP_WEBSITE\"><span class=\"toc_number toc_depth_1\">2<\/span> HOW TO\nINSTALL GOOGLE ANALYTIC CODE ON YOUR WP WEBSITE<\/a><ul><li><a href=\"#Install_Google_Analytics_on_WP_website_using_WP_plugins\"><span class=\"toc_number toc_depth_2\">2.1<\/span> Install Google Analytics on WP website using WP plugins:<\/a><ul><li><a href=\"#Header_Footer_WP_plugin\"><span class=\"toc_number toc_depth_3\">2.1.1<\/span> Header Footer WP plugin<\/a><\/li><li><a href=\"#Google_Analytics_Dashboard_Plugin_for_WordPress_by_MonsterInsights\"><span class=\"toc_number toc_depth_3\">2.1.2<\/span> Google Analytics Dashboard Plugin for WordPress by MonsterInsights<\/a><\/li><\/ul><\/li><li><a href=\"#Add_Google_analytic_code_on_your_website_on_headerphp_manually\"><span class=\"toc_number toc_depth_2\">2.2<\/span> Add Google analytic code on your website on header.php manually.<\/a><\/li><\/ul><\/li><li><a href=\"#VIEWING_REPORTS_ON_GOOGLE_ANALYICS_ACCOUNT\"><span class=\"toc_number toc_depth_1\">3<\/span> VIEWING REPORTS ON GOOGLE ANALYICS ACCOUNT<\/a><\/li><li><a href=\"#FINAL_THOUGHTS\"><span class=\"toc_number toc_depth_1\">4<\/span> FINAL THOUGHTS<\/a><\/li><\/ul><\/div>\n<h2><span id=\"WHAT_IS_GOOGLE_ANALYTICS\">WHAT IS GOOGLE ANALYTICS?<\/span><\/h2>\n\n\n\n<p>Google Analytics is a Google web analytics services which\ntracks and reports about your website traffic, it lets you know how many\nvisitors are visiting your website day\/weekly\/monthly\/yearly etc.<\/p>\n\n\n\n<p>This platform is currently inside the Google Marketing\nPlatform brand. <em><strong>Google Analytics<\/strong><\/em>&nbsp;lets you\nmeasure your advertising ROI as well as track your Flash, video, and social\nnetworking sites and applications.<\/p>\n\n\n\n<h3><span id=\"How_does_Google_Anlytics_work\">How does Google Anlytics work?<\/span><\/h3>\n\n\n\n<p><strong>Google Analytics works<\/strong>&nbsp;by the inclusion of a block of JavaScript code on pages\nin your website. When users to your website view a page, this JavaScript code\nreferences a JavaScript file which then executes the tracking operation for&nbsp;<strong>Analytics<\/strong>.<\/p>\n\n\n\n<h3><span id=\"Is_Google_Analytics_free_to_use\">Is Google Analytics free to use?<\/span><\/h3>\n\n\n\n<p>It\u2019s\nfree:) <\/p>\n\n\n\n<p>You\nshould just open account and copy\/paste Universal Analytics code to your\nwebsite and start tracking.<\/p>\n\n\n\n<h3><span id=\"Importance_of_Google_Analytics\"><strong><em>Importance of Google\nAnalytics.<\/em><\/strong><\/span><\/h3>\n\n\n\n<p>If you have\na website or blog, your number #1 goal will be to get traffic on your website.\nIt simply means the number of visitors on your website. Google Analytic shows\nyour stats of your website with detail reporting about your visitors, their\nlocation, the most popular content on your website etc. <\/p>\n\n\n\n<h3><span id=\"Which_users_visit_your_website\"><strong>Which users visit your\nwebsite?<\/strong><\/span><\/h3>\n\n\n\n<p>Google analytics shares with you your visitors locate. You can\nsee from which country and location are you are getting visitors on your\nwebsite. You can also see what browser they are using to visit your website.\nYou can get some addition information like what resolution your visitors, do\ntheir browser support javascript, flash support, languages etc.<\/p>\n\n\n\n<p>You can use this information to understand your visitors\nneeds and you can make your website to fulfil these requirements. In this way,\nyou can reduce the bounce rate of your website visitors.<\/p>\n\n\n\n<h3><span id=\"What_time_people_visit_your_website\">What time people visit your website?<\/span><\/h3>\n\n\n\n<p>Google Analytics reports also let you understand what is the\nprime time when users visit your website and from location as well. By this\nthis information, you can select a time to post article or update information\non your website.<\/p>\n\n\n\n<h3><span id=\"How_do_people_find_your_website\"><strong>Ho<\/strong>w do people find your website?<\/span><\/h3>\n\n\n\n<p>This information will help you to under from which sources\nyou are getting most of these visitors. For example: you can get visitors from\nsearch engines, direct links, referral links, or direct visiting your website, social\nmedia sites like: Facebook, twitter, Instagram etc. <\/p>\n\n\n\n<p>It will help you to understand your marketing strategic\nresults. You can manage or update your website promotion campaign as per these\nresults.<\/p>\n\n\n\n<h3><span id=\"What_people_do_with_your_website_content\">What people do with your website content?<\/span><\/h3>\n\n\n\n<p>You can track your website visitor\u2019s activity. You can see\nwhich pages\/posts of your websites getting viewed more. In this way you can\nunderstand the interest of your website visitors and you can manage update your\nwebsite content as per your visitors interest.<\/p>\n\n\n\n<h3><span id=\"How_to_create_account_on_Google_Analytics\">How to <strong>create account on Google A<\/strong>nalytics<\/span><\/h3>\n\n\n\n<p>To install\nGoogle Analytic on your website first you to need to have an Google Analytic\naccount.<\/p>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;First you need to visit&nbsp;<a rel=\"noreferrer noopener nofollow\" href=\"https:\/\/analytics.google.com\/\" target=\"_blank\">Google Analytics<\/a>&nbsp;sign up.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"550\" height=\"299\" src=\"https:\/\/blog.infotheme.net\/wp-content\/uploads\/2020\/02\/Google-Account-SignIn-1.png\" alt=\"Google-Account-SignIn-1\" class=\"wp-image-1197\" srcset=\"https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Account-SignIn-1.png 550w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Account-SignIn-1-300x163.png 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/figure><\/div>\n\n\n\n<p>It will ask you to login using of your google\naccount. If you already have a google or gmail account use that information to\nlogin otherwise create a google account first and then login to \u201cGoogle\nAnalytic\u201d account.<\/p>\n\n\n\n<p><strong>Step 2: <\/strong>Once you sign in using your google account. You will see a welcome screen for \u201cGoogle Analytics\u201d page. Now, you are ready for Sign Up process.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"550\" height=\"307\" src=\"https:\/\/blog.infotheme.net\/wp-content\/uploads\/2020\/02\/Google-Analytics-setup2.jpg\" alt=\"Google-Analytics-setup2\" class=\"wp-image-1198\" srcset=\"https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Analytics-setup2.jpg 550w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Analytics-setup2-300x167.jpg 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/figure><\/div>\n\n\n\n<p>After that, you will be asked to provide an\naccount name. This name will be used internally so you can use anything like\nyour business name.<\/p>\n\n\n\n<p><strong>Step 3:<\/strong>&nbsp;On the next screen, you will be given choice to choose between a website or mobile app. Make sure you select website.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"550\" height=\"307\" src=\"https:\/\/blog.infotheme.net\/wp-content\/uploads\/2020\/02\/Google-Analytic_stetup3.jpg\" alt=\"Google-Analytic_stetup3\" class=\"wp-image-1199\" srcset=\"https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Analytic_stetup3.jpg 550w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Analytic_stetup3-300x167.jpg 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/figure><\/div>\n\n\n\n<p>After that, you need to enter website name,\nwebsite\u2019s URL, country, and the time zone. Now, you will be presented\nwith Google Analytics terms and service which you must agree to, so click on \u2018I\nAgree\u2019 button.<\/p>\n\n\n\n<p><strong>Step 4:<\/strong>&nbsp;Now you will be presented with your Google Analytics tracking code. You can copy this tracking code because you will need to enter it in your WordPress site depending on the method you use below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"550\" height=\"368\" src=\"https:\/\/blog.infotheme.net\/wp-content\/uploads\/2020\/02\/Google-Analytic_stetup4.jpg\" alt=\"Google-Analytic_stetup4\" class=\"wp-image-1200\" srcset=\"https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Analytic_stetup4.jpg 550w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Analytic_stetup4-300x201.jpg 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/figure><\/div>\n\n\n\n<h2><span id=\"HOW_TO_INSTALL_GOOGLE_ANALYTIC_CODE_ON_YOUR_WP_WEBSITE\">HOW TO\nINSTALL GOOGLE ANALYTIC CODE ON YOUR WP WEBSITE<\/span><\/h2>\n\n\n\n<p>I am trying\nto make this article as simple as possible. There so so many ways to install\nGoogle Analytic code on your WP website but I will not confuse you by sharing\nso many methods with you.<\/p>\n\n\n\n<p>I will share\nonly few simple methods with you.<\/p>\n\n\n\n<ul><li>Using\nWP free plugins<\/li><li>Using\nManual method (Putting code inside header.php)<\/li><\/ul>\n\n\n\n<h3><span id=\"Install_Google_Analytics_on_WP_website_using_WP_plugins\"><strong>Install Google Analytics on WP website using WP plugins:<\/strong><\/span><\/h3>\n\n\n\n<h4><span id=\"Header_Footer_WP_plugin\"><strong>He<\/strong>ader Footer WP plugin<\/span><\/h4>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"550\" height=\"345\" src=\"https:\/\/blog.infotheme.net\/wp-content\/uploads\/2020\/02\/header-footer-plugin.png\" alt=\"header-footer-plugin\" class=\"wp-image-1191\" srcset=\"https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/header-footer-plugin.png 550w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/header-footer-plugin-300x188.png 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/figure><\/div>\n\n\n\n<ul><li>Install and activate the&nbsp;<a href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" aria-label=\" (opens in a new tab)\">Insert Headers and Footers<\/a>&nbsp;plugin.<\/li><li>visit&nbsp;<strong>Settings \u00bb Insert Headers and Footers<\/strong>&nbsp;page<\/li><li>Paste the Google Analytics code that you copied in step 4 into the headers section.<\/li><li>Save changes and you are done!<\/li><\/ul>\n\n\n\n<h4><span id=\"Google_Analytics_Dashboard_Plugin_for_WordPress_by_MonsterInsights\">Google Analytics Dashboard Plugin for WordPress by MonsterInsights<\/span><\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"772\" height=\"250\" src=\"https:\/\/blog.infotheme.net\/wp-content\/uploads\/2020\/02\/Google-Analytics-plugin-for-wp-by-monsterInsights.png\" alt=\"Google-Analytics-plugin-for-wp-by-monsterInsights\" class=\"wp-image-1192\" srcset=\"https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Analytics-plugin-for-wp-by-monsterInsights.png 772w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Analytics-plugin-for-wp-by-monsterInsights-300x97.png 300w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google-Analytics-plugin-for-wp-by-monsterInsights-768x249.png 768w\" sizes=\"(max-width: 772px) 100vw, 772px\" \/><\/figure>\n\n\n\n<ul><li>Install and activate \u201c<a href=\"https:\/\/wordpress.org\/plugins\/google-analytics-for-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" aria-label=\" (opens in a new tab)\">Google Analytics Plugin for wordpress<\/a>\u201d by MonsterInsights<\/li><li>Once you install this plugin, it will add a new menu item labeled \u2018Insights\u2019 to your WordPress admin menu. Clicking on it will bring the MonsterInsights setup wizard.<\/li><li>Just follow the step by step instructions to connect it with your Google Analytics account.<\/li><li>It will ask your permission to \u201callow\u201d you to connect your Google Analytic account with your website. Just allow it and you are done!<\/li><\/ul>\n\n\n\n<h3><span id=\"Add_Google_analytic_code_on_your_website_on_headerphp_manually\"><strong><br><\/strong>Add Google analytic code on your website on header.php manually.<\/span><\/h3>\n\n\n\n<p>If you don\u2019t want to install any extra plugin on your WP\nwebsite and just want to add this code every page of your website. You can do\nit by adding manually on your theme file named header.php<\/p>\n\n\n\n<p>To do this you can either do it using WP admin panel using:<\/p>\n\n\n\n<ul><li>Login to your WP website admin panel<\/li><li>Click \u201cAppearance &gt; editor\u201d, Now you will be\nable to see your theme files.<\/li><li>Click on \u201cheader.php\u201d file and paste your \u201cGoogle\nAnalytic\u201d code just before the &lt;\/body&gt; tag<\/li><li>That\u2019s it.<\/li><\/ul>\n\n\n\n<p>You can also use FTP login details to access your website\ntheme files as well or cpanel details J<\/p>\n\n\n\n<p>It\u2019s all up to you.<\/p>\n\n\n\n<h2><span id=\"VIEWING_REPORTS_ON_GOOGLE_ANALYICS_ACCOUNT\">VIEWING REPORTS ON GOOGLE ANALYICS ACCOUNT<\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"511\" src=\"https:\/\/blog.infotheme.net\/wp-content\/uploads\/2020\/02\/Google_analytics_reports-1024x511.jpg\" alt=\"Google_analytics_reports\" class=\"wp-image-1190\" srcset=\"https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google_analytics_reports-1024x511.jpg 1024w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google_analytics_reports-300x150.jpg 300w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google_analytics_reports-768x383.jpg 768w, https:\/\/infotheme.net\/blog\/wp-content\/uploads\/2020\/02\/Google_analytics_reports.jpg 1146w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Google\nAnalytics reports will show you details information about your website visitors\nand some of the import are :<\/p>\n\n\n\n<p><strong>Real Time:<\/strong> It will show you real time traffic\nof your website.<\/p>\n\n\n\n<p><strong>Audience:<\/strong> This tab will show you information\nabout your website visitors<\/p>\n\n\n\n<p><strong>Acquisition:<\/strong> It will share location of your\nwebsite visitors<\/p>\n\n\n\n<p><strong>Behaviour:<\/strong> This report will show what your\nvisitors do normally once they visit your website.<\/p>\n\n\n\n<p><strong>Conversion:<\/strong> This report will show you how you\nare performing with your website goals.<\/p>\n\n\n\n<h2><span id=\"FINAL_THOUGHTS\">FINAL THOUGHTS<\/span><\/h2>\n\n\n\n<p>It is very\nimportant to have an eye on your website results and Google Analytics helps you\nto do this. Almost every smart website owner add Google Analytics on their\nwebsite so that they can track their website traffic and by reviewing reports\nin details they can make necessary changes on their website.<\/p>\n\n\n\n<p>It\u2019s very\nimportant to make changes\/modifications on your website as per your website\naudience interest. <br>\nI hope this article will help you to add Google Analytics on your WP website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lets learn how to install or integrate Google Analytics into your wordpress website : Once we create any WP blog or website, our primary objective [&hellip;] <span class=\"read-more-link\"><a class=\"read-more\" href=\"https:\/\/infotheme.net\/blog\/google-analytics-install-on-wordpress-website-in-easy-way\/\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":1186,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[277,75,278],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/posts\/1185"}],"collection":[{"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/comments?post=1185"}],"version-history":[{"count":11,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/posts\/1185\/revisions"}],"predecessor-version":[{"id":1214,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/posts\/1185\/revisions\/1214"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/media\/1186"}],"wp:attachment":[{"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/media?parent=1185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/categories?post=1185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/tags?post=1185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}