Video by Kyle
Added Apr 08, 2013
Google Analytics is the most powerful website analytics tool out there (and it is free). In this video I will walk you through the entire set-up process, from the initial account set-up.
To set up Google Analytics, you simply need a Google Account. You can either use an existing gmail or Google + account and connect your analytics to that (easiest) or you can create a brand new Google account within the set-up.
Here is the link to Google Analytics:
http://google.com/analytics
Once you have the account set-up, you will be adding the provided "code" to your websites header.php file which is found under Appearance => Editor inside of your WP-Admin area.
If you have any questions about the set-up process, please leave a comment below and I will be more than happy to help you out.
To set up Google Analytics, you simply need a Google Account. You can either use an existing gmail or Google + account and connect your analytics to that (easiest) or you can create a brand new Google account within the set-up.
Here is the link to Google Analytics:
http://google.com/analytics
Once you have the account set-up, you will be adding the provided "code" to your websites header.php file which is found under Appearance => Editor inside of your WP-Admin area.
If you have any questions about the set-up process, please leave a comment below and I will be more than happy to help you out.
Join the Discussion
Write something…
PrimePlace
Premium
Kyle I need Help!
I followed the above video and pasted the code accordingly but it is not updated under real time - overview to show anything as it is still at zero????
<head>
[removed]
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m[removed].insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-97510386-1', 'auto');
ga('send', 'pageview');
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
[removed]
I followed the above video and pasted the code accordingly but it is not updated under real time - overview to show anything as it is still at zero????
<head>
[removed]
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m[removed].insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-97510386-1', 'auto');
ga('send', 'pageview');
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
[removed]
JackieSmith
Premium
Hi Kyle,
Where in the header.php file do we add this code? Is it the verification code that is displayed after we have uploaded the html file to the server? I'm not sure if this is related but I added my website to the Webmaster tool about a week ago. I have since updated the theme but when I go into the Webmaster tool, it's still showing the old theme, so I readded the site..it's still showing the old theme. When I go to Google Analytics, even though I am on my website, it doesn't show that there is an active user. Can you please help/advise.
I'm using Yoast NOT the ALL in One SEO. The site in question is hosted here.
Another site of mine that is hosted elsewhere and is using Yoast seems to be working fine in that it shows the Active user count correctly.
Thanks
Where in the header.php file do we add this code? Is it the verification code that is displayed after we have uploaded the html file to the server? I'm not sure if this is related but I added my website to the Webmaster tool about a week ago. I have since updated the theme but when I go into the Webmaster tool, it's still showing the old theme, so I readded the site..it's still showing the old theme. When I go to Google Analytics, even though I am on my website, it doesn't show that there is an active user. Can you please help/advise.
I'm using Yoast NOT the ALL in One SEO. The site in question is hosted here.
Another site of mine that is hosted elsewhere and is using Yoast seems to be working fine in that it shows the Active user count correctly.
Thanks
KachinaB
Premium
I actually had to add my tracking number in my All in One SEO. I did not see the "header" tab in my editor section of my website. I didn't want to break my website so I tried another method. This one works just as well. I wanted to share that to everyone who may have seen something different. Check out the link below for more info Connect Google Analytics with All in One SEO
WAwannab
Premium
It seems okay, however, I don't see a #1 even after going on my site. I did have analytics before getting to this lesson and with the help from Jays training, I am now better able to see and understand the traffic. According to what I am seeing on Analytics, it seems to be working correctly, though.
Thanks Kyle!
Thanks Kyle!
Lilika84
Premium
Thanks, Kyle.
I installed this a few weeks ago; it was a bit different process (as I remember I haven't added code in the WP editor)
Anyways, wanted to ask if it is a mistake to have it installed again (this time I added the code as per your training).
Now I have two accounts for one site.
Is that ok?
Thanks you :)
Sunny
I installed this a few weeks ago; it was a bit different process (as I remember I haven't added code in the WP editor)
Anyways, wanted to ask if it is a mistake to have it installed again (this time I added the code as per your training).
Now I have two accounts for one site.
Is that ok?
Thanks you :)
Sunny