By default, Joomla 2.5 comes with the Beez 20 template. To add Google Analytics to the Beez 20 template, in the Administrator of your Joomla website go to Extensions > Template Manager, click on Templates, click Beez_20 Details and Files > Edit main page template.
Find the closing
tag and add the embed code that is shown on the Channels >Embed code section in the Quriobot Control Room and press Save and Close.
You can choose this also manually. Go to the /templates folder in the root folder of your website using an FTP client, and open the index.php file. Find the closing tag and insert the embed code there.
The procedure for doing this in Joomla 3.0 is identical. The only difference is that the default Joomla 3 template is called Protostar rather than Beez. Therefore, the path to arrive at the main page template is:
Extensions > Template Manager > Templates > Protostar Details and Files > Click on index.php
Once again find the closing and insert the embed code that is shown on the Channels >Embed code section in the Quriobot Control Room there and click Save and Close and refresh your website.
Open your template manager, in the Custom code tab then add your embed code that is shown on the Channels >Embed code section in the Quriobot Control Room code to the Before field.
Note: If you don’t see the fields from the template manager, that means you’re not using the latest T3 Framework version. You can upgrade to use the feature or you can manually set it up by adding embed code to the footer .php file.