Joomla Training
How to Add Google Analytics

In our beginner classes we recommend Google Analytics as a free and accurate way to count people visiting your site. Here's how to install it:

  • Step 1: Go to http://www.google.com/analytics and login. If you have any kind of Google account, you can use those same login details.
  • Step 2: Click “Add Website Profile” and you'll see a screen like this:

  • Step 3: Enter your domain name and click "Finish".
  • Step 4: Take the code that Google will give you. Copy this code and paste it into a text editor.
  • Step 5: Login to the administrator area of your Joomla website.
  • Step 6: Go to Extensions >> Template Manager.
  • Step 7: Check the box next to your template and click "Edit" in the top-right corner.
  • Step 8: Click "Edit HTML" in the top-right corner.
  • Step 9: Scroll all the way to the bottom of the file until you find this at the very, very bottom: < /body >
  • Step 10: Go to your text editor, copy and paste the code directly ABOVE < /body >
  • Step 11: Click Save and you're done!
  • Step 12: Go back to http://www.google.com/analytics in subsequent weeks and check the number of people visiting your wonderful website!

Would you like 100s more of these Joomla tutorials - the same used by Apple, Sun and IBM to learn Joomla?

Every day, people are building great websites with Joomla.
Joomla Training OnlineWith Open Source Training, they have access to online classes and support from the best teachers in the Joomla world.

Our professional teachers have created videos and tutorials for you that walk you step-by-step through everything you'll need to build wonderful Joomla websites. These are the same lessons we use to help clients like Apple, Sun, IBM, Hewlett-Packard and NASA.

What's In Your Joomla Training?

  Your Joomla Subscription [-]
Same-Day Support
Unlimited Joomla questions, all answered within 24 hours.
Beginner-level Class
8 hours of video tutorials introducing you to all the key Joomla concepts.
Template Design Class
A complete video class showing you how to build and modify Joomla templates.
Search Engine Class
45 detailed tutorials on optimizing your Joomla site for search engines.
New tutorials every week
New weekly step-by-step tutorials on topics suggested by members.
Bonus Templates
Two commercial Joomla templates, Bolt and Breeze
Intermediate-level Class
Due August 2010

47red

72red

47red

 

Comments  

 
#1 Nana Kofi 2010-03-24 14:53
Thanks for your method.
I have one I would like suggest too.

1. After registering, choose the following options before generating your code.
a. I want to track dynamic content
b. I want to track PHP pages

2. Using a text editor like notepad or something more professional like dreamweaver, copy and paste the code and save it as "analyticstracki ng.php"

3. Using a FTP software like filezilla, download the index.php file in your templates/name_of_templat e/index.php

4. Open this file in your text editor and right after this line:
Quote
 

Add comment


Security code
Refresh