Saturday, 15 August 2015

setup google analytics magento -



setup google analytics magento -

hi have added google analytic account number in admin,do need add together google tracking code in files track,in google still showing

the google analytic tracking code has not been detected on website's home page

please tell me how can setup google analytic site.

<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setaccount', 'xxxxxxxx']);//fake _gaq.push(['_setdomainname', 'fake.com']);//fake _gaq.push(['_setallowlinker', true]); _gaq.push(['_trackpageview']); (function() { var ga = document.createelement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; var s = document.getelementsbytagname('script')[0]; s.parentnode.insertbefore(ga, s); })(); </script>

do need add together type of code in files

once business relationship has been set in admin js code should outputted automatically. possible reasons why still not are:

output disabled "google analytics" module. check under "configuration"=>"advanced" if case. some layout update removes block "google_analytics". search xml layout updates lines containing "google_analytics" - there may "remove" node name. the template file "googleanalytics/ga.phtml" unreadable or missing the setting "cookie restriction mode" set "yes" under "web" prevent code output

magento google-analytics installation

No comments:

Post a Comment