Magento and Google analytics

Anyone know how to make googelanalytics work with magento 1.4?
Ive set up the API with the googelanalytics tracking number but no tracking code is being written to the html.
Thanks.

8 answers

Profile photo of chavan 100.00 $tone December 11, 2011
Public

Go to this File: app\design\frontend\default\jm_easyshoptemplate\p age\html\footer.phtml

you can add the google analytics in this page.

Note: If you Find my Post useful please click on the Thanks Icon

#1
Profile photo of Gerard Brannigan 0.00 $tone December 11, 2011
Public

Thanks Chavan-
i had done something similar with the header-however while this will give me the basic google analytics, it doesnt seem to work for the ecommerce option..have you any idea how to set that up?

#2
Profile photo of Gerard Brannigan 0.00 $tone December 12, 2011
Public

Hi Chavan-
putting the google analytics script into the header or footer will allow google analytics to record the Audience overview for a site.However the e-commerce tracking function of google analytics is not showing any records, so the Conversions set of reports for google analytics has no e-commerce information that tracks conversions for me, which would be really useful.
Does this explain it clearly? Let me know if need th clarify more.
Cheers

#4
Profile photo of chavan 100.00 $tone December 13, 2011
Public

you can go to checkout folder in theme folder and search for success.phtml

may this page will be helpful for you to set goal in google.

Please let me know if this did not help you . will suggest you the Next option.

Note: If you Find my Post useful please click on the Thanks Icon

#5
Profile photo of Birger Kvam 0.00 $tone January 2, 2012
Public

I have the same trouble with JM methys. After inserting the UA code in admin -- configuration -- google API -- GA,
google analytics don’t track visitors or sales.

I would like to use the magento default tracking with e-shop tracking instead of putting code in footer.html and other files.

Seems like joomlart’s magento templates are blocking this function, as I have seen this issue with different themes in the forums. Any possibilities you can make the magento GA function work with your templates?

#6
Profile photo of Vijayesh Sainju 0.00 $tone April 8, 2012
Public

I have Magento (ver 1.6.1.0) template JM_EasyShop and my Google Analytics code is not showing up when I do view source either.
I have setup the Google Analytics and have the UA-********-* in System > Configuration > Google API > [Google Analytics] with Enable set to Yes.

When I go into http://www.google.com/analytics/
I see 0 visitors.

When I do View Source on my homepage I do NOT see any Google Analytics Code.

The template must be stripping it.

I tried to try the suggestions made by DesigersAndBox.com as suggested by Nhat Nguyen and I don’t see the "EXACT" code he mentions in line 171.

Any suggestions from anyone?

Thanks

#8

This question is now closed

Written By

Comments