How to add Goolge Analytics Code to Joomla! 2.5 and 3.x

Google Analytics is a service offered by Google that generates detailed statistics about a website’s traffic and traffic sources and measures conversions and sales. The product is aimed at marketers as opposed to webmasters and technologists from which the industry of web analytics originally grew. It is the most widely used website statistics service.

How to add Goolge Analytics Code to Joomla! 2.5 and 3.x

1. Use Custome HTML module

  • Login your Joomla administrator
  • Click Extensions menu and sellect Modules manager
  •  Click New button and Custom HTML This Module allows you to create your own HTML Module using a WYSIWYG editor.
  • and place your google analytic code in to text-area
Joomla custom html module

Joomla custom html module

2. Using FTP and add google analytic code to Index.php template file

Open your FTP, and find file: your-joomla-site.com/templates/template-name/index.php file and add your code before close </head> tag, or before close </body> tag html

html-google-analytic-code3. Can use Google analytic Plugin

Asynchronous Google Analytics Plugin

This plug-in allows you to easily add in the asynchronous Google Analytic code in to the header of your website.

Loading the Google Analytics code asynchronously allows for the rest of your site to load while the analytics code loads in the background and thus increasing the loading speed of your site.

Since Google now actively looks at your websites loading performance to calculates its search engine rankings, this plug-in is well worth a try.

Easy Google Analytics

Description:
This is a flexible, simple-to-use system plugin that is used to add Google AnalyticsTracking (asynchronous) Code to a Joomla site. It adds the Google tracking code to the head tag of each page of the website without having to edit any template code. This plugin uses the asynchronous tracking code for tracking a single domain.

Note, though, that the tracking code will be added at the end of the list of script tags that Joomla generates, but since the Joomla generated tags usually come before the template scripts, there is no guarantee that the tracking code will be the last script before the </head> tag.

Main features:
> Automatiaclly places Google Analytics tracking code in head tag
> Specify the Profile ID for your Analytics Account in the Plugin Manager
> Choose what you are tracking: Single domain, Multiple Subdomains, or Multiple TLD
> Automatic (or manual) entry of domain name for Multiple subdomain setting
> Option to exclude Analytics in Administration backend
> Use Universal Analytics Tracking Code
> Track Outbound Links via Google Event Tracking

 

4. Use Joomla template parrameter default.

Today alot of template provider allow you to add google analytic code in his parrameter

you can open Joomla template manager and check parrameter called: google analytic code.

 

Be Sociable, Share!

Leave a comment