{"id":918,"date":"2022-01-25T16:12:06","date_gmt":"2022-01-25T10:42:06","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=918"},"modified":"2022-05-17T11:38:35","modified_gmt":"2022-05-17T06:08:35","slug":"how-to-install-google-analytics-in-wordpress","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/","title":{"rendered":"How to Install Google Analytics in WordPress"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">Do you want to know How to Install Google Analytics in WordPress?\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Google Analytics helps you know what the audience is looking for and what attracts them more through your traffic stats.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This tutorial will explain :\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">1. Google Analytics and its importance.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">2. How to sign up in google analytics.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">3. Ways to Install Google Analytics. ( different methods )<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">4. How to View Reports on Google Analytics Website.<\/span><\/p>\n<h4><span data-preserver-spaces=\"true\">Google Analytics and its importance<\/span><\/h4>\n<p><strong><span data-preserver-spaces=\"true\">Google Analytics<\/span><\/strong><span data-preserver-spaces=\"true\"> &#8211; It is a web analytics service offered by Google to track and report web traffic on your site.\u00a0<\/span><span data-preserver-spaces=\"true\">It helps you in the following ways.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">1. It helps you make data-based decisions by displaying the statics.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">2. It can tell the geographical location of your audience and which browser did it use to visit your site.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">3. It tracks where the users are going on your website, how long they stay, and the bounce rate.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">4. It can find the most popular articles on your site, the articles that are not performing well, and the type of content your users are looking for.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">5. It analyzes where the users come from, such as Direct Links, Search Engines, or Referral links from another site with the percentage of each.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">6. It shows which search engine got the most traffic on your site, such as Google, Bing, Yahoo, etc.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Here, we have listed how google analytics can help, but it provides much more than this.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">With the statics and data provided by google analytics, you can work on your content to perform best to gain more traffic to your site, engage users and lessen your bounce rate.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">How to Signup with Google Analytics<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Google Analytics is available for free. To sign up, you will need your google account only. Follow the instructions step by step to create your Google Analytics account.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Step 1:\u00a0<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0Visit\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/analytics.google.com\/\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">the Google Analytics<\/span><\/a><span data-preserver-spaces=\"true\">\u00a0site and sign up with your Google account.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-851\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-analytics-google-analytics-web-provision-2022-01-20-22_20_10-edit.jpg\" alt=\"\" width=\"770\" height=\"293\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-analytics-google-analytics-web-provision-2022-01-20-22_20_10-edit.jpg 1243w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-analytics-google-analytics-web-provision-2022-01-20-22_20_10-edit-300x114.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-analytics-google-analytics-web-provision-2022-01-20-22_20_10-edit-1024x389.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-analytics-google-analytics-web-provision-2022-01-20-22_20_10-edit-768x292.jpg 768w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" \/><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Step 2:<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0Then, enter an account name. Then tick the check box of google terms and services.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-873\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gasetup-2.jpg\" alt=\"\" width=\"550\" height=\"307\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gasetup-2.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gasetup-2-300x167.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span data-preserver-spaces=\"true\">Step 3:<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0After that, you have to choose one- a web, apps, or apps and web. Click on &#8216;Web.&#8217;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-853\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/chooseweb.png\" alt=\"\" width=\"550\" height=\"296\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/chooseweb.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/chooseweb-300x161.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Step 4:\u00a0<\/span><\/strong><span data-preserver-spaces=\"true\">Next, you have to enter your website name, URL, country, and time zone and click on the next option.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-854\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gasetup-4.jpg\" alt=\"\" width=\"550\" height=\"320\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gasetup-4.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gasetup-4-300x175.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Step 5:<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0After creating a google analytics account, it will provide you with a Google Analytics tracking code. You can copy and save the tracking code because you will need it later.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-855\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gasetup-5.jpg\" alt=\"\" width=\"550\" height=\"368\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gasetup-5.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gasetup-5-300x201.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After setting up a Google Analytics account, let&#8217;s move on to our next step, to install Google Analytics in WordPress.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">\u00a0Installing Google Analytics in WordPress<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">You can set up Google Analytics in WordPress in different ways.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">We are sharing three methods. You can select any one of them.<\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">Method 1. Google Analytics for WordPress by MonsterInsights<\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-856\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/monsterinsights-1.png\" alt=\"\" width=\"550\" height=\"240\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/monsterinsights-1.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/monsterinsights-1-300x131.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<h4><span data-preserver-spaces=\"true\">\u00a0<b>About the plugin<\/b><\/span><\/h4>\n<p><span data-preserver-spaces=\"true\">The best WordPress Analytics plugin trusted by over 3 million professionals to expand their business confidently.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">It is the simplest and easiest method to use. It makes it very easy to use Google Analytics to show details about your visitors.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This plugin is available in lite and pro versions. The\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/wordpress.org\/plugins\/google-analytics-for-wordpress\/\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">MonsterInsights Lite<\/span><\/a><span data-preserver-spaces=\"true\">\u00a0version is free to use. It will display your most important pages inside your WordPress dashboard. The\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/www.monsterinsights.com\/pricing\/\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">MonsterInsights Pro<\/span><\/a><span data-preserver-spaces=\"true\">\u00a0version includes premium integrations and advanced features like custom dimensions, WooCommerce tracking, email summaries, PDF exports, and more.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">We are using the\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/wordpress.org\/plugins\/google-analytics-for-wordpress\/\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">MonsterInsights Lite<\/span><\/a><span data-preserver-spaces=\"true\">, the free version, here. You can use anyone you want.<\/span><\/p>\n<h4>Install &amp; Activate the Plugin<\/h4>\n<p><span data-preserver-spaces=\"true\">To install and activate the free version of the plugin from your dashboard,<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Go to plugins &gt;&gt;Add New &gt;&gt; search MonsterInsights Lite &gt;&gt; Install &gt;&gt;Activate.<\/span><\/p>\n<h4>setting up the plugin<\/h4>\n<p><span data-preserver-spaces=\"true\">After activation, it will add up a new option to your WordPress admin menu named &#8216;Insights.&#8217;\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You will bring it to the MonsterInsights setup wizard when you click on it.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-857\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/misetup.png\" alt=\"\" width=\"550\" height=\"314\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/misetup.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/misetup-300x171.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now, select a category for your website (a business website, publisher blog, or an eCommerce ) and next click the &#8216;Save and Continue&#8217; option to move ahead.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, click the &#8216;Connect MonsterInsights&#8217; option.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-858\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/connectmi.png\" alt=\"\" width=\"550\" height=\"286\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/connectmi.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/connectmi-300x156.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After this, select the Google accounts you used to sign in to your google analytical account.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-859\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/signinga.png\" alt=\"\" width=\"550\" height=\"288\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/signinga.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/signinga-300x157.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Then, click the &#8216;Allow&#8217; button to allow MonsterInsights to access your Google Analytics account to continue.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-860\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/mipermission.png\" alt=\"\" width=\"550\" height=\"320\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/mipermission.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/mipermission-300x175.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Next, you must select the profile( your website) you want to track and click the &#8216;Complete Connection&#8217; tab.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-861\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/finishmisetup.png\" alt=\"\" width=\"550\" height=\"295\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/finishmisetup.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/finishmisetup-300x161.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now, the plugin will install Google Analytics on your website. After installation, you have to enter the details in the recommended settings.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Generally, the default settings work well for most websites.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Note-<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0If you use an affiliate link plugin on your site, add the path you use to cloak affiliate links. It will help you to track your affiliate links in Google Analytics.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-862\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/settingsmi.png\" alt=\"\" width=\"550\" height=\"319\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/settingsmi.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/settingsmi-300x174.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now, Click the Save and Continue option to save your settings.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">On the Next step, it will show you paid add-ons that you can access if you upgrade to PRO. Click the &#8216;Save and Continue&#8217; tab to skip the step.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-863\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/upgradetopro.png\" alt=\"\" width=\"550\" height=\"230\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/upgradetopro.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/upgradetopro-300x125.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After this, it will also ask you to install the WPForms plugin, which is the best WordPress contact form plugin. Move ahead and click on the &#8216;Skip this Step&#8217; tab.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-864\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/wpforms.png\" alt=\"\" width=\"550\" height=\"249\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/wpforms.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/wpforms-300x136.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">It&#8217;s Done! Now you have successfully installed and set up Google Analytics on your WordPress site. It will take some time to show your stats.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-865\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/finishsetup.png\" alt=\"\" width=\"550\" height=\"249\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/finishsetup.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/finishsetup-300x136.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now click the Finish setup and exit wizard button.<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">How to view your google analytical reports with MonsterInsights<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">The MonsterInsights lets you view your Google Analytics reports inside your WordPress dashboard.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You have to visit\u00a0<\/span><strong><span data-preserver-spaces=\"true\">the Insights \u00bb Reports<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0page to see a quick overview of your analytics data.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-866\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gareports.png\" alt=\"\" width=\"550\" height=\"349\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gareports.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gareports-300x190.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<h3><span data-preserver-spaces=\"true\">Method 2. Insert Headers and Footers Plugin<\/span><\/h3>\n<p><a class=\"editor-rtfLink\" href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers\/\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">Insert Headers and Footers<\/span><\/a><span data-preserver-spaces=\"true\">\u00a0&#8211; It is a simple plugin that allows you to insert code like Google Analytics, Facebook Pixel, custom CSS, and more to your WordPress site header and footer. You need not edit your theme files.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-867\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-Insert-Headers-and-Footers-2022-01-20-21_13_40-edit.jpg\" alt=\"\" width=\"862\" height=\"410\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-Insert-Headers-and-Footers-2022-01-20-21_13_40-edit.jpg 1287w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-Insert-Headers-and-Footers-2022-01-20-21_13_40-edit-300x143.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-Insert-Headers-and-Footers-2022-01-20-21_13_40-edit-1024x487.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-Insert-Headers-and-Footers-2022-01-20-21_13_40-edit-768x365.jpg 768w\" sizes=\"auto, (max-width: 862px) 100vw, 862px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">The plugin is not very good for google analytics as it does not provide advanced tracking options, and it does not display Analytics data in your WordPress dashboard.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">To use the plugin, you have to install and activate the plugin from your dashboard,<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Go to plugins &gt;&gt;Add New &gt;&gt; search MonsterInsights Lite &gt;&gt; Install &gt;&gt;Activate.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, copy your Google Analytics tracking code that you got earlier while signing up for your Google Analytics account.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-868\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/trackingcode.png\" alt=\"\" width=\"550\" height=\"366\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/trackingcode.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/trackingcode-300x200.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After that, navigate to\u00a0<\/span><strong><span data-preserver-spaces=\"true\">Settings \u00bb Insert Headers and Footers<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0page.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, paste the Google Analytics tracking code you copied into the &#8216;Scripts in headers&#8217; section.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-869\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/addingcodeinwp.png\" alt=\"\" width=\"550\" height=\"355\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/addingcodeinwp.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/addingcodeinwp-300x194.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Then, click the save changes tab to save your settings.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">It&#8217;s done! Google Analytics is successfully installed on your site. Now you can track web traffic on your site.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">3. Install Google Analytics in WordPress Theme<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">The method is for more advanced users who know to code. It is unpredictable because the code will disappear if you switch or update your theme. Therefore, less recommended.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Moving ahead, Copy your Google Analytics tracking code that you got earlier while signing up for your Google Analytics account.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-868\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/trackingcode.png\" alt=\"\" width=\"550\" height=\"366\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/trackingcode.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/trackingcode-300x200.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">There are two methods to add this code to your WordPress theme file. You have to use any one of them.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">1. Add in header.php file<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To add the code, edit the header.php file in your WordPress theme. Now, right after the &lt;body&gt; tag, paste the Google Analytics tracking code you copied earlier.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After that, save the changes and upload the file.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">2. Add via Functions File<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To add the tracking code to the WordPress functions file.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You have to add this code to your theme&#8217;s functions.php file.<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\">&lt;?php<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">add_action('wp_head', 'wpb_add_googleanalytics');<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">function wpb_add_googleanalytics() { ?&gt;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\/\/ Paste your Google Analytics tracking code here<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">&lt;?php } ?&gt;<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p><strong><span data-preserver-spaces=\"true\">Note- <\/span><\/strong>You have to add your tracking code to the above themes function.php file where Paste your Google Analytics tracking code here is written.<\/p>\n<h4><span data-preserver-spaces=\"true\">Viewing Reports on Google Analytics Website<\/span><\/h4>\n<p><span data-preserver-spaces=\"true\">Google Analytics is capable of showing you the data collected from your stats. You can see this data in your Google Analytics dashboard.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-870\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gareporting.png\" alt=\"\" width=\"550\" height=\"351\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gareporting.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/gareporting-300x191.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">In the left column, It contains the in-built Google Analytics reports.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">It is divided into different tabs, and clicking on a tab will display more options.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Real-time-<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0It shows your real-time traffic view.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Audience-<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0The reports help you understand your visitors.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Acquisition-<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0It explores where your users came from.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Behavior-<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0The reports summarize users&#8217; actions on your site.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Conversion-<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0It displays how good you&#8217;re doing against your goals.<\/span><\/p>\n<p><strong>To Conclude- <\/strong>We hope, this article helped you to install Google Analytics in WordPress. You have also learned what Google Analytics is, its importance, and how to sign up in google analytics.<\/p>\n<p>If you like this, you may also want to read<a href=\"https:\/\/hostkicker.com\/blog\/how-to-submit-your-wordpress-site-to-google-news\/\"> How to submit your WordPress site to Google News.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to know How to Install Google Analytics in WordPress?\u00a0 Google Analytics helps you know what the audience is looking for and what attracts them more through your traffic stats. This tutorial will explain :\u00a0 1. Google Analytics and its importance. 2. How to sign up in google analytics. 3. Ways to Install [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":922,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-918","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Google Analytics in WordPress - Hostkicker<\/title>\n<meta name=\"description\" content=\"To Install Google Analytics in WordPress, Visit\u00a0the Google Analytics\u00a0site and sign up with your Google account. Then, enter your website name &amp; URL.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Google Analytics in WordPress\" \/>\n<meta property=\"og:description\" content=\"To Install Google Analytics in WordPress, Visit\u00a0the Google Analytics\u00a0site and sign up with your Google account. Then, enter your website name &amp; URL.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-25T10:42:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-17T06:08:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/How-to-Install-Google-Analytics-in-WordPress.png\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install Google Analytics in WordPress\" \/>\n<meta name=\"twitter:description\" content=\"To Install Google Analytics in WordPress, Visit\u00a0the Google Analytics\u00a0site and sign up with your Google account. Then, enter your website name &amp; URL.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/How-to-Install-Google-Analytics-in-WordPress.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How to Install Google Analytics in WordPress\",\"datePublished\":\"2022-01-25T10:42:06+00:00\",\"dateModified\":\"2022-05-17T06:08:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/\"},\"wordCount\":1424,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/How-to-Install-Google-Analytics-in-WordPress.png\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/\",\"name\":\"How to Install Google Analytics in WordPress - Hostkicker\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/How-to-Install-Google-Analytics-in-WordPress.png\",\"datePublished\":\"2022-01-25T10:42:06+00:00\",\"dateModified\":\"2022-05-17T06:08:35+00:00\",\"description\":\"To Install Google Analytics in WordPress, Visit\u00a0the Google Analytics\u00a0site and sign up with your Google account. Then, enter your website name & URL.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/How-to-Install-Google-Analytics-in-WordPress.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/How-to-Install-Google-Analytics-in-WordPress.png\",\"width\":693,\"height\":511,\"caption\":\"How to Install Google Analytics in WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-install-google-analytics-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Google Analytics in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Google Analytics in WordPress - Hostkicker","description":"To Install Google Analytics in WordPress, Visit\u00a0the Google Analytics\u00a0site and sign up with your Google account. Then, enter your website name & URL.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Google Analytics in WordPress","og_description":"To Install Google Analytics in WordPress, Visit\u00a0the Google Analytics\u00a0site and sign up with your Google account. Then, enter your website name & URL.","og_url":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/","og_site_name":"Hostkicker","article_published_time":"2022-01-25T10:42:06+00:00","article_modified_time":"2022-05-17T06:08:35+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/How-to-Install-Google-Analytics-in-WordPress.png","type":"image\/png"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_title":"How to Install Google Analytics in WordPress","twitter_description":"To Install Google Analytics in WordPress, Visit\u00a0the Google Analytics\u00a0site and sign up with your Google account. Then, enter your website name & URL.","twitter_image":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/How-to-Install-Google-Analytics-in-WordPress.png","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How to Install Google Analytics in WordPress","datePublished":"2022-01-25T10:42:06+00:00","dateModified":"2022-05-17T06:08:35+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/"},"wordCount":1424,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/How-to-Install-Google-Analytics-in-WordPress.png","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/","url":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/","name":"How to Install Google Analytics in WordPress - Hostkicker","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/How-to-Install-Google-Analytics-in-WordPress.png","datePublished":"2022-01-25T10:42:06+00:00","dateModified":"2022-05-17T06:08:35+00:00","description":"To Install Google Analytics in WordPress, Visit\u00a0the Google Analytics\u00a0site and sign up with your Google account. Then, enter your website name & URL.","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/How-to-Install-Google-Analytics-in-WordPress.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/How-to-Install-Google-Analytics-in-WordPress.png","width":693,"height":511,"caption":"How to Install Google Analytics in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/how-to-install-google-analytics-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Google Analytics in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/How-to-Install-Google-Analytics-in-WordPress.png","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/918","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=918"}],"version-history":[{"count":1,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/918\/revisions"}],"predecessor-version":[{"id":919,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/918\/revisions\/919"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/922"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}