How to install Google Analytics using Website Builder

header

image: NASA via Unsplashed

At some point in almost every website owner’s journey, he or she would inevitably think, “I wonder if anyone/how many people have visited my website?”. Thankfully, the answer is easy to find. While there are many tools that take different approaches to analytics, by far the most popular of which is Google Analytics. This owes to the fact that their free product is very robust. It also helps that they are Google.

To some checking your site data might seem vain, but there is a lot of merit and of actionable insight you can glean from analytics. Here is what this two-part series on analytics will cover. The first post will focus on how you can get Google Analytics installed on your website. The second will look at how to get actual insights and not be bogged down by vanity metrics. And so off we go!

Installing Google Analytics

Getting a tracking code

  1. Go to Google Analytics and sign in using your Google Account (you’ll need an account if you don’t already have one)
  2. In Google Analytics, click on admin and create new account
  3. Follow the instructions to fill in the required details and click ‘Get Tracking ID’
  4. Accept the Terms & Conditions
  5. Your tracking code should be ready and on the page

Implementing the tracking code in Website Builder

1. Go into Website Builder from your control panel
2. Select edit template, and click on Components

EditTemplate.png

 

3. Double click the Code component

insertCode.png

 

4. Fill in the following details

  • Title the code ‘Google Analytics’ for later reference
  • For placement, select ‘Just before closing </head> tag (fixed)’
  • Copy & Paste the script code from Google analytics into the code box
  • It should look like this:

codeProp.png

5. Save and publish your site and you’re good to go!

Congratulations! You can now access analytics from the Google Analytics page. Stay tuned for our next post. We will discuss how you can leverage your shiny new Google Analytics tool to make strategic decisions for your website.

Comments