{"id":3774,"date":"2017-07-17T08:57:11","date_gmt":"2017-07-17T08:57:11","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=3774"},"modified":"2022-02-03T07:27:09","modified_gmt":"2022-02-03T07:27:09","slug":"add-google-analytics-code-website","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/","title":{"rendered":"How To Add Google Analytics Code To Your Website?"},"content":{"rendered":"<p>Google Analytics is a great analytical system that helps you to understand the traffic coming to your website for making better and timely decisions. If you study the Google Analytics data on a regular basis, you will be in a better position to create effective online marketing campaigns. For Google Analytics to work on your website, you will have to add the Google Analytics tracking code to your website.<!--more--><\/p>\n<p>Before we get started, you will need a Google Analytics account first. If you have one, well and good, if you don\u2019t, you can sign up for Google Analytics here &#8211; <strong><a href=\"https:\/\/www.google.co.in\/analytics\/\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/www.google.co.in\/analytics\/<\/a><\/strong><\/p>\n<p><strong>Here are the important steps for adding Google Analytics code to your website:<\/strong><\/p>\n<ul>\n<li>Login to your Google Analytics account<\/li>\n<li>Click on the \u2018Admin\u2019 option<\/li>\n<li>Select the account that you would like to track<\/li>\n<li>Below the \u2018Properties\u2019 option, click on \u2018Tracking info\u2019 and then on \u2018Tracking code\u2019<\/li>\n<\/ul>\n<p><strong>Your Google Analytics tracking ID will now be displayed.<\/strong><\/p>\n<p><strong>How to add Google Analytics tracking ID to your website?<\/strong><\/p>\n<p><strong>Click on the main menu icon \u2018Site\u2019<\/strong><\/p>\n<p><strong>Go to \u2018Site settings\u2019<\/strong><\/p>\n<p><strong>You will find the option \u2018Analytics\u2019, click on that<\/strong><\/p>\n<p><strong>A page will be displayed where you can add the tracking code, add the Google Analytics code here<\/strong><\/p>\n<p><strong>Save the changes<\/strong><\/p>\n<p><strong>Adding The Tracking Script:<\/strong><\/p>\n<p>You also have the option of adding your own tracking script for incorporating Google Analytics code in your website. This process is quite similar to the process of getting the Google Analytics tracking ID.<br \/>\nHere\u2019s how you can find the Google Analytics Tracking Script:<\/p>\n<ul>\n<li>Login to your Google Analytics account<\/li>\n<li>Go to the \u2018Admin\u2019 option<\/li>\n<li>Select the account that you would like to track<\/li>\n<li>Below the \u2018Properties\u2019 option, click on \u2018Tracking info\u2019, and then on \u2018Tracking code\u2019<\/li>\n<li>You will be able to see the \u2018Tracking script\u2019 under the option \u2018Website tracking\u2019<\/li>\n<\/ul>\n<p>You can incorporate this script in your website code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Analytics is a great analytical system that helps you to understand the traffic coming to your website for making better and timely decisions. If you study the Google Analytics data on a regular basis, you will be in a better position to create effective online marketing campaigns. For Google Analytics to work on your [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[164,313,314,315,316,55],"class_list":["post-3774","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","tag-blog","tag-google","tag-google-analytics","tag-google-analytics-tracking","tag-google-analytics-tracking-code","tag-website"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Add Google Analytics Code To Your Website?<\/title>\n<meta name=\"description\" content=\"This article features information on adding Google Analytics code to your website. Adding the tracking code helps you to track website traffic.\" \/>\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.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Add Google Analytics Code To Your Website?\" \/>\n<meta property=\"og:description\" content=\"This article features information on adding Google Analytics code to your website. Adding the tracking code helps you to track website traffic.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-17T08:57:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T07:27:09+00:00\" \/>\n<meta name=\"author\" content=\"Ujwala\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ujwala\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/\",\"name\":\"How To Add Google Analytics Code To Your Website?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2017-07-17T08:57:11+00:00\",\"dateModified\":\"2022-02-03T07:27:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\"},\"description\":\"This article features information on adding Google Analytics code to your website. Adding the tracking code helps you to track website traffic.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Add Google Analytics Code To Your Website?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\",\"name\":\"Ujwala\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g\",\"caption\":\"Ujwala\"},\"description\":\"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/ujwala\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Add Google Analytics Code To Your Website?","description":"This article features information on adding Google Analytics code to your website. Adding the tracking code helps you to track website traffic.","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.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/","og_locale":"en_GB","og_type":"article","og_title":"How To Add Google Analytics Code To Your Website?","og_description":"This article features information on adding Google Analytics code to your website. Adding the tracking code helps you to track website traffic.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2017-07-17T08:57:11+00:00","article_modified_time":"2022-02-03T07:27:09+00:00","author":"Ujwala","twitter_misc":{"Written by":"Ujwala","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/","name":"How To Add Google Analytics Code To Your Website?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2017-07-17T08:57:11+00:00","dateModified":"2022-02-03T07:27:09+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8"},"description":"This article features information on adding Google Analytics code to your website. Adding the tracking code helps you to track website traffic.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-google-analytics-code-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How To Add Google Analytics Code To Your Website?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8","name":"Ujwala","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g","caption":"Ujwala"},"description":"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/ujwala\/"}]}},"views":1789,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/3774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=3774"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/3774\/revisions"}],"predecessor-version":[{"id":13069,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/3774\/revisions\/13069"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=3774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=3774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=3774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}