Installing Google Analytics On Your Magento Stores
Installing Google Analytics is simple, just extract your unique identifier from Google Analytics. The unique identifier for each site can be found next to the URL, like so:
http://www.example.com/ UA-1234567-1
Then go to your admin panel URL and navigate to System -> Configuration -> Google API -> Google Analytics
Or add: /system_config/edit/section/google/ to your admin panel URL.
Remember, you can add different unique tracking identifiers to different stores and store views by selecting the relevant store or view from the dropdown on the left hand side of the configuration panel.
10 Responses to “Installing Google Analytics On Your Magento Stores”
Comments
Trackbacks/Pingbacks
Leave a Reply

gyorgyk on April 28th, 2009
Does the magento google analytics API support google analytics ecommerce features?
Darryl Adie on April 30th, 2009
Yes, it does
obnovas on June 1st, 2009
I’m trying to install different Google Analytics profiles to different stores within my Magento site. I am having trouble. When I use a common code on all stores they read just fine, and the tracking works. When I try and specify and install different codes from other profiles to the specific sites, it says no tracking. I’m confused on how to specify from the different sites, could you help? Please?
Darryl Adie on June 2nd, 2009
What scope level are you trying to change them website? store? view?
Darryl
MaBell on June 9th, 2009
Are there special settings I’ve to make for full e-commerce tracking with Google Analytics? On our shop it doesn’t work for every sale, only for a few.
Darryl Adie on June 9th, 2009
This is a known bug in some versions of Magento, there are no special settings
Paul May on September 1st, 2009
Tell me Darryl, what’s the best way to track progress through the one page checkout? Does this method do that or would we need to add TrackPageview calls on the “continue” buttons?
Darryl Adie on September 1st, 2009
Mr May! Do you refer to my other post regarding GA? Here:
http://magentoexpert.co.uk/2009/03/08/tracking-one-page-checkout-abandonment-with-google-analytics-properly/
That will add page view calls to each stage of the one page checkout, or at least it did when I wrote that post.
Let me know if I can be of any further assistance!
madcat on November 6th, 2009
I have google analytics set up for our magento store. The content overview in google analytics however, just shows pages as /index.php?id=175 and all just show an id which I can’t relate to any page. If you can advise on how to get proper page names (if possible) then I would be eternally greatful. Thanks
Spenser on December 10th, 2009
Thanks to each of you for your feedback. This is very helpful.