|
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!
|
Comments
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:
RSS feed for comments to this post