There are numerous Magento implementations for GoogleAnalytics, and this extension is not much different from others. The main difference is that this module makes use of Magento PHTML-templates and XML-layouts to build the various analytics-blocks - making it easier to modify things, but also to integrate Magento GoogleAnalytics into MageBridge/Joomla.
Why this extension?
The Magento core already includes support for Google Analytics, so why would you need this extension? The reason is: To override PHTML-templates if you want to. The core adds the Google Analytics code on the fly to every page, but in this, it bypasses the regular XML-layout system of creating Magento blocks. This extension changes that: Every single piece of Google Analytics code is applied by using a XML-layout-file that again refers to various PHTML-templates. The block-name to refer to is called ga_script.
If you want to modify the way Google Analytics works, this is the extension you need. Also, because GA is based on Magento blocks, integrating things with our MageBridge integration with Joomla! becomes very easy, thanks to the MageBridge Custom Block module.
Steps to get it working
- Download this extension-archive and extract all files
- Upload all files to your Magento root-folder using SSH or FTP
- Refresh all Magento caching