{"id":1147,"date":"2020-12-09T15:17:34","date_gmt":"2020-12-09T15:17:34","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2020\/12\/09\/4707793-how-to-set-up-google-analytics-at-hostinger\/"},"modified":"2025-10-30T14:10:48","modified_gmt":"2025-10-30T14:10:48","slug":"4707793-how-to-set-up-google-analytics-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4707793-how-to-set-up-google-analytics-at-hostinger\/","title":{"rendered":"How to Set Up Google Analytics at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">Google Analytics is a great analytical tool available to <b>track your website&rsquo;s activity<\/b> and your visitors. It&rsquo;s completely free and very easy to set up.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">1. Go to the <b><a href=\"https:\/\/analytics.google.com\/analytics\/web\/provision\/#\/provision\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Google Analytics page<\/a><\/b> and create an account:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/12\/5a6fa183-5ade-48c5-9de3-7248d62a005c.jpg\"><\/div><p class=\"no-margin\">2. Google will require basic information about your website or your business. Once you have finished the sign-up process, you will be redirected to your account. Click on <b>Data Streams <\/b>and choose your desired data stream, for this article we will use <b>Web<\/b>:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/12\/4ef30a75-bea2-4665-b609-1d38bc906c88.jpg\"><\/div><p class=\"no-margin\">&#8203;<\/p><p class=\"no-margin\">3. Fill in all the necessary fields and click on <b>Create stream<\/b>:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/12\/ab6a5331-e711-4d73-99b3-c719a3bca66f.jpg\"><\/div><p class=\"no-margin\">4. On this step, Google gives you the <b>Global Site Tag<\/b>, which is a code that will run the tracking process. You will need to copy this code:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/12\/6e602998-6ecc-43e8-932a-ae91e4584e5f.jpg\"><\/div><p class=\"no-margin\">5. Now the last step is to insert this <b>Global Site Tag<\/b> code into the<b> <\/b><code>&lt;head&gt;<\/code> of every page on your website. <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If you&rsquo;re not sure how to add the code to your website, you can check these tutorials for sone popular platforms: <\/p><ul>\n<li>\n<p class=\"no-margin\"><b><a href=\"https:\/\/www.drupal.org\/docs\/8\/modules\/commerce-google-tag-manager\/setup-google-analytics\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Drupal<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a href=\"https:\/\/help.shopify.com\/en\/manual\/reports-and-analytics\/google-analytics\/google-analytics-setup\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Shopify<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a href=\"https:\/\/www.opencart.com\/blog?filter_author=Google&amp;blog_id=149\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">OpenCart<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a href=\"https:\/\/www.hostinger.com\/tutorials\/wordpress\/how-to-add-google-analytics-to-wordpress\" target=\"_blank\" class=\"intercom-content-link\">WordPress<\/a><\/b><\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>NOTES<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">After setting Google Analytics on your website, it usually takes <b>up to 48 hours<\/b> to show your website traffic. Your data will appear as soon as the tracking process is initiated<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">You can also check this video tutorial:<\/p>\n<\/li>\n<\/ul><div class=\"intercom-h2b-video\">\n<iframe loading=\"lazy\" title=\"Google Analytics: Essentials for Your Website\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/d2dzTIgXvOU?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>\n<\/div><p class=\"no-margin\">\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up Google Analytics for your website<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[181],"tags":[],"class_list":["post-1147","post","type-post","status-publish","format-standard","hentry","category-seo"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4707793-how-to-set-up-google-analytics-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4707793-como-configurar-google-analytics-en-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1147"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1147\/revisions"}],"predecessor-version":[{"id":6309,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1147\/revisions\/6309"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}