Build Your Own Business Website header image

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

Lesson 13 – Part 3 – Configure Google Analytics

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to - ,

Create a Google Analytics Account

The next step then once you either logged in to your Gmail account or you’ve created this Gmail account is to create a Google Analytics account and to integrate your website with that. Let’s just search for analytics, we’ll go to Sign Up and it knows I’m already logged in.

What Google Analytics is for, is for keeping track who comes to your site, what they do with your site, how long they spent at your site, who sends them to your site, what search terms they looked for to get to your site, what kind of traffic you’re getting at your site. That’s what it’s for.

There are 3 steps here. We sign up for Google Analytics, we add our tracking code to our site then we start learning something so we’re going to start off with the first part, Sign Up. This account name is sort of like the overarching account name for your Analytics account. You can have a whole bunch of websites under that but this is like the mean name.

I’m going to say, BYOBGenesis, the website’s URL is this and industry in this case, is Education. We’re going to share data with other Google products and we’ll go ahead share anonymously with Google and others. We’re in the United States, we agree to the terms and conditions and we create that account.

Now that we’ve done that, we’ve created our account and Google has given us a tracking ID number for this account, BYOBGenesis and that number is UA-34719025-1. Just for interest, you’ll see that for example, if we go to BYOB Website and view the page source, here is the Google Analytics tracking code and it starts down here and there’s that UA number. That’s where that UA number shows up. On every single page of your website, your UA number will be showing up.

Integrate Google Analytics with the Website

If we come back over here to our Google account, what we want to do here is track our website. Right now, you can see it says, Tracking Status Tracking Not Installed. What we want to do is install tracking and you have this choice here whether or not you’re going to do the standard, advanced or custom and in this case, we’re going to use standard. If you know what you’re doing, you can muck about with this in advanced but for the time being, we aren’t bothering with that. We’re going to do it standard, in a single domain and that’s going to look like this.

Using Asynchronous Script

Now, if you investigated this sort of thing in the past, say a year and a half ago you looked into this, you would have learned that there were two different kinds of scripts that was asynchronous script and there was the regular script. The regular script has been done away with now and now it’s entirely asynchronous. This asynchronous script is the script that you want to paste onto your site.

We’re going to copy this script, come back over to our site, here we are in the dashboard of our site so we’re going to come to our Genesis Theme Settings and scroll down to the bottom. Here under Header and Footer Scripts, we are going to enter our Google tracking code in the Header Scripts. You may have been told that putting a Google script in the head will slow it down so you have to put it in the foot.

That was the case back when there was a normal script but now that all of Google scripts are asynchronous, it means that Google doesn’t slow page load down for the loading of its own script and it’s recommended that we place in the head so replace any advice you ever had about where these should go. Remember that the current modern Google tracking code goes in the header of your site and the Genesis theme comes with this header and footer scripts.

Where to Place the Tracking Script

One of the primary reasons for that is to place this tracking script. It take the whole thing, it starts with script type = and ends with the closing script tag, you have to have the entire thing. Once you’ve got that, you hit save settings and while we’re at it, let’s make sure it’s actually there. Go to our page and view the page source, slide down here and here we have our tracking script. 7

Now, since the tracking script is in there, we can come back over to Google Analytics now and we can say that we want to test it. Let’s just come back over to the site itself, Website Tracking Not Installed. last checked at 5:31. I’ve got the wrong URL, that is the problem. Because the property settings is actually this, and apply,

We come over to our tracking code now, refresh it and see if it tests. Perfect, Website Tracking, Tracking Installed. There we go, we got it now. That has our Google Analytics account set up now and if we go look at Google Analytics, for example we go to our standard reporting or go to home, it doesn’t report anything because there’s no data for us to report. What we’re going to do here instead is take a look at a different one.

Save $200 on Membership Now!

Start learning today for as little as
$0.82 PER DAY!
Subscription Options
0 Comments… add one
0 comments… add one