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. 

http://tutorials.jm-experts.com/images/stories/edit_a_template_tutorial/images/image1.jpg





















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



http://tutorials.jm-experts.com/images/stories/edit_a_template_tutorial/images/image2.jpg 


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


http://tutorials.jm-experts.com/images/stories/edit_a_template_tutorial/images/image3.jpg 


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


http://tutorials.jm-experts.com/images/stories/edit_a_template_tutorial/images/image4.jpg 


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. 


http://tutorials.jm-experts.com/images/stories/edit_a_template_tutorial/images/image5.jpg 

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.  

http://tutorials.jm-experts.com/images/stories/edit_a_template_tutorial/images/image6.jpg 

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!
 

0 comments

Post a Comment

counter

free counters