How to install Google Analytics in Joomla

If your not using Google Analytics, you should. Put everything on hold, read this installation guide and install Google Analytics NOW.
I'll admit right now I only use Joomla 1.5 but this method should also work on 1.0.13
It's a simple guide on how to install Google Analytics in Joomla (because the process isn't that hard).
The first thing I recommend is that you do not download a Joomla module for it. That's not just for Google Analytics, any script or html you want to add to your Joomla site, you can do so by making a simple custom html module. Only use a Google Analytics module if you need web statistics about specific pages, this “how to” is for general Google Analytics statistics for every page or your site (what most people want).
In general, only use a module if it offers you additional benefits other than a custom html module.
Log on to your administrator backend.
Just to be sure (because I don't know what editor you're using) start under gobal configuration and set the Default WYSIWYG Editor to “Editor – No Editor”. Some editors 'clean' the HTML and this could cause your Google Analytics not to function correctly.
Now go to the Joomla module manager (extensions>module manager) and click the “+new” icon. Then click the button for “custom HTML” and click “next”
Now give the module a name you will recognize like “Google Analytics Code” and then click:
show title > no.
enabled > yes
set position to any visible position (don't worry Google Analytics doesn't display anything) and finally paste in your Google Analytics code.
Now your ready to rock! Save your module and Log on to Google Analytics and get it to check the code is working. It should be, if not try another module position/ put Google Analytics at the top of list of modules for that position.
Have fun installing Google Analytics! (it rocks!)
Set as favorite
Bookmark
Email this
Trackback(0)
Comments (16)

it very useful
written by moshe, February 23, 2010
written by moshe, February 23, 2010
it very useful. i install Google Analytics in my website and it work Excellent.
Thanks.
Thanks.
Sort for works
written by RickB, September 07, 2010
written by RickB, September 07, 2010
But appears as code in a menu box!
I set menu to be none, and it has disappeared from the end user screens, however, I don't know if it will work now.
I set menu to be none, and it has disappeared from the end user screens, however, I don't know if it will work now.
I think you (RickB) missed a step pasting in the google analytics code...
written by youtukan, September 10, 2010
written by youtukan, September 10, 2010
@RickB I think you missed a step and pasted the Google Analtytics code right into the edit of the html module without change the editor. By default Joomla uses the tinyMCE editor whenever you make a new module or start a new article etc. You need to turn this off so you can paste in you google analytics code. Go to the global configuration and set the editor “Editor – No Editor” and click the save icon. No go back to your html module and open it. Paste you google analytics code in and save. You will know the editor has been disabled because the area you paste the code in will be yellow (not white, as is normally the case).
Perfect!
written by Mark Kennedy, September 22, 2010
written by Mark Kennedy, September 22, 2010
Just used this step by step process for a client and it worked perfect. Thanks for this!
-Mark
-Mark
Love it
written by Elle, October 22, 2010
written by Elle, October 22, 2010
Thanks so much, I thought this was going to be really hard, but turned out to be a piece of cake with your explanation!
Trekking in Nepal - Reliable Trekking Agency Nepal
written by Sabin, October 24, 2010
written by Sabin, October 24, 2010
Very useful post. I searching how to install google analytics in my joomla page www.trekinginnepal.com and I found this very useful post.
Thanks for sharing.
Trekking in Nepal
Thanks for sharing.
Trekking in Nepal
Thanks
written by ofadeyibi, January 11, 2011
written by ofadeyibi, January 11, 2011
Thanks man..i guess I have to wait 24hrs before I get a status update..
Thanks
written by Resumebuy, February 11, 2011
written by Resumebuy, February 11, 2011
I needed to install google analytics on my site www.resumebuy.com which is a resume and professional writing resource for busy corporate elite, and now I have installed. Thanks!
Easy peesy! :P
written by david, April 11, 2011
written by david, April 11, 2011
WOrked...so simple...was trying at first the hard way...to add it to index.php in my template folder, but my cpanel wouldn't let it save changes....googled and found this site.
Great job...thanks!
Great job...thanks!
Write comment
| < Prev | Next > |
|---|
| More help and how to articles: |
|---|
|


