Welcome to web 2.0 Blog

The Last news of the web Development from the world master's

Setting up Google Analytics for your Joomla Site.

Posted by web2.0 Design resourse Saturday, September 12, 2009

In This Tutorial We will be learning install Google analytics Code for your Joomla site.
First of all... there are several different ways to get Google Analytics up to work with your joomla site via modules, plugins, components. But we don't trust third parties that much.So, in this tutorial we will be just editing the html of our site template and inserting the code directly into it!

1. Navigate to Extensions >> Template Manager. 


2. On this page you will see a list of templates installed in your joomla site. Select the template you want to edit. 


3. Hit the Edit button on the top right of the page. 


4. Some Templates have Parameters which you can change. This can include Color variations, Width and other template properties.  


5. The other things you can do here is Edit the index file of the template. Every template is based on a main index.php file which can be edited here... Click the Edit HTML button to view the code of the index.php file and make changes to it. 


6. After you click on Edit HTML you can see all the code of the Template here. You are free to edit it and make changes to it.  


7. Now go to the end of this code and you will see the two lines.

Put your Google Analytics code right before the tag and you are done!


Post a Comment


free counters