How to Add Google Analytics to a Website

In this tutorial, we will show you how to add Google Analytics to a Website. This way, you can obtain data on your visitors and see how they engage with your website. See total hits, page views, popular entry pages, popular exit pages, and also see which keywords your visitors are typing into the search engines to find your website. Google Analytics is extremely empowering to every website owner.   So let’s show you how to add it to your website!

For this example, we’ll show you how to add Google Analytics using the IconoSites professional free website builder.

Video Tutorial

If you prefer to watch a video tutorial, here it is (otherwise, continue with the written tutorial below):

Written Tutorial

1. Go to and on Access Analytics button - If you don’t have an account yet, you may sign up for free.

2.  Next is to click on Add new profile (found at top portion of the dashboard). Kindly refer to the screenshot below.

3.  Next is type the domain or website address then click Finish. In this example, the Iconosites web address is being utilized. Please see screenshot below.

4.  Next is to copy the Analytics Code. To do that, highlight the code then right click, select copy. Please refer to the screenshot.

5.  Once you’ve copied the code, login to your Iconosites free website creator account then click on Header & Footer tab.

how to add google analytics to your website

6.  Next scroll down a little bit and find SiteWide Scripts. Next, paste the code that you’ve just copied from Google Analytics into Header textbox. Kindly see the example image below.

7.  Save your work by clicking the SAVE button below.

8.  Next go back to Google Analytics then click the Save and Finish button. That’s it; you’ve successfully installed Google Analytics into IconoSites, the best free website maker. Your can now add Google Analytics to your website.  You may check your stats in your Google Analytics account.

How to Build a Website in Minutes, Free!

Like what you see? SIGN UP FOR ICONOSITES and Build a Free Website in Minutes with our Free Website Builder.

  • Bozena

    Great tutorial for newbie website builders as I’m :-) Btw, I do have a question: is this your tutorial also available to install on blogs? Thanks!

    • Bob Charles

      Yes, you can install Google Analytics on blogs, but I would recommend just downloading and installing a plugin specifically for Google Analytics especially if you are using WordPress….much easier.

  • Amy Jones

    You’ve done really nice work. I applaud your efforts. Your step by step website maker’s tutorial is clear and easy to follow. You gave exactly what I was looking for quite a long time. Thank you a lot. Look forward for more articles. 

    • Bob Charles

      Thanks Amy!  Google Analytics is a powerful tool, especially when coupled with our free website maker.  You’ll get incredible web analytics at your fingertips, all 100% free!

  • Aaron Mayers

    I love your blog Man. You have no idea how helpful is your step by step. I was browsing the Internet in search of a good tutorial, however, yours without any doubts  is the best. I’m really impressed and glad to find out your ‘free website maker’s blog’. Tnx.

    • Bob Charles

      Glad you like it Aaron!  We’ve got many more website tutorials coming.  

  • Dwayne Smith

    Nice and helpful article. I was following your advice and have no problems with installing google analytics on my website. I will definitely subscribe your web and check constantly for updates.

    • Bob Charles

      Sounds good Dwayne!  Glad you managed to get Google Analytics installed and running using this tutorial and our free website maker. Our goal is to make things as  easy as possible, so your feedback is great to hear!

  • John Taylor

    Your site is definitely worth reading. You gave nice and useful info. Looking forward to your follow ups. All the best to you. 

    • Bob Charles

      Thanks for the compliment, John!

Previous post:

Next post: