Install Google Analytics into Joomla site video tutorial
Hi, this is Peter from JoomlArt, today we're going to teach you about T3 version 3 Framework specifically adding Google Analytic, so let's get started.
First, we are going to the Google analyltics Homepage. Ok, so if you already have an Analytics account, you can sign in. If you don't have one, it’s easy and fast to create one. Ok, we're logged in. Ok now we're going to sign up Google Analytics. In the sign up panel, please add in any required information. First, we're going to select the Tracking method, we’re gonna select "Classic Analytics". You'll add your new Website Name, the Website URL. Then, the Industry Category of your site, we're gonna select "Online Communities" in this example, now the time zone. Ok, now put in the account name it helps to keep track everything. Now, we’re gonna click "Get Tracking ID", but first, “Terms of Service agreement” comes up for your country, Yes to accept.
After that, the page will successfully load. Scroll down a bit, and here's the tracking code. This is the code that you add to your site, so copy the code, we're going to add the code to the file "header.php". Let's open the root folder of your site, find the "header.php" file. Now you can see the "header.php" file. So open it, now add the tracking code to the end of the "header.php" file. Once the tracking code is added, please save the file.
Now, let's go back to the Google Analytics page. You will see the status of tracking code is not installed, that's ok, it can take a few hours for Google to update. Now we go to the site that we added the tracking code to, to confirm that the Goolde Analytics has been added.
Ok I'm going to view the source, right click, view page source, now we get the source code for the site. Now, let's try and find the tracking code that we added. Great, you can see the tracking code has been successfully added to the site.
Now, back to the Google Analytics page, access the Reporting menu. Okay, this includes the status of your site and the information, the number of visitors by day, week or month, the duration of each visit, the bounce rate, ... Ok, so now Goole Analytics has successfully been added to your site.
Thank you for learning about T3 version 3 Framework with us at JoomlArt, and we'll see you soon.