{"id":1355,"date":"2019-03-13T11:51:05","date_gmt":"2019-03-13T06:21:05","guid":{"rendered":"https:\/\/www.coimbatorewebhosting.com\/blog\/?p=1355"},"modified":"2019-04-09T10:37:51","modified_gmt":"2019-04-09T05:07:51","slug":"use-google-analytics-wordpress","status":"publish","type":"post","link":"https:\/\/coimbatorewebhosting.com\/blog\/use-google-analytics-wordpress\/","title":{"rendered":"How to use Google Analytics in wordpress"},"content":{"rendered":"<p>Here in this article you will know how to use Google Analytics with word press.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 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\" style=\"cursor:inherit\">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:\/\/coimbatorewebhosting.com\/blog\/use-google-analytics-wordpress\/#Introduction_to_Google_Analytics\" >Introduction to Google Analytics:<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/coimbatorewebhosting.com\/blog\/use-google-analytics-wordpress\/#Using_Google_Analytics_with_WordPress\" >Using Google Analytics with WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/coimbatorewebhosting.com\/blog\/use-google-analytics-wordpress\/#Step_1_By_using_wordpress_plugin\" >Step:1 By using wordpress plugin:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/coimbatorewebhosting.com\/blog\/use-google-analytics-wordpress\/#Step_2_Edit_your_word_press_theme\" >Step 2: Edit your word press theme.<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Introduction_to_Google_Analytics\"><\/span>Introduction to Google Analytics:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"ILfuVd NA6bn\">Google Analytics is one of the most popular digital analytics software. It is Google's free <a  href=\"https:\/\/www.coimbatorewebhosting.com\/blog\/understanding-about-content-management-systemcms\/\" title=\"web\" alt=\"web\">web<\/a> analytics service that allows you to analyze in-depth detail about the visitors on your website.<\/span><\/p>\n<p>It is the service offered by google that tracks and reports website traffic.<\/p>\n<p>It is Integrated with Google AdWords, users can now review online campaigns by tracking landing page quality and conversions (goals). Goals might include sales, lead generation, viewing a specific page, or downloading a particular file. Google Analytics' approach is to show high-level, dashboard-type data for the fast user, and more in-depth data further into the report set. Google Analytics analysis can identify poorly performing pages with techniques such as funnel visualization, where visitors came from (referrers), how long they stayed on the website and their geographical position.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1377\" src=\"https:\/\/www.coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2019\/03\/google-analytics.png\" alt=\"google analytics\" width=\"842\" height=\"346\" srcset=\"https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2019\/03\/google-analytics.png 842w, https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2019\/03\/google-analytics-300x123.png 300w, https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2019\/03\/google-analytics-768x316.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/p>\n<h4 id=\"Using-Google-Analytics-with-WordPress\"><span class=\"ez-toc-section\" id=\"Using_Google_Analytics_with_WordPress\"><\/span>Using Google Analytics with WordPress<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>To use Google Analytics with WordPress (or with any other <a  href=\"https:\/\/www.coimbatorewebhosting.com\/blog\/easy-way-to-choose-linux-or-windows-hosting\/\" title=\"type\" alt=\"type\">type<\/a> of site), you must first sign up for a Google Analytics account at <a href=\"http:\/\/www.google.com\/analytics\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/www.google.com\/analytics<\/a> and obtain a unique Tracking ID.<\/p>\n<p>Once you complete the\u00a0 signup process or set up a Google Analytics account and have the Tracking ID for your site, you can configure it for WordPress.You can do this in two ways,<\/p>\n<p>1.By using word press plugin.<\/p>\n<p>2.Edit your word press theme.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_By_using_wordpress_plugin\"><\/span>Step:1 By using wordpress plugin:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>There are several plugins are available that enable you to configure Google Analytics for a WordPress site.<\/p>\n<p>And they all function in essentially the same way\u2014all you have to do is specify your Tracking ID, and the plugin can do the rest of the things.<\/p>\n<p>Here are some popular Google Analytics plugins for WordPress:<\/p>\n<ul>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/google-analytics-for-wordpress\" rel=\"nofollow noopener\" target=\"_blank\">Google Analytics for WordPress<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/plugins\/google-analyticator\" rel=\"nofollow noopener\" target=\"_blank\">Google Analyticator<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/plugins\/googleanalytics\/\" rel=\"nofollow noopener\" target=\"_blank\">Google Analytics<\/a><\/li>\n<\/ul>\n<h4 id=\"Method-2.3A-Edit-the-theme\"><span class=\"ez-toc-section\" id=\"Step_2_Edit_your_word_press_theme\"><\/span>Step 2: Edit your word press theme.<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Plugins are convenient, but they also carry processing overhead with them that can affect site performance. If you prefer not to use a plugin, you can edit the WordPress theme directly to enable Google Analytics<\/p>\n<p>To enable Google Analytics by editing the theme, follow these steps:<\/p>\n<ol>\n<li>Log in to your Google Analytics account, click <span class=\"UI\">Admin<\/span>, click <span class=\"UI\">Tracking Info<\/span>, and then click <span class=\"UI\">Tracking Code<\/span>. Copy the entire text in the tracking code box, including the starting <strong>&lt;script&gt;<\/strong> tag and the ending <strong>&lt;\/script&gt;<\/strong> tag.<\/li>\n<li>Log in to WordPress as the administrator.<\/li>\n<li>Under <span class=\"UI\">Dashboard<\/span>, click <span class=\"UI\">Appearance<\/span>, and then click <span class=\"UI\">Editor<\/span>. The <span class=\"UI\">Edit Themes<\/span> page appears.<\/li>\n<li>Under <span class=\"UI\">Templates<\/span>, click <span class=\"UI\">Header (header.php)<\/span>.<\/li>\n<li>Locate the ending <strong>&lt;\/head&gt;<\/strong> tag. Just above the <strong>&lt;\/head&gt;<\/strong> tag, paste the Tracking ID code snippet from Google Analytics that you obtained in step 1.<\/li>\n<li>Click <span class=\"button\">Update File<\/span>. Google Analytics is now enabled for all pages on your <a href=\"https:\/\/www.coimbatorewebhosting.com\/blog\/how-to-install-wordpress-with-cpanel-in-simple-steps\/\">WordPress<\/a> site.<\/li>\n<\/ol>\n<p>For you knowledge- It can take up to 24 hours for\u00a0Google Analytics to change its status from <strong>Tracking Not Installed<\/strong> to <strong>Receiving Data<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here in this article you will know how to use Google Analytics with word press. Introduction to Google Analytics: Google Analytics is one of the most popular digital analytics software. It is Google&#8217;s free web analytics service that allows you to analyze in-depth detail about the visitors on your website. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1377,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[17,1],"tags":[146,24],"class_list":["post-1355","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general","category-latest","tag-google-analytics","tag-wordpress"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2019\/03\/google-analytics.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pa2YU7-lR","_links":{"self":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts\/1355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=1355"}],"version-history":[{"count":0,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts\/1355\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/media\/1377"}],"wp:attachment":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=1355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=1355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=1355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}