{"id":254,"date":"2016-05-02T12:12:50","date_gmt":"2016-05-02T12:12:50","guid":{"rendered":"http:\/\/www.copahost.com\/blog\/?p=254"},"modified":"2020-05-31T14:25:26","modified_gmt":"2020-05-31T14:25:26","slug":"configure-google-analytics-wordpress","status":"publish","type":"post","link":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/","title":{"rendered":"How to configure Google Analytics in WordPress"},"content":{"rendered":"<p>In this tutorial we will show how to configure\u00a0Google Analytics in WordPress. It assumes you already have a Google Analytics account, and have already created your domain on it. The Analytics account creation is a very simple process.<\/p>\n<p>Analytics is 100% compatible with WordPress, and can be simply added in your theme footer, as we will show. Insert the Google Analytics in WordPress is a simple process, and should take you less than 5 minutes.<\/p>\n<h3>Obtaining\u00a0the html code to configure Google Analytics in WordPress<\/h3>\n<p>First of all, you have to login into\u00a0<a href=\"https:\/\/analytics.google.com\/analytics\/\">Google Analytics<\/a> .<\/p>\n<p>Then, click in\u00a0the option <strong>Admin<\/strong> in the top menu.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-258\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-4.jpg\" alt=\"configure analytics wordpress 4\" width=\"700\" height=\"162\" \/><\/p>\n<p>Now, under the <strong>Property tab<\/strong>, find your <a href=\"https:\/\/www.copahost.com\/blog\/what-is-a-domain-name\/\" >domain name<\/a>.<\/p>\n<p>Then, click in <strong>Tracking info<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-259\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-5.jpg\" alt=\"configure analytics wordpress 5\" width=\"700\" height=\"325\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now, you must click in <strong>Tracking Code<\/strong>, right under Tracking Info.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-260 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-6.jpg\" alt=\"configure analytics wordpress 6\" width=\"415\" height=\"253\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now you will see the<strong>\u00a0analytics tracking code<\/strong> (javascript). The correct tag begins with &lt;script&gt; and ends in &lt;\/script&gt;.<\/p>\n<p>You must copy and keep this code. It will be pasted in your WordPress blog soon.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-261\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-7.jpg\" alt=\"get the google analytics html code\" width=\"700\" height=\"444\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Access your blog to add the google analytics code<\/h3>\n<p>Now, access your blog wp-admin at<strong> http:\/\/yourdomain.com\/blog\/wp-admin<\/strong> (or wherever it is), and enter your login and password.<\/p>\n<p>Then, look for the option <strong>Customize<\/strong>, in the left menu. This option is located inside the Appearance tab.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-257 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress.jpg\" alt=\"customize wp theme to insert google analytics\" width=\"326\" height=\"536\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now look for the option called <strong>Footer<\/strong>. In this option, we will edit our blog theme footer.<\/p>\n<p>Please note that the names may vary according to the <a href=\"https:\/\/www.copahost.com\/blog\/install-wordpress-theme\/\" >WordPress theme we have installed<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-255\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-2.jpg\" alt=\"configure analytics wordpress 2\" width=\"547\" height=\"609\" \/><\/p>\n<p>Now inside the Footer, \u00a0we should simply copy and paste the Google Analytics code. Then, just click<strong> Save &amp; Publish<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-256 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg\" alt=\"configure analytics wordpress 3\" width=\"481\" height=\"571\" \/><\/p>\n<h3>Video tutorial showing another method for adding Google Analytics in WordPress<\/h3>\n<p><iframe title=\"How to add google analytics to WordPress\" width=\"800\" height=\"600\" src=\"https:\/\/www.youtube.com\/embed\/FEDwB3arbP0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h3><\/h3>\n<h3><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial we will show how to configure\u00a0Google Analytics in WordPress. It assumes you already have a Google Analytics account, and have already created your domain on it. The Analytics account creation is a very simple process. Analytics is 100% compatible with WordPress, and can be simply added in your theme footer, as we [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":256,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60],"tags":[82,61],"class_list":["post-254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-google-analytics","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to configure Google Analytics in Wordpress - Copahost<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure Google Analytics in Wordpress - Copahost\" \/>\n<meta property=\"og:description\" content=\"In this tutorial we will show how to configure\u00a0Google Analytics in WordPress. It assumes you already have a Google Analytics account, and have already created your domain on it. The Analytics account creation is a very simple process. Analytics is 100% compatible with WordPress, and can be simply added in your theme footer, as we [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Copahost\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-02T12:12:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-31T14:25:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"481\" \/>\n\t<meta property=\"og:image:height\" content=\"571\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Gustavo Gallas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gustavo Gallas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/\"},\"author\":{\"name\":\"Gustavo Gallas\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246\"},\"headline\":\"How to configure Google Analytics in WordPress\",\"datePublished\":\"2016-05-02T12:12:50+00:00\",\"dateModified\":\"2020-05-31T14:25:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/\"},\"wordCount\":295,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg\",\"keywords\":[\"google analytics\",\"wordpress\"],\"articleSection\":[\"Wordpress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/\",\"name\":\"How to configure Google Analytics in Wordpress - Copahost\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg\",\"datePublished\":\"2016-05-02T12:12:50+00:00\",\"dateModified\":\"2020-05-31T14:25:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#primaryimage\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg\",\"width\":481,\"height\":571},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.copahost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure Google Analytics in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"name\":\"Copahost\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.copahost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\",\"name\":\"Copahost\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"width\":223,\"height\":40,\"caption\":\"Copahost\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246\",\"name\":\"Gustavo Gallas\",\"description\":\"Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development\u200b. Also have brewing skills.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/gustavo-gallas-107926196\/\"],\"url\":\"https:\/\/www.copahost.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to configure Google Analytics in Wordpress - Copahost","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:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to configure Google Analytics in Wordpress - Copahost","og_description":"In this tutorial we will show how to configure\u00a0Google Analytics in WordPress. It assumes you already have a Google Analytics account, and have already created your domain on it. The Analytics account creation is a very simple process. Analytics is 100% compatible with WordPress, and can be simply added in your theme footer, as we [&hellip;]","og_url":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/","og_site_name":"Copahost","article_published_time":"2016-05-02T12:12:50+00:00","article_modified_time":"2020-05-31T14:25:26+00:00","og_image":[{"width":481,"height":571,"url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg","type":"image\/jpeg"}],"author":"Gustavo Gallas","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Gustavo Gallas","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/"},"author":{"name":"Gustavo Gallas","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246"},"headline":"How to configure Google Analytics in WordPress","datePublished":"2016-05-02T12:12:50+00:00","dateModified":"2020-05-31T14:25:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/"},"wordCount":295,"commentCount":0,"publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg","keywords":["google analytics","wordpress"],"articleSection":["Wordpress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/","url":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/","name":"How to configure Google Analytics in Wordpress - Copahost","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg","datePublished":"2016-05-02T12:12:50+00:00","dateModified":"2020-05-31T14:25:26+00:00","breadcrumb":{"@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#primaryimage","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/05\/configure-analytics-wordpress-3.jpg","width":481,"height":571},{"@type":"BreadcrumbList","@id":"https:\/\/www.copahost.com\/blog\/configure-google-analytics-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.copahost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to configure Google Analytics in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/www.copahost.com\/blog\/#website","url":"https:\/\/www.copahost.com\/blog\/","name":"Copahost","description":"","publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.copahost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.copahost.com\/blog\/#organization","name":"Copahost","url":"https:\/\/www.copahost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","width":223,"height":40,"caption":"Copahost"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246","name":"Gustavo Gallas","description":"Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development\u200b. Also have brewing skills.","sameAs":["https:\/\/www.linkedin.com\/in\/gustavo-gallas-107926196\/"],"url":"https:\/\/www.copahost.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/comments?post=254"}],"version-history":[{"count":4,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/254\/revisions"}],"predecessor-version":[{"id":2568,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/254\/revisions\/2568"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/media\/256"}],"wp:attachment":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/media?parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/categories?post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/tags?post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}