Google Analytics in Magento

Some of you who work with Magento for a long time might think that this topic is so clear that it doesn’t need to have an article. We get many inquiries to finalize the work somebody already started. One of the things we notice is that some developers tend to embed the Google Analytics code directly in the Magento theme files. Yes, it works and you will see the standard traffic data in the Google Analytics interface, but it is not a way to go.
In most of the cases, those developers edit footer.phtml in app/design/frontend/default/[your_theme]/template/page/html folder. As I said, the Google Analytics will track visitors data properly, but the main issue is that the eCommerce data will not be collected. To enable eCommerce data to be visible, first step is that you let Google Analytics to know that the profile is actually an E-Commerce site.
You will get to this interface by
- Logging to Google Analytics
- Select an account for this site
- On the list of Account profiles, do not go to the reports, click on Edit instead
- On the first box “Main Website Profile Information”, there is another Edit link to the right. Click on it.
- One there, you will see the interface similar to the one on this image. Let Google Analytics know this is an eCommerce website

Although Google Analytics will tell you to embed the javascript code on your website, you don’t have to do that. You just need to see what is the Web Property ID of the profile. One you know it, go to the Magento administration to the interface: System> Configuration> Google API> Google Analytics. Enable it and insert that Web Property ID. Viola.

Forums say that older versions of Magento before 1.2 do not properly track eCommerce data. In case you have older version of Magento and have this issue, do not install some special plugins. Upgrade Magento instead.
By Tomislav Bilic from Inchoo.net
Related posts:

Nicely explain some of my friend may need this post thanks for share
Leave your response!